From 5f0ca0eb63e21858e1fbd2157eb5621e08ec8aa8 Mon Sep 17 00:00:00 2001 From: Tzafrir Cohen Date: Tue, 26 Aug 2008 12:05:29 +0000 Subject: 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 --- Makefile | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Makefile') 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 -- cgit v1.2.3