X-Git-Url: http://git.openwrt.org/?a=blobdiff_plain;ds=sidebyside;f=include%2Fimage-commands.mk;h=c1d89825a3bc383ac9200af2093867ba05f0960c;hb=d41a441bb613537916460542eb89d517d1856b5d;hp=49e438954a804f487652603d7e6682716b533c2b;hpb=7d00cfe9bb693e376ac9d035e13f8ce8a5ff572c;p=openwrt%2Fopenwrt.git diff --git a/include/image-commands.mk b/include/image-commands.mk index 49e438954a..c1d89825a3 100644 --- a/include/image-commands.mk +++ b/include/image-commands.mk @@ -8,7 +8,7 @@ define Build/uImage -O linux -T kernel \ -C $(1) -a $(KERNEL_LOADADDR) -e $(if $(KERNEL_ENTRY),$(KERNEL_ENTRY),$(KERNEL_LOADADDR)) \ -n '$(if $(UIMAGE_NAME),$(UIMAGE_NAME),$(call toupper,$(LINUX_KARCH)) LEDE Linux-$(LINUX_VERSION))' -d $@ $@.new - @mv $@.new $@ + mv $@.new $@ endef define Build/buffalo-enc @@ -49,7 +49,7 @@ define Build/netgear-chk -o $@.new \ -k $@ \ -b $(NETGEAR_BOARD_ID) \ - -r $(NETGEAR_REGION) + $(if $(NETGEAR_REGION),-r $(NETGEAR_REGION),) mv $@.new $@ endef