diff options
author | Marcin Juszkiewicz <hrw@openembedded.org> | 2008-01-18 11:50:24 +0000 |
---|---|---|
committer | Marcin Juszkiewicz <hrw@openembedded.org> | 2008-01-18 11:50:24 +0000 |
commit | 1aa5072883ddc636969ab0772686de6cd21a8a62 (patch) | |
tree | c55db7604b232ca78bbd162fe2003dcf1fe1dc82 /classes | |
parent | 1131d3b31711ce7241de6df9aa6a4e5652929fb0 (diff) |
kernel.bbclass: stage also include/video directory (from Poky)
Diffstat (limited to 'classes')
-rw-r--r-- | classes/kernel.bbclass | 25 |
1 files changed, 6 insertions, 19 deletions
diff --git a/classes/kernel.bbclass b/classes/kernel.bbclass index c00d0f3f58..d83ec88d44 100644 --- a/classes/kernel.bbclass +++ b/classes/kernel.bbclass @@ -80,25 +80,12 @@ kernel_do_stage() { mkdir -p ${STAGING_KERNEL_DIR}/include/pcmcia cp -fR include/pcmcia/* ${STAGING_KERNEL_DIR}/include/pcmcia/ - if [ -d drivers/crypto ]; then - mkdir -p ${STAGING_KERNEL_DIR}/drivers/crypto - cp -fR drivers/crypto/* ${STAGING_KERNEL_DIR}/drivers/crypto/ - fi - - if [ -d include/media ]; then - mkdir -p ${STAGING_KERNEL_DIR}/include/media - cp -fR include/media/* ${STAGING_KERNEL_DIR}/include/media/ - fi - - if [ -d include/acpi ]; then - mkdir -p ${STAGING_KERNEL_DIR}/include/acpi - cp -fR include/acpi/* ${STAGING_KERNEL_DIR}/include/acpi/ - fi - - if [ -d include/sound ]; then - mkdir -p ${STAGING_KERNEL_DIR}/include/sound - cp -fR include/sound/* ${STAGING_KERNEL_DIR}/include/sound/ - 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 + cp -fR $entry/* ${STAGING_KERNEL_DIR}/$entry/ + fi + done if [ -d drivers/sound ]; then # 2.4 alsa needs some headers from this directory |