summaryrefslogtreecommitdiff
path: root/recipes-kernel
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-kernel')
-rw-r--r--recipes-kernel/linux/linux-at91_4.9.bb6
1 files changed, 5 insertions, 1 deletions
diff --git a/recipes-kernel/linux/linux-at91_4.9.bb b/recipes-kernel/linux/linux-at91_4.9.bb
index 2659c45..c5710e8 100644
--- a/recipes-kernel/linux/linux-at91_4.9.bb
+++ b/recipes-kernel/linux/linux-at91_4.9.bb
@@ -81,7 +81,7 @@ pkg_prerm_kernel-image-uimage() {
rm -rf /boot || true
}
-PACKAGES =+ "kernel-image-uimage-inst"
+PACKAGES =+ "kernel-image-uimage-inst kernel-dt-bindings-dev"
RDEPENDS_kernel-image-uimage-inst += "kernel-image-uimage-${PV}"
ALLOW_EMPTY_kernel-image-uimage-inst = "1"
@@ -100,4 +100,8 @@ pkg_postinst_kernel-image-uimage-inst() {
}
do_install_append() {
install -D -m 0755 scripts/dtc/dtc ${STAGING_DIR_NATIVE}${USRBINPATH_class-native}/dtc
+ mkdir -p ${D}${includedir}/linux
+ cp -a ${STAGING_KERNEL_DIR}/include/dt-bindings ${D}${includedir}/linux/
}
+
+FILES_kernel-dt-bindings-dev = "/usr/include/linux/dt-bindings"