[svn-commits] kpfleming: linux/trunk r4788 - /linux/trunk/Makefile

SVN commits to the Digium repositories svn-commits at lists.digium.com
Mon Aug 18 18:24:20 CDT 2008


Author: kpfleming
Date: Mon Aug 18 18:24:19 2008
New Revision: 4788

URL: http://svn.digium.com/view/dahdi?view=rev&rev=4788
Log:
minor cleanups, and allow DAHDI_BUILD_ALL to be overriden on the command line

Modified:
    linux/trunk/Makefile

Modified: linux/trunk/Makefile
URL: http://svn.digium.com/view/dahdi/linux/trunk/Makefile?view=diff&rev=4788&r1=4787&r2=4788
==============================================================================
--- linux/trunk/Makefile (original)
+++ linux/trunk/Makefile Mon Aug 18 18:24:19 2008
@@ -40,10 +40,10 @@
 # Thus we will have many CONFIG_* variables from there.
 KCONFIG:=$(KSRC)/.config
 ifneq (,$(wildcard $(KCONFIG)))
-  HAS_KSRC=yes
+  HAS_KSRC:=yes
   include $(KCONFIG)
 else
-  HAS_KSRC=no
+  HAS_KSRC:=no
 endif
 
 # Set HOTPLUG_FIRMWARE=no to override automatic building with hotplug support
@@ -53,15 +53,17 @@
   HOTPLUG_FIRMWARE:=$(shell if grep -q '^CONFIG_FW_LOADER=[ym]' $(KCONFIG); then echo "yes"; else echo "no"; fi)
 endif
 
-MODULE_ALIASES=wcfxs wctdm8xxp wct2xxp
+MODULE_ALIASES:=wcfxs wctdm8xxp wct2xxp
+
+DAHDI_BUILD_ALL:=m
 
 KMAKE=$(MAKE) -C $(KSRC) ARCH=$(ARCH) SUBDIRS=$(PWD)/drivers/dahdi DAHDI_INCLUDE=$(PWD)/include HOTPLUG_FIRMWARE=$(HOTPLUG_FIRMWARE)
 
 ifneq (,$(wildcard $(DESTDIR)/etc/udev/rules.d))
-  DYNFS=yes
-endif
-
-ROOT_PREFIX=
+  DYNFS:=yes
+endif
+
+ROOT_PREFIX:=
 
 ifneq ($(wildcard .version),)
   DAHDIVERSION:=$(shell cat .version)
@@ -78,7 +80,7 @@
 	echo "You do not appear to have the sources for the $(KVERS) kernel installed."
 	exit 1
 endif
-	$(KMAKE) modules DAHDI_BUILD_ALL=m
+	$(KMAKE) modules DAHDI_BUILD_ALL=$(DAHDI_BUILD_ALL)
 
 include/dahdi/version.h: FORCE
 	@DAHDIVERSION="${DAHDIVERSION}" build_tools/make_version_h > $@.tmp




More information about the svn-commits mailing list