diff options
author | Carsten Schlote <c.schlote@konzeptpark.de> | 2007-08-30 17:11:57 +0000 |
---|---|---|
committer | Carsten Schlote <c.schlote@konzeptpark.de> | 2007-08-30 17:11:57 +0000 |
commit | 840e7c83b95692a08fa615644d0949e2c7263739 (patch) | |
tree | 62d7ef6b539ef70a87451d8c92a339288fb67187 /build_all.mk | |
parent | 1fbae691b475d4b47da41afb7072536e506f2848 (diff) | |
download | OSELAS.Toolchain-840e7c83b95692a08fa615644d0949e2c7263739.tar.gz OSELAS.Toolchain-840e7c83b95692a08fa615644d0949e2c7263739.tar.xz |
* Updated build_all scripts.
git-svn-id: https://svn.pengutronix.de/svn/oselas/toolchain/trunks/OSELAS.Toolchain-trunk@3739 f8d472c7-5700-0410-ac5a-87979cec3adf
Diffstat (limited to 'build_all.mk')
-rw-r--r-- | build_all.mk | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/build_all.mk b/build_all.mk index b4b775d..79361d7 100644 --- a/build_all.mk +++ b/build_all.mk @@ -11,6 +11,7 @@ SVNREV := $(strip $(shell svnversion)) PTXCONFIGS_DIR = ptxconfigs PTXCONFIGS = $(basename $(notdir $(wildcard $(PTXCONFIGS_DIR)/*.ptxconfig))) +PTXCONFIG_TAGS := $(wildcard $(PTXCONFIGS_DIR)/*.ptxconfig) GSTATE_DIR = gstate BLDTAG = .buildtag @@ -42,11 +43,11 @@ $(GSTATE_DIR)/$(1)$(BLDTAG) : $(PTXCONFIGS_DIR)/$(1).ptxconfig | mkgstatedir mkd ptxdist select $$< echo -n "Build" > $(GSTATE_DIR)/$(1)$(STATTAG) + echo -n "$(SVNREV)" > $(GSTATE_DIR)/$(1)$(REVTAG) $(call UpdateStatusPage) echo "ptxdist go" ; \ if ptxdist go; then \ - echo -n "$(SVNREV)" > $(GSTATE_DIR)/$(1)$(REVTAG); \ echo -n "Success" > $(GSTATE_DIR)/$(1)$(STATTAG); \ echo -n "$(BLDDATE)" > $$@; \ else \ @@ -118,8 +119,10 @@ updatestatpage: $(GSTATE_DIR)/laststatus updatestatpage_forced: $(call UpdateStatusPage) -mkblddatetag: - echo -n "$(BLDDATE)" > $(GSTATE_DIR)/$(BLDDATETAG) +$(GSTATE_DIR)/$(BLDDATETAG) : $(PTXCONFIG_TAGS) + @echo -n "$(BLDDATE)" > $(GSTATE_DIR)/$(BLDDATETAG) + +mkblddatetag: $(GSTATE_DIR)/$(BLDDATETAG) clean : -rm -rf $(GSTATE_DIR) |