diff options
author | Mike Fiore <mfiore@multitech.com> | 2014-12-15 17:24:06 -0600 |
---|---|---|
committer | Mike Fiore <mfiore@multitech.com> | 2014-12-15 17:24:06 -0600 |
commit | df21d61b75407f35600b6108563b1674ca24ee3d (patch) | |
tree | e8f76b5023e60192ce2f29ce5eecb80bfbf19258 /classes | |
parent | c11fab577a5abefb6cc9e5a3e9e8d931613936cd (diff) | |
download | meta-multitech-3.19-dt-overlay.tar.gz meta-multitech-3.19-dt-overlay.tar.bz2 meta-multitech-3.19-dt-overlay.zip |
changes for building 3.19 kernel with complete DT Overlay support3.19-dt-overlay
Diffstat (limited to 'classes')
-rw-r--r-- | classes/linux-compile-overlays.bbclass | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/classes/linux-compile-overlays.bbclass b/classes/linux-compile-overlays.bbclass new file mode 100644 index 0000000..c069fea --- /dev/null +++ b/classes/linux-compile-overlays.bbclass @@ -0,0 +1,15 @@ +# compile each overlay and install them in /lib/firmware +do_compile_append() { + for OVERLAY in `ls ../overlays/*.dts`; do + ./scripts/dtc/dtc -O dtb -o ${OVERLAY/dts/dtbo} -b 0 -@ $OVERLAY + done +} + +do_install_append() { + echo "FILES: $FILES_linux" + install -d ${D}/${base_libdir}/firmware + + for OVERLAY in `ls ../overlays/*.dtbo`; do + install -m 644 $OVERLAY ${D}/${base_libdir}/firmware/ + done +} |