Skip to content
Permalink
Browse files

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 <musashino.open@gmail.com>
  • Loading branch information...
musashino205 authored and chunkeey committed Dec 12, 2018
1 parent 9145f52 commit 99df98442e1101607e3e6c902d5d957e72cea1d6
Showing with 5 additions and 5 deletions.
  1. +5 −0 include/image-commands.mk
  2. +0 −5 target/linux/brcm63xx/image/Makefile
@@ -242,6 +242,11 @@ define Build/pad-offset
mv $@.new $@
endef

define Build/xor-image
$(STAGING_DIR_HOST)/bin/xorimage -i $@ -o $@.xor $(1)
mv $@.xor $@
endef

define Build/check-size
@[ $$(($(subst k,* 1024,$(subst m, * 1024k,$(1))))) -ge "$$(stat -c%s $@)" ] || { \
echo "WARNING: Image file $@ is too big" >&2; \
@@ -132,11 +132,6 @@ define Build/spw303v-bin
mv $@.spw303v $@
endef

define Build/xor-image
$(STAGING_DIR_HOST)/bin/xorimage -i $@ -o $@.xor
mv $@.xor $@
endef

define Build/zyxel-bin
$(STAGING_DIR_HOST)/bin/zyxbcm -i $@ -o $@.zyxel
mv $@.zyxel $@

0 comments on commit 99df984

Please sign in to comment.
You can’t perform that action at this time.