meta-digi-dey: Define different USB gadgets for 3.10 kernel.
The g-file-storage kernel has been replaced by the g-mass-storage. Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
This commit is contained in:
parent
449fd76a03
commit
f5aa5e1a74
|
|
@ -27,6 +27,8 @@ 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 \
|
||||||
|
|
@ -46,7 +48,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)} \
|
${@base_contains("MACHINE_FEATURES", "usbgadget", "${USB_GADGET_MODULES}", "",d)} \
|
||||||
${MACHINE_ESSENTIAL_EXTRA_RDEPENDS}"
|
${MACHINE_ESSENTIAL_EXTRA_RDEPENDS}"
|
||||||
|
|
||||||
RRECOMMENDS_${PN} = "\
|
RRECOMMENDS_${PN} = "\
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue