summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorrussell <russell@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2007-02-20 20:17:46 +0000
committerrussell <russell@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2007-02-20 20:17:46 +0000
commit444e0f8b8694fed93f4f86efe461841e9cdfc96b (patch)
treee03da801a078348f7e001e563c5ea6e79373a00b /Makefile
parentbcbe7ef08c07c033308b12661d8a24ab2fe527da (diff)
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) git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@2180 5390a7c7-147a-4af0-8ec9-7488f05a26cb
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile12
1 files changed, 9 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 7062813..5fa0388 100644
--- a/Makefile
+++ b/Makefile
@@ -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: menuselect.makeopts
_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 @@ hotplug-uninstall:
$(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 @@ else
$(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