[dahdi-commits] tzafrir: linux/trunk r9708 - /linux/trunk/drivers/dahdi/xpp/Kbuild
SVN commits to the DAHDI project
dahdi-commits at lists.digium.com
Sun Jan 30 12:06:20 CST 2011
Author: tzafrir
Date: Sun Jan 30 12:06:16 2011
New Revision: 9708
URL: http://svnview.digium.com/svn/dahdi?view=rev&rev=9708
Log:
xpp: Kbuild: always update version string
* Keep the xpp version number up-to-date
* Non-verbose build output.
Signed-off-by: Oron Peled <oron at actcom.co.il>
Acked-by: Tzafrir Cohen <tzafrir.cohen at xorcom.com>
Modified:
linux/trunk/drivers/dahdi/xpp/Kbuild
Modified: linux/trunk/drivers/dahdi/xpp/Kbuild
URL: http://svnview.digium.com/svn/dahdi/linux/trunk/drivers/dahdi/xpp/Kbuild?view=diff&rev=9708&r1=9707&r2=9708
==============================================================================
--- linux/trunk/drivers/dahdi/xpp/Kbuild (original)
+++ linux/trunk/drivers/dahdi/xpp/Kbuild Sun Jan 30 12:06:16 2011
@@ -41,6 +41,7 @@
$(obj)/card_fxs.o $(obj)/card_fxo.o $(obj)/card_bri.o $(obj)/card_pri.o $(obj)/xpp_usb.o $(obj)/xpp.o: $(obj)/xpp_version.h
$(obj)/xpp_version.h: FORCE
+ @echo ' VERSION $@'
$(Q)echo '#define XPP_VERSION $(XPP_VERSION_STR)' > $@.tmp
$(Q)if cmp -s $@.tmp $@ ; then echo; else \
mv $@.tmp $@ ; \
@@ -66,7 +67,7 @@
FXO_VERIFY = $(obj)/init_card_2_$(XPP_PROTOCOL_VERSION) -v $(obj)/init_fxo_modes
hostprogs-y := print_fxo_modes
-always := $(xpp_verified)
+always := $(xpp_verified) xpp_version.h
print_fxo_modes-objs := print_fxo_modes.o
HOSTCFLAGS_print_fxo_modes.o += -include $(FXO_MODES)
@@ -79,7 +80,7 @@
$(obj)/init_fxo_modes.verified: $(obj)/init_card_2_$(XPP_PROTOCOL_VERSION) $(obj)/init_fxo_modes
@echo ' CHECK $(obj)/init_card_2_$(XPP_PROTOCOL_VERSION)'
$(Q)$(FXO_VERIFY) || (rm -f $@; exit 1)
- touch $@
+ $(Q)touch $@
$(obj)/init_card_%_$(XPP_PROTOCOL_VERSION).verified: $(src)/init_card_%_$(XPP_PROTOCOL_VERSION)
@echo ' VERIFY $<'
More information about the dahdi-commits
mailing list