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
commit5f0ca0eb63e21858e1fbd2157eb5621e08ec8aa8 (patch)
treee4e923f4c03fbe57a3ac07a7805d544556b41b11 /Makefile
parent39cfc0c033b2342e76a3044fb3fa4017c4b0d3fc (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