summaryrefslogtreecommitdiff
path: root/recipes-kernel
diff options
context:
space:
mode:
authorJohn Klug <john.klug@multitech.com>2018-12-03 10:29:01 -0600
committerJohn Klug <john.klug@multitech.com>2018-12-03 10:29:01 -0600
commit9e322690b0a68d236042f800af8d9604d1e734b4 (patch)
treea506a98888e50590287e9f6b95a234cc88e23655 /recipes-kernel
parente8a564212bfd0328732baf7d7c6b6fa78b1f2d20 (diff)
downloadmeta-multitech-9e322690b0a68d236042f800af8d9604d1e734b4.tar.gz
meta-multitech-9e322690b0a68d236042f800af8d9604d1e734b4.tar.bz2
meta-multitech-9e322690b0a68d236042f800af8d9604d1e734b4.zip
Add device tree bingings to machine SYSROOT
Diffstat (limited to 'recipes-kernel')
-rw-r--r--recipes-kernel/linux/linux-at91_4.9.bb4
1 files changed, 3 insertions, 1 deletions
diff --git a/recipes-kernel/linux/linux-at91_4.9.bb b/recipes-kernel/linux/linux-at91_4.9.bb
index 2e1bc5e..b0f9a4a 100644
--- a/recipes-kernel/linux/linux-at91_4.9.bb
+++ b/recipes-kernel/linux/linux-at91_4.9.bb
@@ -104,8 +104,10 @@ pkg_postinst_kernel-image-uimage-inst() {
# Install dtc to build any device tree overlays in other recipes/modules.
do_install_append() {
install -D -m 0755 scripts/dtc/dtc ${STAGING_DIR_NATIVE}${USRBINPATH_class-native}/dtc
- mkdir -p ${D}${includedir}/linux
+ install -d -m 0755 ${D}${includedir}/linux
cp -a ${STAGING_KERNEL_DIR}/include/dt-bindings ${D}${includedir}/linux/
+ install -d -m 0755 ${STAGING_DIR_TARGET}/${includedir}/linux
+ cp -a ${STAGING_KERNEL_DIR}/include/dt-bindings ${STAGING_DIR_TARGET}/${includedir}/linux
}
FILES_kernel-dt-bindings-dev = "/usr/include/linux/dt-bindings"