Browse Source

include revision number in Ubiquity images

SVN-Revision: 14574
Florian Fainelli 17 years ago
parent
commit
8599641c8f
2 changed files with 3 additions and 3 deletions
  1. 1 1
      target/linux/ar71xx/image/Makefile
  2. 2 2
      target/linux/atheros/image/Makefile

+ 1 - 1
target/linux/ar71xx/image/Makefile

@@ -71,7 +71,7 @@ define Image/Build/UBNT
 	$(STAGING_DIR_HOST)/bin/lzma e $(KDIR)/vmlinux-$(2) $(KDIR)/vmlinux-$(2).lzma
 	dd if=$(KDIR)/vmlinux-$(2).lzma of=$(KDIR)/vmlinux-$(2).bin.lzma bs=64k conv=sync
 	-$(STAGING_DIR_HOST)/bin/mkfwimage \
-		-B $(4) -v $(5).ar7100.OpenWrt \
+		-B $(4) -v $(5).ar7100.OpenWrt.$(REVISION) \
 		-k $(KDIR)/vmlinux-$(2).bin.lzma \
 		-r $(BIN_DIR)/openwrt-$(BOARD)-root.$(1) \
 		-o $(BIN_DIR)/openwrt-$(BOARD)-ubnt-$(2)-$(1).bin

+ 2 - 2
target/linux/atheros/image/Makefile

@@ -24,13 +24,13 @@ define Image/Build
 	dd if=$(KDIR)/root.$(1) of=$(BIN_DIR)/openwrt-$(BOARD)-root.$(1) bs=128k conv=sync
 
 	-$(STAGING_DIR_HOST)/bin/mkfwimage \
-		-B XS2 -v XS2.ar2316.OpenWrt \
+		-B XS2 -v XS2.ar2316.OpenWrt.$(REVISION) \
 		-k $(BIN_DIR)/openwrt-$(BOARD)-vmlinux.lzma \
 		-r $(BIN_DIR)/openwrt-$(BOARD)-root.$(1) \
 		-o $(BIN_DIR)/openwrt-$(BOARD)-ubnt2-$(1).bin
 
 	-$(STAGING_DIR_HOST)/bin/mkfwimage \
-		-B XS5 -v XS5.ar2313.OpenWrt \
+		-B XS5 -v XS5.ar2313.OpenWrt.$(REVISION) \
 		-k $(BIN_DIR)/openwrt-$(BOARD)-vmlinux.lzma \
 		-r $(BIN_DIR)/openwrt-$(BOARD)-root.$(1) \
 		-o $(BIN_DIR)/openwrt-$(BOARD)-ubnt5-$(1).bin