summaryrefslogtreecommitdiff
path: root/classes/kernel.bbclass
diff options
context:
space:
mode:
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 502a2a677d..e08b4ec412 100644
--- a/classes/kernel.bbclass
+++ b/classes/kernel.bbclass
@@ -114,6 +114,11 @@ kernel_do_stage() {
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/