summaryrefslogtreecommitdiff
path: root/classes/kernel.bbclass
diff options
context:
space:
mode:
authorTim 'timtim' Ellis <tim.ellis@foonas.org>2009-01-25 11:56:48 +0000
committerTim 'timtim' Ellis <tim.ellis@foonas.org>2009-01-25 11:56:48 +0000
commit99e4508e3378b608e3aa37ad4e8e9781540efce4 (patch)
tree7b9a0187cfac26019059cf2d27966c262c368f7e /classes/kernel.bbclass
parentbec1cb95ec834d9d5569702ad0a4d35e7c2d869f (diff)
kernel.bbclass: Add missing entry for scsi headers in staging, as needed by iscsi-target
Signed-off by Koen Kooi <koen@openembedded.org>
Diffstat (limited to 'classes/kernel.bbclass')
-rw-r--r--classes/kernel.bbclass5
1 files changed, 5 insertions, 0 deletions
diff --git a/classes/kernel.bbclass b/classes/kernel.bbclass
index c864782d4d..fd9f7a210b 100644
--- a/classes/kernel.bbclass
+++ b/classes/kernel.bbclass
@@ -117,6 +117,11 @@ kernel_do_stage() {
mkdir -p ${STAGING_KERNEL_DIR}/include/pcmcia
cp -fR include/pcmcia/* ${STAGING_KERNEL_DIR}/include/pcmcia/
+ if [ -d include/scsi ]; then
+ mkdir -p ${STAGING_KERNEL_DIR}/include/scsi
+ cp -fR include/scsi/* ${STAGING_KERNEL_DIR}/include/scsi/
+ fi
+
for entry in drivers/crypto include/media include/acpi include/sound include/video; do
if [ -d $entry ]; then
mkdir -p ${STAGING_KERNEL_DIR}/$entry