]> code.ossystems Code Review - openembedded-core.git/commitdiff
module.bbclass: Add INSTALL_FW_PATH for out-of-tree modules
authorWes Lindauer <wesley.lindauer@gmail.com>
Wed, 14 Nov 2018 18:40:56 +0000 (13:40 -0500)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 16 Nov 2018 09:32:17 +0000 (09:32 +0000)
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.

Signed-off-by: Wes Lindauer <wesley.lindauer@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/module.bbclass

index e34496024434c126581b8d99bd94bf4c31723130..c0dfa3506133ce522d7c511d706a11984f15a14a 100644 (file)
@@ -48,6 +48,7 @@ module_do_compile() {
 module_do_install() {
        unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS
        oe_runmake DEPMOD=echo MODLIB="${D}${nonarch_base_libdir}/modules/${KERNEL_VERSION}" \
+                  INSTALL_FW_PATH="${D}${nonarch_base_libdir}/firmware" \
                   CC="${KERNEL_CC}" LD="${KERNEL_LD}" \
                   O=${STAGING_KERNEL_BUILDDIR} \
                   ${MODULES_INSTALL_TARGET}