j
: Next unread message k
: Previous unread message j a
: Jump to all threads
j l
: Jump to MailingList overview
Author: blueswirl Date: 2009-08-23 14:40:20 +0200 (Sun, 23 Aug 2009) New Revision: 567
Modified: trunk/openbios-devel/Makefile.target Log: Show version.fs and openbios-version.h generation
Signed-off-by: Blue Swirl blauwirbel@gmail.com
Modified: trunk/openbios-devel/Makefile.target =================================================================== --- trunk/openbios-devel/Makefile.target 2009-08-22 06:04:00 UTC (rev 566) +++ trunk/openbios-devel/Makefile.target 2009-08-23 12:40:20 UTC (rev 567) @@ -32,6 +32,8 @@ INCLUDES := -I$(SRCDIR)/include -I$(SRCDIR)/kernel/include -I$(ODIR)/target/include AS_FLAGS+= -g
+quiet-command = $(if $(V),$1,$(if $(2),@echo $2 && $1, @$1)) + # # pre rules # @@ -41,12 +43,14 @@ versions: $(ODIR)/target/include/openbios-version.h $(ODIR)/forth/version.fs
$(ODIR)/forth/version.fs: + $(call quiet-command,true, " GEN $(TARGET_DIR)$@") @DATE="$(shell echo `LC_ALL=C TZ=UTC date +'%b %e %Y %H:%M'`)" ; \ ( echo ": builddate " $$DATE" ; " ; \ echo ": version " $(VERSION)" ; " ; ) \ > $(dir $@)/version.fs
$(ODIR)/target/include/openbios-version.h: + $(call quiet-command,true, " GEN $(TARGET_DIR)$@") @DATE="$(shell echo `LC_ALL=C TZ=UTC date +'%b %e %Y %H:%M'`)" ; \ ( echo "#define OPENBIOS_BUILD_DATE "$$DATE"" ; \ echo "#define OPENBIOS_VERSION_STR "$(VERSION)"" ; ) \ @@ -65,6 +69,4 @@
build: all
-quiet-command = $(if $(V),$1,$(if $(2),@echo $2 && $1, @$1)) - include rules.mak