meta-digi-del: del-image-minimal, select features by machine support.

Only add del-audio and del-gstreamer if supported by the machine.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
This commit is contained in:
Alex Gonzalez 2012-12-17 14:08:42 +01:00
parent b809da65e8
commit abc6dd8e57
1 changed files with 4 additions and 2 deletions

View File

@ -17,9 +17,11 @@ inherit del-image
# Only common features to remain here.
IMAGE_FEATURES = "ssh-server-dropbear"
IMAGE_FEATURES += "del-audio"
IMAGE_FEATURES += "del-gstreamer"
IMAGE_FEATURES += "del-network"
# Machine dependant features
IMAGE_FEATURES += '${@base_contains("MACHINE_FEATURES", "alsa", "del-audio", "", d)}'
IMAGE_FEATURES += '${@base_contains("MACHINE_FEATURES", "accel-video", "del-gstreamer", "", d)}'
IMAGE_FEATURES += '${@base_contains("MACHINE_FEATURES", "wifi", "del-wireless", "", d)}'
# core-image disables the root password if debug-tweak is not enabled.