summaryrefslogtreecommitdiff
path: root/classes/kernel.bbclass
diff options
context:
space:
mode:
authorKoen Kooi <k-kooi@ti.com>2010-02-09 19:28:04 +0100
committerKoen Kooi <koen@openembedded.org>2010-02-16 21:44:37 +0100
commit5fa112f9839d06f15680b8749a07f070d1789795 (patch)
tree767dfa09e03e0a6abddaa451bf3a90d580004f44 /classes/kernel.bbclass
parentf34fc00871bc7e14a60623aa8e44f791bfc54ac4 (diff)
kernel.bbclass: prepare for 2.6.33 header move and simplify logic a bit
Diffstat (limited to 'classes/kernel.bbclass')
-rw-r--r--classes/kernel.bbclass11
1 files changed, 1 insertions, 10 deletions
diff --git a/classes/kernel.bbclass b/classes/kernel.bbclass
index d4ecf72505..3a52a067cc 100644
--- a/classes/kernel.bbclass
+++ b/classes/kernel.bbclass
@@ -127,16 +127,7 @@ kernel_do_stage() {
mkdir -p ${STAGING_KERNEL_DIR}/include/asm-generic
cp -fR include/asm-generic/* ${STAGING_KERNEL_DIR}/include/asm-generic/
- mkdir -p ${STAGING_KERNEL_DIR}/include/linux
- cp -fR include/linux/* ${STAGING_KERNEL_DIR}/include/linux/
-
- mkdir -p ${STAGING_KERNEL_DIR}/include/net
- cp -fR include/net/* ${STAGING_KERNEL_DIR}/include/net/
-
- mkdir -p ${STAGING_KERNEL_DIR}/include/pcmcia
- cp -fR include/pcmcia/* ${STAGING_KERNEL_DIR}/include/pcmcia/
-
- for entry in drivers/crypto drivers/media include/media include/acpi include/sound include/video include/scsi include/trace; do
+ for entry in drivers/crypto drivers/media include/generated include/linux include/net include/pcmcia include/media include/acpi include/sound include/video include/scsi include/trace; do
if [ -d $entry ]; then
mkdir -p ${STAGING_KERNEL_DIR}/$entry
cp -fR $entry/* ${STAGING_KERNEL_DIR}/$entry/