Skip to contentSkip to conversation

meta: remove some EXCLUDE_FROM_WORLD assignments

PATCH New Ross Burton 1 participant 2 messages Mar 12, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 meta: remove some EXCLUDE_FROM_WORLD assignments

Now that we have recipe-specific-sysroots we don't need to exclude recipes from world builds because they conflict with other recipes, as they'll all be built with their own sysroots.

---
 meta/recipes-connectivity/bluez5/bluez5.inc                  | 2 --
 meta/recipes-graphics/mesa/mesa.inc                          | 3 ---
 meta/recipes-graphics/xorg-lib/libx11.inc                    | 4 ----
 meta/recipes-kernel/make-mod-scripts/make-mod-scripts_1.0.bb | 6 ------
 4 files changed, 15 deletions(-)
meta/recipes-connectivity/bluez5/bluez5.inc +0 -2
index a73d9568e58..ae2a833c0cb 100644
@@ -136,8 +136,6 @@ SYSTEMD_SERVICE_${PN} = "${@bb.utils.contains('PACKAGECONFIG', 'systemd', 'bluet
 INITSCRIPT_PACKAGES = "${PN}"
 INITSCRIPT_NAME_${PN} = "bluetooth"
 
-EXCLUDE_FROM_WORLD = "1"
-
 do_compile_ptest() {
 	oe_runmake buildtests
 }
meta/recipes-graphics/mesa/mesa.inc +0 -3
index 88ba0050d5e..23ae651f7d1 100644
@@ -99,9 +99,6 @@ FULL_OPTIMIZATION_append = " -fno-omit-frame-pointer"
 
 CFLAGS_append_armv5 = " -DMISSING_64BIT_ATOMICS"
 
-# Multiple virtual/gl providers being built breaks staging
-EXCLUDE_FROM_WORLD = "1"
-
 # Remove the mesa dependency on mesa-dev, as mesa is empty
 RDEPENDS_${PN}-dev = ""
 
meta/recipes-graphics/xorg-lib/libx11.inc +0 -4
index b04eafbdf2f..4af40ab8a1c 100644
@@ -35,7 +35,3 @@ PACKAGES =+ "${PN}-xcb"
 FILES_${PN} += "${datadir}/X11/XKeysymDB ${datadir}/X11/XErrorDB ${datadir}/X11/Xcms.txt"
 FILES_${PN}-xcb += "${libdir}/libX11-xcb.so.*"
 FILES_${PN}-locale += "${datadir}/X11/locale ${libdir}/X11/locale"
-
-# Multiple libx11 derivatives from from this file and are selected by virtual/libx11
-# A world build should only build the correct version, not all of them.
-EXCLUDE_FROM_WORLD = "1"
meta/recipes-kernel/make-mod-scripts/make-mod-scripts_1.0.bb +0 -6
index 889878ddc00..d63701e5a05 100644
@@ -24,9 +24,3 @@ do_configure() {
 	oe_runmake CC="${KERNEL_CC}" LD="${KERNEL_LD}" AR="${KERNEL_AR}" \
 	           -C ${STAGING_KERNEL_DIR} O=${STAGING_KERNEL_BUILDDIR} scripts
 }
-
-
-# There is no reason to build this on its own.
-#
-EXCLUDE_FROM_WORLD = "1"
-
Signature · 1 line
2.11.0
#1 lore raw

PATCH 2/2 build-recipe-list: build universe instead of world

Building world means recipes that are excluded from world build for whatever reason get skipped from the manifests, which isn't useful. Instead building universe and pass -k so that the expected dependency failures are not fatal.

---
 scripts/distro/build-recipe-list.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
scripts/distro/build-recipe-list.py +1 -1
index 407debaa76a..3f5f7c2fcc9 100755
@@ -45,7 +45,7 @@ def generate_recipe_list():
 
     # doing bitbake distrodata
     for machine in machine_list:
-        os.system('MACHINE='+ machine + ' bitbake world -c distrodata')
+        os.system('MACHINE='+ machine + ' bitbake -k universe -c distrodata')
         shutil.copy('tmp/log/distrodata.csv', 'distrodata/' + fnformat % machine)
 
     for machine in machine_list:
Signature · 1 line
2.11.0