summaryrefslogtreecommitdiff
path: root/classes
diff options
context:
space:
mode:
authorTim 'timtim' Ellis <tim.ellis@foonas.org>2009-01-25 13:43:37 +0000
committerTim 'timtim' Ellis <tim.ellis@foonas.org>2009-01-25 13:43:37 +0000
commitd53054f59ff3e97da5916f436e285376e58d77d7 (patch)
tree2f840f8e4807b4a6f327df2061cabcda09d3b76e /classes
parent2b89f59ae0899910fe2d4ce48afce790b039c88f (diff)
kernel.bbclass: Remove some repetition in last commit.
Diffstat (limited to 'classes')
-rw-r--r--classes/kernel.bbclass7
1 files changed, 1 insertions, 6 deletions
diff --git a/classes/kernel.bbclass b/classes/kernel.bbclass
index fd9f7a210b..d1f59e5e84 100644
--- a/classes/kernel.bbclass
+++ b/classes/kernel.bbclass
@@ -117,12 +117,7 @@ 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
+ for entry in drivers/crypto include/media include/acpi include/sound include/video include/scsi; do
if [ -d $entry ]; then
mkdir -p ${STAGING_KERNEL_DIR}/$entry
cp -fR $entry/* ${STAGING_KERNEL_DIR}/$entry/