diff options
author | Jonas Gorski <jogo@openwrt.org> | 2015-08-14 13:05:14 +0000 |
---|---|---|
committer | Jonas Gorski <jogo@openwrt.org> | 2015-08-14 13:05:14 +0000 |
commit | 4ecae78c1605e48d35f130dbd62b7b3dcb9a0540 (patch) | |
tree | 73b56eac8433bed61e9f70a105672e421d004e82 /include/image.mk | |
parent | 79b733264b709bdc1e855fb019d6d195c737fab9 (diff) | |
download | upstream-4ecae78c1605e48d35f130dbd62b7b3dcb9a0540.tar.gz upstream-4ecae78c1605e48d35f130dbd62b7b3dcb9a0540.tar.bz2 upstream-4ecae78c1605e48d35f130dbd62b7b3dcb9a0540.zip |
image.mk: replace all Build/netgear-chk with a generic implementation
Instead of letting each target define it themselves, create on in
include/image.mk and let the targets use it.
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 46596
Diffstat (limited to 'include/image.mk')
-rw-r--r-- | include/image.mk | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/include/image.mk b/include/image.mk index 979db5f554..583bc66157 100644 --- a/include/image.mk +++ b/include/image.mk @@ -299,6 +299,15 @@ define Build/uImage @mv $@.new $@ endef +define Build/netgear-chk + $(STAGING_DIR_HOST)/bin/mkchkimg \ + -o $@.new \ + -k $@ \ + -b $(NETGEAR_BOARD_ID) \ + -r $(NETGEAR_REGION) + mv $@.new $@ +endef + define Build/lzma $(STAGING_DIR_HOST)/bin/lzma e $@ -lc1 -lp2 -pb2 $(1) $@.new @mv $@.new $@ |