From: florian Date: Fri, 20 Feb 2009 10:19:24 +0000 (+0000) Subject: [ar71xx/atheros] include revision number in Ubiquity images X-Git-Url: http://git.ozo.com/?p=openwrt-10.03%2F.git;a=commitdiff_plain;h=33a477dedad8a2e47bb89a3e8ce0e2d650c4aea3 [ar71xx/atheros] include revision number in Ubiquity images git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14574 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- diff --git a/target/linux/ar71xx/image/Makefile b/target/linux/ar71xx/image/Makefile index 3f0cd01c7..a48d5306d 100644 --- a/target/linux/ar71xx/image/Makefile +++ b/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 diff --git a/target/linux/atheros/image/Makefile b/target/linux/atheros/image/Makefile index 45b72c7a8..73657334e 100644 --- a/target/linux/atheros/image/Makefile +++ b/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