From 144609bb3dbed2d612031b7db62740688929161e Mon Sep 17 00:00:00 2001 From: Christian Lamparter Date: Sat, 8 Jan 2022 19:28:09 +0100 Subject: build: move Build/copy-file to image-commands.mk This is makro is present in more than one place. Signed-off-by: Christian Lamparter --- target/linux/apm821xx/image/Makefile | 4 ---- target/linux/mpc85xx/image/Makefile | 4 ---- 2 files changed, 8 deletions(-) (limited to 'target') diff --git a/target/linux/apm821xx/image/Makefile b/target/linux/apm821xx/image/Makefile index 2737a32436..f4701e9f26 100644 --- a/target/linux/apm821xx/image/Makefile +++ b/target/linux/apm821xx/image/Makefile @@ -28,10 +28,6 @@ define Build/boot-script $@.scr endef -define Build/copy-file - cat "$(1)" > "$@" -endef - define Build/dtb $(call Image/BuildDTB,../dts/$(DEVICE_DTS).dts,$@.dtb,,--space $(DTB_SIZE)) endef diff --git a/target/linux/mpc85xx/image/Makefile b/target/linux/mpc85xx/image/Makefile index b9582a2552..2b81884032 100644 --- a/target/linux/mpc85xx/image/Makefile +++ b/target/linux/mpc85xx/image/Makefile @@ -3,10 +3,6 @@ include $(TOPDIR)/rules.mk include $(INCLUDE_DIR)/image.mk -define Build/copy-file - cat "$(1)" > "$@" -endef - define Device/Default PROFILES := Default DEVICE_DTS := $(lastword $(subst _, ,$(1))) -- cgit v1.2.3