generate upgrade files suffixed with filesystem type
authorFlorian Fainelli <florian@openwrt.org>
Sat, 11 Aug 2012 12:55:15 +0000 (12:55 +0000)
committerFlorian Fainelli <florian@openwrt.org>
Sat, 11 Aug 2012 12:55:15 +0000 (12:55 +0000)
SVN-Revision: 33126

target/linux/mcs814x/image/Makefile

index f0642e3f9d6184fe5000b1c8c3b73f5c6f2a46bc..ac85474a2dcdb956c3a6929c35de1762dcaf1d67 100644 (file)
@@ -33,9 +33,9 @@ define Image/Prepare
 endef
 
 define Image/Build/dlan
-       dd if=$(KDIR)/uImage-dlan-usb-extender bs=1M conv=sync of=$(KDIR)/$(IMG_PREFIX)-dlan-usb-extender-upgrade.bin
-       cat $(KDIR)/root.$(1) >> $(KDIR)/$(IMG_PREFIX)-dlan-usb-extender-upgrade.bin
-       cp $(KDIR)/$(IMG_PREFIX)-dlan-usb-extender-upgrade.bin $(BIN_DIR)/
+       dd if=$(KDIR)/uImage-dlan-usb-extender bs=1M conv=sync of=$(KDIR)/$(IMG_PREFIX)-dlan-usb-extender-upgrade-$(1).bin
+       cat $(KDIR)/root.$(1) >> $(KDIR)/$(IMG_PREFIX)-dlan-usb-extender-upgrade-$(1).bin
+       cp $(KDIR)/$(IMG_PREFIX)-dlan-usb-extender-upgrade-$(1).bin $(BIN_DIR)/
 endef
 
 define Image/BuildKernel