summaryrefslogtreecommitdiff
path: root/classes/kernel.bbclass
diff options
context:
space:
mode:
authorRod Whitby <rod@whitby.id.au>2006-01-14 23:30:25 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2006-01-14 23:30:25 +0000
commit17fe84319301fcf629f5b47f13053e41919e98b5 (patch)
tree673a278b3f65c41109d461dcde106b3ac8bbe13b /classes/kernel.bbclass
parentba0e436e16367211db88d291490ab47d73aa1b2c (diff)
parentbadb9b7c29c71a1dee23d1ed1ed3ade8cb1089f1 (diff)
merge of 694969a93c9959459359c6fb14c40eb9a47b0d2f
and 83739874587da7060ea036057cd64ecfc72a9727
Diffstat (limited to 'classes/kernel.bbclass')
-rw-r--r--classes/kernel.bbclass6
1 files changed, 4 insertions, 2 deletions
diff --git a/classes/kernel.bbclass b/classes/kernel.bbclass
index af2d35fc76..86468b6642 100644
--- a/classes/kernel.bbclass
+++ b/classes/kernel.bbclass
@@ -101,8 +101,10 @@ kernel_do_stage() {
mkdir -p ${STAGING_KERNEL_DIR}/include/pcmcia
cp -fR include/pcmcia/* ${STAGING_KERNEL_DIR}/include/pcmcia/
- mkdir -p ${STAGING_KERNEL_DIR}/include/sound
- cp -fR include/sound/* ${STAGING_KERNEL_DIR}/include/sound/
+ if [ -d include/sound ]; then
+ mkdir -p ${STAGING_KERNEL_DIR}/include/sound
+ cp -fR include/sound/* ${STAGING_KERNEL_DIR}/include/sound/
+ fi
if [ -d drivers/sound ]; then
# 2.4 alsa needs some headers from this directory