diff options
author | INAGAKI Hiroshi <musashino.open@gmail.com> | 2021-04-23 18:36:15 +0900 |
---|---|---|
committer | Adrian Schmutzler <freifunk@adrianschmutzler.de> | 2021-10-30 22:05:25 +0200 |
commit | 1b814974e12ede0ade19302332d49336ae208f08 (patch) | |
tree | fbe0d5254abecf4bbd03d6fc6c1a3f934af5dd38 /target | |
parent | 1b18195f59b09844ab8fdfd669bc506c25df111b (diff) | |
download | upstream-1b814974e12ede0ade19302332d49336ae208f08.tar.gz upstream-1b814974e12ede0ade19302332d49336ae208f08.tar.bz2 upstream-1b814974e12ede0ade19302332d49336ae208f08.zip |
build: move elecom-wrc-gs-factory to image-commands.mk
ELECOM WRC-X3200GST3 uses the same header/footer as WRC-GS/GST devices
in ramips/mt7621 subtarget, so move "Build/elecom-wrc-gs-factory" to
image-commands.mk to use from mediatek/mt7622 subtarget.
Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
Diffstat (limited to 'target')
-rw-r--r-- | target/linux/ramips/image/mt7621.mk | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/target/linux/ramips/image/mt7621.mk b/target/linux/ramips/image/mt7621.mk index c81e79c900..a0236234d1 100644 --- a/target/linux/ramips/image/mt7621.mk +++ b/target/linux/ramips/image/mt7621.mk @@ -9,19 +9,6 @@ DEFAULT_SOC := mt7621 KERNEL_DTB += -d21 DEVICE_VARS += ELECOM_HWNAME LINKSYS_HWNAME -define Build/elecom-wrc-gs-factory - $(eval product=$(word 1,$(1))) - $(eval version=$(word 2,$(1))) - $(eval hash_opt=$(word 3,$(1))) - $(MKHASH) md5 $(hash_opt) $@ >> $@ - ( \ - echo -n "ELECOM $(product) v$(version)" | \ - dd bs=32 count=1 conv=sync; \ - dd if=$@; \ - ) > $@.new - mv $@.new $@ -endef - define Build/gemtek-trailer printf "%s%08X" ".GEMTEK." "$$(cksum $@ | cut -d ' ' -f1)" >> $@ endef |