use build system REVISION variable (#5317)

SVN-Revision: 16400
This commit is contained in:
Florian Fainelli 2009-06-10 13:43:48 +00:00
parent 1ad8e6fdce
commit cc12508ee3

View File

@ -17,8 +17,6 @@ LOADER_MAKEOPTS= \
KERNEL_ENTRY=$(KERNEL_ENTRY) \ KERNEL_ENTRY=$(KERNEL_ENTRY) \
RAMSIZE=$(RAMSIZE) RAMSIZE=$(RAMSIZE)
SVN_REVISION=r$(shell svn info|grep Revision|cut -f1 -d\ )
define trxalign/jffs2-128k define trxalign/jffs2-128k
-a 0x20000 -a 0x20000
endef endef
@ -102,7 +100,7 @@ define Image/Build
$(call Image/Build/CFE,$(1),96345GW2,6345,bccfe,,bccfe,) $(call Image/Build/CFE,$(1),96345GW2,6345,bccfe,,bccfe,)
$(call Image/Build/CFE,$(1),96345GW2,6345,bc221,,bc221,-y 5) $(call Image/Build/CFE,$(1),96345GW2,6345,bc221,,bc221,-y 5)
$(call Image/Build/CFE,$(1),96345GW2,6345,bc300,,bc300,) $(call Image/Build/CFE,$(1),96345GW2,6345,bc300,,bc300,)
$(call Image/Build/CFE,$(1),96345GW2,6345,bc310,OpenWRT-$(SVN_REVISION),bc310,) $(call Image/Build/CFE,$(1),96345GW2,6345,bc310,OpenWRT-$(REVISION),bc310,)
$(call Image/Build/CFE,$(1),96348GW,6348,bccfe,,bcfe,) $(call Image/Build/CFE,$(1),96348GW,6348,bccfe,,bcfe,)
$(call Image/Build/CFE,$(1),96348GW,6348,bc221,,bc221,-y 5) $(call Image/Build/CFE,$(1),96348GW,6348,bc221,,bc221,-y 5)
# BT Voyager V210_BTR # BT Voyager V210_BTR
@ -125,7 +123,7 @@ define Image/Build
$(call Image/Build/CFE,$(1),96348GW,6348,bc310,$(shell printf '\x99'),gw6200) $(call Image/Build/CFE,$(1),96348GW,6348,bc310,$(shell printf '\x99'),gw6200)
# Neufbox4 # Neufbox4
$(call Image/Build/CFE,$(1),96358VW,6358,bccfe,,bccfe) $(call Image/Build/CFE,$(1),96358VW,6358,bccfe,,bccfe)
$(call Image/Build/CFE,$(1),96358VW,6358,bc310,OpenWRT-$(SVN_REVISION),nb4) $(call Image/Build/CFE,$(1),96358VW,6358,bc310,OpenWRT-$(REVISION),nb4)
# Comtrend 536, 5621 # Comtrend 536, 5621
$(call Image/Build/CFE,$(1),96348GW-11,6348,bccfe,,bccfe) $(call Image/Build/CFE,$(1),96348GW-11,6348,bccfe,,bccfe)
$(call Image/Build/CFE,$(1),96348GW-11,6348,bc300,,bc300) $(call Image/Build/CFE,$(1),96348GW-11,6348,bc300,,bc300)
@ -150,7 +148,7 @@ define Image/Build
# Sagem F@ST2404 # Sagem F@ST2404
$(call Image/Build/CFE,$(1),F@ST2404,6348,bccfe,,bccfe) $(call Image/Build/CFE,$(1),F@ST2404,6348,bccfe,,bccfe)
$(call Image/Build/CFE,$(1),F@ST2404,6348,bc300,,bc300) $(call Image/Build/CFE,$(1),F@ST2404,6348,bc300,,bc300)
$(call Image/Build/CFE,$(1),F@ST2404,6348,bc310,OpenWRT-$(SVN_REVISION),bc310) $(call Image/Build/CFE,$(1),F@ST2404,6348,bc310,OpenWRT-$(REVISION),bc310)
# Inventel Livebox # Inventel Livebox
$(call Image/Build/RedBoot,livebox) $(call Image/Build/RedBoot,livebox)
# D-Link DSL-2740B # D-Link DSL-2740B