X-Git-Url: http://git.openwrt.org/?a=blobdiff_plain;f=include%2Fimage-commands.mk;h=093b93d0e96b0729babb7c117adb701c36966a6a;hb=8e0d7d6574139e1ab4f99926e2cd09f6959d1073;hp=c513f19d3a1244ae2d6cd692b0f2545b393bda1c;hpb=1d49b534f5b74676f30f2ee1ba78d9e02d59f0bc;p=openwrt%2Fopenwrt.git diff --git a/include/image-commands.mk b/include/image-commands.mk index c513f19d3a..093b93d0e9 100644 --- a/include/image-commands.mk +++ b/include/image-commands.mk @@ -44,12 +44,17 @@ define Build/buffalo-dhp-image mv $@.new $@ endef +define Build/eva-image + $(STAGING_DIR_HOST)/bin/lzma2eva $(KERNEL_LOADADDR) $(KERNEL_LOADADDR) $@ $@.new + mv $@.new $@ +endef + define Build/netgear-chk $(STAGING_DIR_HOST)/bin/mkchkimg \ -o $@.new \ -k $@ \ -b $(NETGEAR_BOARD_ID) \ - -r $(NETGEAR_REGION) + $(if $(NETGEAR_REGION),-r $(NETGEAR_REGION),) mv $@.new $@ endef