diff options
author | Marcin Juszkiewicz <hrw@openembedded.org> | 2006-01-14 23:28:35 +0000 |
---|---|---|
committer | OpenEmbedded Project <openembedded-devel@lists.openembedded.org> | 2006-01-14 23:28:35 +0000 |
commit | 6103cfc590628d7c2c9a52eb1fbffcf64b1983fe (patch) | |
tree | 673a278b3f65c41109d461dcde106b3ac8bbe13b | |
parent | be12dba47e8082ecc7094bfe9c0cdbdbe0ce913f (diff) | |
parent | badb9b7c29c71a1dee23d1ed1ed3ade8cb1089f1 (diff) |
merge of 83739874587da7060ea036057cd64ecfc72a9727
and c42bb6039b75d9d8287274e7947197f78c73cbed
-rw-r--r-- | classes/kernel.bbclass | 6 |
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 |