packagegroup-dey-core: add MACHINE_EXTRA_RRECOMMENDS

This is needed so the kernel modules configured in the kernel defconfig
get added to the rootfs image.

At the same time there is no need to add the usb gadget modules
separately because they are added in the machine extra recommends as
well.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
This commit is contained in:
Javier Viguera 2013-08-06 18:27:55 +02:00
parent 9c49cdc60f
commit e5ef733383
1 changed files with 3 additions and 4 deletions

View File

@ -27,8 +27,6 @@ VIRTUAL-RUNTIME_keymaps ?= "keymaps"
# Set device manager depending on X11 feature # Set device manager depending on X11 feature
VIRTUAL-RUNTIME_dev_manager ?= "${@base_contains('DISTRO_FEATURES', 'x11', 'udev', 'busybox-mdev', d)}" VIRTUAL-RUNTIME_dev_manager ?= "${@base_contains('DISTRO_FEATURES', 'x11', 'udev', 'busybox-mdev', d)}"
USB_GADGET_MODULES = '${@base_version_less_or_equal("PREFERRED_VERSION_linux-dey", "2.6.35.14", "kernel-module-g-ether kernel-module-g-file-storage kernel-module-g-serial", "kernel-module-g-ether kernel-module-g-mass-storage kernel-module-g-serial", d)}'
RDEPENDS_${PN} = "\ RDEPENDS_${PN} = "\
base-files \ base-files \
base-passwd \ base-passwd \
@ -49,8 +47,9 @@ RDEPENDS_${PN} = "\
ubootenv \ ubootenv \
update-flash \ update-flash \
usbutils \ usbutils \
${@base_contains("MACHINE_FEATURES", "usbgadget", "${USB_GADGET_MODULES}", "",d)} \
${MACHINE_ESSENTIAL_EXTRA_RDEPENDS}" ${MACHINE_ESSENTIAL_EXTRA_RDEPENDS}"
RRECOMMENDS_${PN} = "\ RRECOMMENDS_${PN} = "\
${MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS}" ${MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS} \
${MACHINE_EXTRA_RRECOMMENDS} \
"