mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-18 21:28:02 +00:00
build: move Build/edimax-header to image-commands.mk
To use from the following devices in ath79 target, move edimax-header to image-commands.mk. - ELECOM WRC-300GHBK2-I - ELECOM WRC-1750GHBK2-I/C Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
This commit is contained in:
parent
a80e198cd3
commit
00ddd29b65
@ -218,6 +218,11 @@ define Build/copy-file
|
|||||||
cat "$(1)" > "$@"
|
cat "$(1)" > "$@"
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
define Build/edimax-header
|
||||||
|
$(STAGING_DIR_HOST)/bin/mkedimaximg -i $@ -o $@.new $(1)
|
||||||
|
@mv $@.new $@
|
||||||
|
endef
|
||||||
|
|
||||||
define Build/elecom-product-header
|
define Build/elecom-product-header
|
||||||
$(eval product=$(word 1,$(1)))
|
$(eval product=$(word 1,$(1)))
|
||||||
$(eval fw=$(if $(word 2,$(1)),$(word 2,$(1)),$@))
|
$(eval fw=$(if $(word 2,$(1)),$(word 2,$(1)),$@))
|
||||||
|
@ -28,11 +28,6 @@ LOADER_FLASH_START := $(ldrflashstart-y)
|
|||||||
|
|
||||||
KERNEL_DTB = kernel-bin | append-dtb | lzma
|
KERNEL_DTB = kernel-bin | append-dtb | lzma
|
||||||
|
|
||||||
define Build/edimax-header
|
|
||||||
$(STAGING_DIR_HOST)/bin/mkedimaximg -i $@ -o $@.new $(1)
|
|
||||||
@mv $@.new $@
|
|
||||||
endef
|
|
||||||
|
|
||||||
define Build/jcg-header
|
define Build/jcg-header
|
||||||
$(STAGING_DIR_HOST)/bin/jcgimage -v $(1) \
|
$(STAGING_DIR_HOST)/bin/jcgimage -v $(1) \
|
||||||
$(if $(JCG_MAXSIZE), -m $$(($(subst k, * 1024,$(JCG_MAXSIZE)))),) \
|
$(if $(JCG_MAXSIZE), -m $$(($(subst k, * 1024,$(JCG_MAXSIZE)))),) \
|
||||||
|
Loading…
Reference in New Issue
Block a user