[oe-commits] Koen Kooi : module.bbclass: also supply KDIR, some projects use that to get to the kernel source

GIT User account git at amethyst.openembedded.net
Wed Nov 19 13:46:11 UTC 2008


Module: openembedded.git
Branch: org.openembedded.dev
Commit: 71781609dc1ab7d434e95626c7d25ea3624d428e
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=71781609dc1ab7d434e95626c7d25ea3624d428e

Author: Koen Kooi <koen at openembedded.org>
Date:   Wed Nov 19 14:40:27 2008 +0100

module.bbclass: also supply KDIR, some projects use that to get to the kernel source

---

 classes/module.bbclass |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/classes/module.bbclass b/classes/module.bbclass
index 1d0f1dd..bb68295 100644
--- a/classes/module.bbclass
+++ b/classes/module.bbclass
@@ -7,6 +7,7 @@ module_do_compile() {
 	unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS
 	oe_runmake KERNEL_PATH=${STAGING_KERNEL_DIR}   \
 		   KERNEL_SRC=${STAGING_KERNEL_DIR}    \
+		   KDIR=${STAGING_KERNEL_DIR}    \
 		   KERNEL_VERSION=${KERNEL_VERSION}    \
 		   CC="${KERNEL_CC}" LD="${KERNEL_LD}" \
 		   AR="${KERNEL_AR}" \





More information about the Openembedded-commits mailing list