summaryrefslogtreecommitdiff
path: root/classes/kernel.bbclass
diff options
context:
space:
mode:
authorRene Wagner <rw@handhelds.org>2005-10-06 15:29:57 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2005-10-06 15:29:57 +0000
commit97ca69289345477b158fa983ab4661ccecaab8d1 (patch)
treeca0fc325edc24efca8b88c5f178b0b6270aba96b /classes/kernel.bbclass
parent6ee7da8448aac2ca49d9b797c542609b246c425c (diff)
kernel.bbclass: don't run 'make dep' for 2.6 kernels
Diffstat (limited to 'classes/kernel.bbclass')
-rw-r--r--classes/kernel.bbclass4
1 files changed, 3 insertions, 1 deletions
diff --git a/classes/kernel.bbclass b/classes/kernel.bbclass
index ff9aeeab78..df676c5a8d 100644
--- a/classes/kernel.bbclass
+++ b/classes/kernel.bbclass
@@ -60,7 +60,9 @@ PACKAGE_ARCH = "${MACHINE_ARCH}"
kernel_do_compile() {
unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS
oe_runmake include/linux/version.h CC="${KERNEL_CC}" LD="${KERNEL_LD}"
- oe_runmake dep CC="${KERNEL_CC}" LD="${KERNEL_LD}"
+ if ${KERNEL_MAJOR_VERSION} != "2.6"; then
+ oe_runmake dep CC="${KERNEL_CC}" LD="${KERNEL_LD}"
+ fi
oe_runmake ${KERNEL_IMAGETYPE} CC="${KERNEL_CC}" LD="${KERNEL_LD}"
if (grep -q -i -e '^CONFIG_MODULES=y$' .config); then
oe_runmake modules CC="${KERNEL_CC}" LD="${KERNEL_LD}"