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 --- include/image-commands.mk | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include/image-commands.mk') diff --git a/include/image-commands.mk b/include/image-commands.mk index 913e1c2411..158af853a5 100644 --- a/include/image-commands.mk +++ b/include/image-commands.mk @@ -196,6 +196,10 @@ define Build/check-size } endef +define Build/copy-file + cat "$(1)" > "$@" +endef + define Build/elecom-product-header $(eval product=$(word 1,$(1))) $(eval fw=$(if $(word 2,$(1)),$(word 2,$(1)),$@)) -- cgit v1.2.3