summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xscripts/install.sh6
-rw-r--r--target/arm/Makefile4
2 files changed, 9 insertions, 1 deletions
diff --git a/scripts/install.sh b/scripts/install.sh
index 8c7c4c938..74dc06eb3 100755
--- a/scripts/install.sh
+++ b/scripts/install.sh
@@ -626,7 +626,11 @@ case $target {
mkdir "$B/"overlays
for x in "$fwdir"/overlays/*.dtbo; do
y=$(basename ${x} .dtbo)
- [[ -e "$x" ]] && cp "$fwdir"/overlays/${y}.dtbo "$B/"overlays/${y}.dtb
+ [[ -e "$x" ]] && cp "$fwdir"/overlays/${y}.dtbo "$B/"overlays/${y}.dtbo
+ done
+ for x in "$fwdir"/overlays/*.dtb; do
+ y=$(basename ${x} .dtb)
+ [[ -e "$x" ]] && cp "$fwdir"/overlays/${y}.dtb "$B/"overlays/${y}.dtb
done
umount_fs "$B"
;;
diff --git a/target/arm/Makefile b/target/arm/Makefile
index 51fef7740..4428214a7 100644
--- a/target/arm/Makefile
+++ b/target/arm/Makefile
@@ -207,6 +207,10 @@ ifeq ($(ADK_TARGET_BOARD_BCM28XX),y)
[[ -e "$$x" ]] && cp $(LINUX_DIR)/arch/arm/boot/dts/overlays/*.dtbo $(FW_DIR)/overlays; \
break; \
done
+ for x in $(LINUX_DIR)/arch/arm/boot/dts/overlays/*.dtb; do \
+ [[ -e "$$x" ]] && cp $(LINUX_DIR)/arch/arm/boot/dts/overlays/*.dtb $(FW_DIR)/overlays; \
+ break; \
+ done
endif
ifeq ($(ADK_TARGET_SYSTEM_BANANA_PRO),y)
${KERNEL_MAKE} sun7i-a20-bananapro.dtb $(MAKE_TRACE)