From b7baaaf782f40bf6a1d017a1f41480b6229a12c9 Mon Sep 17 00:00:00 2001 From: Ben Whitten Date: Fri, 17 Jun 2016 15:00:17 +0100 Subject: kernel: Move append-dtb to common image-commands This build step is used by various targets, move it to a common section. Signed-off-by: Ben Whitten --- target/linux/lantiq/image/Makefile | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'target/linux/lantiq') diff --git a/target/linux/lantiq/image/Makefile b/target/linux/lantiq/image/Makefile index a54c3e212b..f76f6db790 100644 --- a/target/linux/lantiq/image/Makefile +++ b/target/linux/lantiq/image/Makefile @@ -174,11 +174,6 @@ endef ### Kernel scripts ### -define Build/append-dtb - $(call Image/BuildDTB,../dts/$(DEVICE_DTS).dts,$@.dtb) - cat $@.dtb >> $@ -endef - define Build/mkbrncmdline mkbrncmdline -i $@ -o $@.new BRN-BOOT mv $@.new $@ @@ -213,11 +208,12 @@ define Device/Default FILESYSTEMS := squashfs DEVICE_PROFILE := DEVICE_DTS = $$(DEVICE_PROFILE) + DEVICE_DTS_DIR := ../dts IMAGE_SIZE := IMAGES := sysupgrade.bin IMAGE/sysupgrade.bin := append-kernel | append-rootfs | pad-rootfs | check-size $$$$(IMAGE_SIZE) endef -DEVICE_VARS += DEVICE_PROFILE DEVICE_DTS IMAGE_SIZE +DEVICE_VARS += DEVICE_PROFILE DEVICE_DTS DEVICE_DTS_DIR IMAGE_SIZE define Device/lantiqBrnImage KERNEL := kernel-bin | append-dtb | mkbrncmdline | lzma-no-dict -- cgit v1.2.3