diff options
| author | Justin Patrin <papercrane@gmail.com> | 2005-10-07 16:59:31 +0000 |
|---|---|---|
| committer | OpenEmbedded Project <openembedded-devel@lists.openembedded.org> | 2005-10-07 16:59:31 +0000 |
| commit | ec4471204f98aea123a32d1b1c7f01c68f47bb90 (patch) | |
| tree | 59155b22df25616f7cac592aa5878ea2727e1ac7 /classes | |
| parent | a05f01de2c518771dceb6ab93f2a7c487d25c63a (diff) | |
| parent | fa12b55de5065e65b088529c06888c6b725f265a (diff) | |
merge of 417b6b1ab4151082a038c4eb1bc88276a46675b0
and d158643df91483ff93864d58c92e889b0050dea6
Diffstat (limited to 'classes')
| -rw-r--r-- | classes/kernel.bbclass | 4 |
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}" |
