Skip to contentSkip to conversation

module.bbclass: Add INSTALL_FW_PATH for out-of-tree modules

PATCH New Wes Lindauer 1 participant 1 message Nov 14, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

---
 meta/classes/module.bbclass | 1 +
 1 file changed, 1 insertion(+)
meta/classes/module.bbclass +1 -0
index e344960244..c0dfa35061 100644
@@ -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}
Signature · 1 line
2.14.5