[dahdi-commits] sruffell: linux/trunk r9409 - /linux/trunk/Makefile

SVN commits to the DAHDI project dahdi-commits at lists.digium.com
Fri Sep 24 17:44:48 CDT 2010


Author: sruffell
Date: Fri Sep 24 17:44:45 2010
New Revision: 9409

URL: http://svnview.digium.com/svn/dahdi?view=rev&rev=9409
Log:
dahdi: Add '+' on KMAKE definition to enable parallel make.

Now 'make -j 5' works the way it's supposed to on multi core machines.
On one test machine build times went from ~33 seconds to ~11 seconds.

Signed-off-by: Shaun Ruffell <sruffell at digium.com>
Acked-by: Kinsey Moore <kmoore at digium.com>
Acked-by: Russ Meyerriecks <rmeyerriecks at digium.com>
Acked-by: Tzafrir Cohen <tzafrir.cohen at xorcom.com>
Review: https://reviewboard.asterisk.org/r/940/

Modified:
    linux/trunk/Makefile

Modified: linux/trunk/Makefile
URL: http://svnview.digium.com/svn/dahdi/linux/trunk/Makefile?view=diff&rev=9409&r1=9408&r2=9409
==============================================================================
--- linux/trunk/Makefile (original)
+++ linux/trunk/Makefile Fri Sep 24 17:44:45 2010
@@ -55,7 +55,7 @@
 
 DAHDI_BUILD_ALL:=m
 
-KMAKE=$(MAKE) -C $(KSRC) SUBDIRS=$(PWD)/drivers/dahdi DAHDI_INCLUDE=$(PWD)/include DAHDI_MODULES_EXTRA="$(DAHDI_MODULES_EXTRA)" HOTPLUG_FIRMWARE=$(HOTPLUG_FIRMWARE)
+KMAKE=+$(MAKE) -C $(KSRC) SUBDIRS=$(PWD)/drivers/dahdi DAHDI_INCLUDE=$(PWD)/include DAHDI_MODULES_EXTRA="$(DAHDI_MODULES_EXTRA)" HOTPLUG_FIRMWARE=$(HOTPLUG_FIRMWARE)
 
 ROOT_PREFIX:=
 




More information about the dahdi-commits mailing list