Patchwork bitbake.conf: define empty EXTRA_IMAGE_FEATURES before using them

login
register
mail settings
Submitter Martin Jansa
Date May 13, 2013, 10:07 a.m.
Message ID <1368439663-26865-1-git-send-email-Martin.Jansa@gmail.com>
Download mbox | patch
Permalink /patch/49845/
State Accepted
Commit b2cc92595b30d96a79f33ea7a7217834c8b6bff7
Headers show

Comments

Martin Jansa - May 13, 2013, 10:07 a.m.
* fixes build without EXTRA_IMAGE_FEATURES defined:
  ERROR: '${EXTRA_IMAGE_FEATURES}' in IMAGE_FEATURES is not a valid
  image feature. Valid features: dbg-pkgs ....

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
---
 meta/conf/bitbake.conf | 2 ++
 1 file changed, 2 insertions(+)

Patch

diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf
index caf7d04..b7260d1 100644
--- a/meta/conf/bitbake.conf
+++ b/meta/conf/bitbake.conf
@@ -729,6 +729,8 @@  MACHINE_EXTRA_RDEPENDS ?= ""
 MACHINE_EXTRA_RRECOMMENDS ?= ""
 MACHINE_ESSENTIAL_EXTRA_RDEPENDS ?= ""
 MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS ?= ""
+
+EXTRA_IMAGE_FEATURES ??= ""
 IMAGE_FEATURES += "${EXTRA_IMAGE_FEATURES}"
 
 DISTRO_FEATURES_BACKFILL = "pulseaudio sysvinit"