diff options
author | John Klug <john.klug@multitech.com> | 2018-12-03 10:29:01 -0600 |
---|---|---|
committer | John Klug <john.klug@multitech.com> | 2018-12-03 10:29:01 -0600 |
commit | 9e322690b0a68d236042f800af8d9604d1e734b4 (patch) | |
tree | a506a98888e50590287e9f6b95a234cc88e23655 /recipes-kernel | |
parent | e8a564212bfd0328732baf7d7c6b6fa78b1f2d20 (diff) | |
download | meta-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.bb | 4 |
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" |