meta-digi-del: Add kernel gadget modules if the usbgadget is defined.

Fixes https://jira.digi.com/browse/DEL-373

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
This commit is contained in:
Alex Gonzalez 2013-04-25 15:00:59 +02:00
parent c83eed3126
commit 2d485936c4
1 changed files with 1 additions and 0 deletions

View File

@ -42,6 +42,7 @@ RDEPENDS_${PN} = "\
ubootenv \ ubootenv \
update-flash \ update-flash \
usbutils \ usbutils \
${@base_contains("MACHINE_FEATURES", "usbgadget", "kernel-module-g-ether kernel-module-g-file-storage kernel-module-g-serial", "",d)} \
${MACHINE_ESSENTIAL_EXTRA_RDEPENDS}" ${MACHINE_ESSENTIAL_EXTRA_RDEPENDS}"
RRECOMMENDS_${PN} = "\ RRECOMMENDS_${PN} = "\