[zaptel-commits] russell: branch 1.4 r2180 - /branches/1.4/Makefile

zaptel-commits at lists.digium.com zaptel-commits at lists.digium.com
Tue Feb 20 13:17:47 MST 2007


Author: russell
Date: Tue Feb 20 14:17:46 2007
New Revision: 2180

URL: http://svn.digium.com/view/zaptel?view=rev&rev=2180
Log:
Fix the check that ran the install for xpp/utils.  Also, add a target to build
them, and clean the directory in the clean target. (issue #8894, tzafrir)

Modified:
    branches/1.4/Makefile

Modified: branches/1.4/Makefile
URL: http://svn.digium.com/view/zaptel/branches/1.4/Makefile?view=diff&rev=2180&r1=2179&r2=2180
==============================================================================
--- branches/1.4/Makefile (original)
+++ branches/1.4/Makefile Tue Feb 20 14:17:46 2007
@@ -7,7 +7,7 @@
 
 .EXPORT_ALL_VARIABLES:
 
-.PHONY: menuselect distclean dist-clean clean version.h all _all install b410p devices programs modules linux24 linux26 xpp tests devel data stackcheck install-udev config update install-programs install-modules install-linux24 install-linux26 firmware install-include install-libs xpp-install
+.PHONY: menuselect distclean dist-clean clean version.h all _all install b410p devices programs modules linux24 linux26 xpp tests devel data stackcheck install-udev config update install-programs install-modules install-linux24 install-linux26 firmware install-include install-libs xpp-install xpp-utils
 
 PWD=$(shell pwd)
 
@@ -190,7 +190,12 @@
 
 _all: $(if $(MODULES),modules) programs $(LTZ_SO) $(LTZ_A)
 
-programs: $(BINS)
+xpp-utils:
+ifeq (yes,$(BUILD_XPP))
+	@$(MAKE) -C xpp/utils
+endif
+
+programs: $(BINS) xpp-utils
 
 modules: $(BUILDVER)
 
@@ -376,7 +381,7 @@
 	$(MAKE) -C firmware hotplug-uninstall
 
 xpp-install:
-ifneq (,$(findstring xpp,$(obj-m)))
+ifeq (yes,$(BUILD_XPP))
 	@$(MAKE) -C xpp/utils install
 endif
 
@@ -508,6 +513,7 @@
 	$(MAKE) -C wct4xxp clean
 endif
 	$(MAKE) -C firmware clean
+	-@$(MAKE) -C xpp/utils clean
 	rm -f xpp/*.ko xpp/*.mod.c xpp/.*o.cmd
 	rm -f xpp/*.o xpp/*.mod.o
 	rm -rf .tmp_versions



More information about the zaptel-commits mailing list