summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorTzafrir Cohen <tzafrir.cohen@xorcom.com>2008-08-26 12:05:29 +0000
committerTzafrir Cohen <tzafrir.cohen@xorcom.com>2008-08-26 12:05:29 +0000
commit4df80d3e650868dc995df53567b053ec82075a1f (patch)
treee4e923f4c03fbe57a3ac07a7805d544556b41b11 /Makefile
parentc31768b67d4ba37db7c5d02ff482708079ccec6f (diff)
Don't try to clean modules if there's no kernel source available (like
in Zaptel). git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@4837 a0bf4364-ded3-4de4-8d8a-66a801d63aff
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 8c093bd..99c0a52 100644
--- a/Makefile
+++ b/Makefile
@@ -218,7 +218,9 @@ update:
fi
clean:
+ifneq (no,$(HAS_KSRC))
$(KMAKE) clean
+endif
$(MAKE) -C drivers/dahdi/firmware clean
distclean: dist-clean