[meta-virtualization] [meta-virtualization (krogoth)][PATCH 5/5] xen: ensure we build release builds

Doug Goldstein cardoe at cardoe.com
Mon Jan 2 20:47:54 PST 2017


Don't build with asserts on. This is the default for release tarballs
but if someone bbappends patches in we should ensure they don't shoot
themselves.

Signed-off-by: Doug Goldstein <cardoe at cardoe.com>
---
 recipes-extended/xen/xen.inc | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/recipes-extended/xen/xen.inc b/recipes-extended/xen/xen.inc
index 38922dc..d9490fe 100644
--- a/recipes-extended/xen/xen.inc
+++ b/recipes-extended/xen/xen.inc
@@ -843,6 +843,10 @@ addtask stubs after do_configure before do_compile
 
 # Allow all hypervisor settings in a defconfig
 EXTRA_OEMAKE += "XEN_CONFIG_EXPERT=y"
+# Build release versions always. Technically since we track release
+# tarballs this always happens but occasionally people pull in patches
+# from staging that reverts this
+EXTRA_OEMAKE += "debug=n"
 
 do_configure() {
 
-- 
2.10.2



More information about the meta-virtualization mailing list