summaryrefslogtreecommitdiffstats
path: root/meta/classes/module.bbclass
diff options
context:
space:
mode:
authorWes Lindauer <wesley.lindauer@gmail.com>2018-11-14 13:40:56 -0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-11-16 11:46:07 +0000
commit10270f42220cec579d0875ce1739261c682a6dc4 (patch)
tree5e57988a9ffa58700ce527312a4884a0f988ddbb /meta/classes/module.bbclass
parent2ce3efc6a6ff2ef2a5bf43da09f908038564b2f1 (diff)
downloadpoky-10270f42220cec579d0875ce1739261c682a6dc4.tar.gz
module.bbclass: Add INSTALL_FW_PATH for out-of-tree modules
This same variable was added to the make line in kernel.bbclass in 0decf1cc1c35dd70f3b822e3b4291a810a319ba0. With the addition of the usrmerge feature, out-of-tree modules could use this same variable. (From OE-Core rev: 1d24d1ac5b9c772d84104396438e5d1308332785) Signed-off-by: Wes Lindauer <wesley.lindauer@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/module.bbclass')
-rw-r--r--meta/classes/module.bbclass1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/classes/module.bbclass b/meta/classes/module.bbclass
index e344960244..c0dfa35061 100644
--- a/meta/classes/module.bbclass
+++ b/meta/classes/module.bbclass
@@ -48,6 +48,7 @@ module_do_compile() {
48module_do_install() { 48module_do_install() {
49 unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS 49 unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS
50 oe_runmake DEPMOD=echo MODLIB="${D}${nonarch_base_libdir}/modules/${KERNEL_VERSION}" \ 50 oe_runmake DEPMOD=echo MODLIB="${D}${nonarch_base_libdir}/modules/${KERNEL_VERSION}" \
51 INSTALL_FW_PATH="${D}${nonarch_base_libdir}/firmware" \
51 CC="${KERNEL_CC}" LD="${KERNEL_LD}" \ 52 CC="${KERNEL_CC}" LD="${KERNEL_LD}" \
52 O=${STAGING_KERNEL_BUILDDIR} \ 53 O=${STAGING_KERNEL_BUILDDIR} \
53 ${MODULES_INSTALL_TARGET} 54 ${MODULES_INSTALL_TARGET}