浏览代码

build: move xor-image into image-commands

I moved xor-image into image-commands.mk to use it in ath79 target.

It required for NEC WG800HP.

Signed-off-by: INAGAKI Hiroshi <[email protected]>
INAGAKI Hiroshi 6 年之前
父节点
当前提交
99df98442e
共有 2 个文件被更改,包括 5 次插入5 次删除
  1. 5 0
      include/image-commands.mk
  2. 0 5
      target/linux/brcm63xx/image/Makefile

+ 5 - 0
include/image-commands.mk

@@ -242,6 +242,11 @@ define Build/pad-offset
 	mv [email protected] $@
 endef
 
+define Build/xor-image
+	$(STAGING_DIR_HOST)/bin/xorimage -i $@ -o [email protected] $(1)
+	mv [email protected] $@
+endef
+
 define Build/check-size
 	@[ $$(($(subst k,* 1024,$(subst m, * 1024k,$(1))))) -ge "$$(stat -c%s $@)" ] || { \
 		echo "WARNING: Image file $@ is too big" >&2; \

+ 0 - 5
target/linux/brcm63xx/image/Makefile

@@ -132,11 +132,6 @@ define Build/spw303v-bin
 	mv [email protected] $@
 endef
 
-define Build/xor-image
-	$(STAGING_DIR_HOST)/bin/xorimage -i $@ -o [email protected]
-	mv [email protected] $@
-endef
-
 define Build/zyxel-bin
 	$(STAGING_DIR_HOST)/bin/zyxbcm -i $@ -o [email protected]
 	mv [email protected] $@