[leaf-commits] src/bering-uclibc4/source/kernel buildtool.mk, 1.3, 1.4

Andrew <[email protected]>
Newsgroups gmane.linux.leaf.cvs
Message-ID <[email protected]>
Update of /cvsroot/leaf/src/bering-uclibc4/source/kernel
In directory sfp-cvsdas-2.v30.ch3.sourceforge.com:/tmp/cvs-serv32160

Modified Files:
	buildtool.mk 
Log Message:
Added '-j2' to make options to compile in 2 threads (small speed-up on 
single core - when one thread reads data from HDD, other remains working, 
and big speed-up - up to twice - on 2+-core CPUs).
TODO: add make options in MasterInclude.mk, and add it to make command
line in all packages


Index: buildtool.mk
===================================================================
RCS file: /cvsroot/leaf/src/bering-uclibc4/source/kernel/buildtool.mk,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** buildtool.mk	6 Jun 2010 19:35:26 -0000	1.3
--- buildtool.mk	18 Jun 2010 17:42:05 -0000	1.4
***************
*** 34,38 ****
  	perl -i -p -e 's/CFLAGS\s*\:=\s*.*$$/CFLAGS \:= \$$\(CPPFLAGS\) -Wall -Wstrict-prototypes -Wno-trigraphs -Os \\/g' $(BT_LINUX_DIR)/Makefile	
  	#(cd $(BT_LINUX_DIR) ; make clean && make bzImage && make modules)
! 	(cd $(BT_LINUX_DIR) ; make bzImage && make modules)
  	(cp $(BT_LINUX_DIR)/arch/x86/boot/bzImage $(LINUX_BUILDDIR)/$(KIMAGE))
  	(cp $(BT_LINUX_DIR)/System.map $(LINUX_BUILDDIR)/System.map-$(KVERSION))
--- 34,38 ----
  	perl -i -p -e 's/CFLAGS\s*\:=\s*.*$$/CFLAGS \:= \$$\(CPPFLAGS\) -Wall -Wstrict-prototypes -Wno-trigraphs -Os \\/g' $(BT_LINUX_DIR)/Makefile	
  	#(cd $(BT_LINUX_DIR) ; make clean && make bzImage && make modules)
! 	(cd $(BT_LINUX_DIR) ; make bzImage -j2 && make modules -j2)
  	(cp $(BT_LINUX_DIR)/arch/x86/boot/bzImage $(LINUX_BUILDDIR)/$(KIMAGE))
  	(cp $(BT_LINUX_DIR)/System.map $(LINUX_BUILDDIR)/System.map-$(KVERSION))


------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.