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/brcm63xx/image/Makefile | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'target/linux/brcm63xx') diff --git a/target/linux/brcm63xx/image/Makefile b/target/linux/brcm63xx/image/Makefile index d2a3814..2c82c34 100644 --- a/target/linux/brcm63xx/image/Makefile +++ b/target/linux/brcm63xx/image/Makefile @@ -34,11 +34,6 @@ define Build/Compile endef ### Kernel scripts ### -define Build/append-dtb - $(call Image/BuildDTB,../dts/$(DEVICE_DTS).dts,$@.dtb) - cat $@.dtb >> $@ -endef - define Build/hcs-initramfs $(STAGING_DIR_HOST)/bin/hcsmakeimage --magic_bytes=$(HCS_MAGIC_BYTES) \ --rev_maj=$(HCS_REV_MAJ) --rev_min=$(HCS_REV_MIN) --input_file=$@ \ @@ -171,8 +166,9 @@ define Device/Default KERNEL_DEPENDS = $$(wildcard ../dts/$$(DEVICE_DTS).dts) KERNEL_INITRAMFS_SUFFIX := .elf DEVICE_DTS := + DEVICE_DTS_DIR := ../dts endef -DEVICE_VARS += DEVICE_DTS +DEVICE_VARS += DEVICE_DTS DEVICE_DTS_DIR ATH5K_PACKAGES := kmod-ath5k wpad-mini ATH9K_PACKAGES := kmod-ath9k wpad-mini -- cgit v1.1