[LEDE-DEV] [RFC] at91: fix build of legacy target
Hauke Mehrtens
hauke at hauke-m.de
Sun Oct 15 15:44:44 PDT 2017
Changing the order of the devices fixes the build problem seen by the
build bot. I do not understand why this is making any difference at all,
this is probably only hiding a different bug.
Signed-off-by: Hauke Mehrtens <hauke at hauke-m.de>
---
Without this patch I am getting the following error message:
cat /home/hauke/openwrt/lede/build_dir/target-arm_arm926ej-s_musl_eabi/linux-at91_legacy/tmp/lede-at91-legacy-tny_a9260-squashfs-factory.bin.dtb >> /home/hauke/openwrt/lede/build_dir/target-arm_arm926ej-s_musl_eabi/linux-at91_legacy/tmp/lede-at91-legacy-tny_a9260-squashfs-factory.bin
dd if=/home/hauke/openwrt/lede/build_dir/target-arm_arm926ej-s_musl_eabi/linux-at91_legacy/tmp/lede-at91-legacy-tny_a9260-squashfs-factory.bin of=/home/hauke/openwrt/lede/build_dir/target-arm_arm926ej-s_musl_eabi/linux-at91_legacy/tmp/lede-at91-legacy-tny_a9260-squashfs-factory.bin.new bs= conv=sync
dd: invalid number: ''
Makefile:74: recipe for target '/home/hauke/openwrt/lede/build_dir/target-arm_arm926ej-s_musl_eabi/linux-at91_legacy/tmp/lede-at91-legacy-tny_a9260-squashfs-factory.bin' failed
make[5]: *** [/home/hauke/openwrt/lede/build_dir/target-arm_arm926ej-s_musl_eabi/linux-at91_legacy/tmp/lede-at91-legacy-tny_a9260-squashfs-factory.bin] Error 1
make[5]: Leaving directory '/home/hauke/openwrt/lede/target/linux/at91/image'
Makefile:24: recipe for target 'install' failed
I am using this configuration:
$ ./scripts/diffconfig.sh
CONFIG_TARGET_at91=y
CONFIG_TARGET_at91_legacy=y
CONFIG_TARGET_at91_legacy_DEVICE_tny_a9260=y
The build bots are also splotting this problem.
target/linux/at91/image/legacy.mk | 13 ++++++-------
1 file changed, 6 insertions(+), 7 deletions(-)
diff --git a/target/linux/at91/image/legacy.mk b/target/linux/at91/image/legacy.mk
index c6d9ed8108..7a8b4abef1 100644
--- a/target/linux/at91/image/legacy.mk
+++ b/target/linux/at91/image/legacy.mk
@@ -110,13 +110,6 @@ define Device/ethernut5
endef
TARGET_DEVICES += ethernut5
-define Device/at91-q5xr5
- $(Device/production-dtb)
- DEVICE_TITLE := Exegin Q5XR5
- KERNEL_SIZE := 2048k
-endef
-TARGET_DEVICES += at91-q5xr5
-
define Device/wb45n
$(Device/evaluation-fit)
DEVICE_TITLE := Laird WB45N
@@ -131,3 +124,9 @@ define Device/wb45n
endef
TARGET_DEVICES += wb45n
+define Device/at91-q5xr5
+ $(Device/production-dtb)
+ DEVICE_TITLE := Exegin Q5XR5
+ KERNEL_SIZE := 2048k
+endef
+TARGET_DEVICES += at91-q5xr5
--
2.11.0
More information about the Lede-dev
mailing list