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:
parent
b809da65e8
commit
abc6dd8e57
|
|
@ -17,9 +17,11 @@ inherit del-image
|
||||||
|
|
||||||
# Only common features to remain here.
|
# Only common features to remain here.
|
||||||
IMAGE_FEATURES = "ssh-server-dropbear"
|
IMAGE_FEATURES = "ssh-server-dropbear"
|
||||||
IMAGE_FEATURES += "del-audio"
|
|
||||||
IMAGE_FEATURES += "del-gstreamer"
|
|
||||||
IMAGE_FEATURES += "del-network"
|
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)}'
|
IMAGE_FEATURES += '${@base_contains("MACHINE_FEATURES", "wifi", "del-wireless", "", d)}'
|
||||||
|
|
||||||
# core-image disables the root password if debug-tweak is not enabled.
|
# core-image disables the root password if debug-tweak is not enabled.
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue