From: Wes Lindauer Date: Wed, 14 Nov 2018 18:40:56 +0000 (-0500) Subject: module.bbclass: Add INSTALL_FW_PATH for out-of-tree modules X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~16171 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1d24d1ac5b9c772d84104396438e5d1308332785;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git 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. Signed-off-by: Wes Lindauer Signed-off-by: Richard Purdie --- diff --git a/meta/classes/module.bbclass b/meta/classes/module.bbclass index e3449602443..c0dfa350613 100644 --- a/meta/classes/module.bbclass +++ b/meta/classes/module.bbclass @@ -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}