[leaf-commits] src/bering-uclibc4/source/buildenv .config, 1.6, 1.7 buildtool.mk, 1.8, 1.9

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

Modified Files:
	.config buildtool.mk 
Log Message:
switched default arch to i486; added optimization of code for pentium pro (as most generic i686, that works for both as and gcc)


Index: .config
===================================================================
RCS file: /cvsroot/leaf/src/bering-uclibc4/source/buildenv/.config,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** .config	18 Sep 2010 14:54:29 -0000	1.6
--- .config	30 Oct 2010 16:20:57 -0000	1.7
***************
*** 2,6 ****
  # Automatically generated make config: don't edit
  # Version: 0.9.30.3
! # Sat Sep 18 17:53:34 2010
  #
  # TARGET_alpha is not set
--- 2,6 ----
  # Automatically generated make config: don't edit
  # Version: 0.9.30.3
! # Sat Oct 30 18:12:04 2010
  #
  # TARGET_alpha is not set
***************
*** 37,45 ****
  # CONFIG_GENERIC_386 is not set
  # CONFIG_386 is not set
! # CONFIG_486 is not set
  # CONFIG_586 is not set
  # CONFIG_586MMX is not set
  # CONFIG_686 is not set
! CONFIG_PENTIUMII=y
  # CONFIG_PENTIUMIII is not set
  # CONFIG_PENTIUM4 is not set
--- 37,45 ----
  # CONFIG_GENERIC_386 is not set
  # CONFIG_386 is not set
! CONFIG_486=y
  # CONFIG_586 is not set
  # CONFIG_586MMX is not set
  # CONFIG_686 is not set
! # CONFIG_PENTIUMII is not set
  # CONFIG_PENTIUMIII is not set
  # CONFIG_PENTIUM4 is not set

Index: buildtool.mk
===================================================================
RCS file: /cvsroot/leaf/src/bering-uclibc4/source/buildenv/buildtool.mk,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -d -r1.8 -r1.9
*** buildtool.mk	29 Oct 2010 16:00:11 -0000	1.8
--- buildtool.mk	30 Oct 2010 16:20:57 -0000	1.9
***************
*** 54,58 ****
  TARGET_CROSS=$(STAGING_DIR)/bin/$(GNU_TARGET_NAME)-
  TARGET_CC=$(TARGET_CROSS)gcc
! 
  
  
--- 54,58 ----
  TARGET_CROSS=$(STAGING_DIR)/bin/$(GNU_TARGET_NAME)-
  TARGET_CC=$(TARGET_CROSS)gcc
! CFLAGS=$(BT_COPT_FLAGS)
  
  
***************
*** 367,371 ****
  	cat $(UC_PATCH2) | patch -d $(UCLIBC_DIR) -p1 
  	# This next patch is temporary - see comments in buildtool.cfg
! 	cat $(UC_PATCH3) | patch -d $(UCLIBC_DIR) -p1 
  	touch $(UCLIBC_DIR)/.unpacked
  
--- 367,371 ----
  	cat $(UC_PATCH2) | patch -d $(UCLIBC_DIR) -p1 
  	# This next patch is temporary - see comments in buildtool.cfg
! 	cat $(UC_PATCH3) | patch -d $(UCLIBC_DIR) -p1
  	touch $(UCLIBC_DIR)/.unpacked
  
***************
*** 395,398 ****
--- 395,399 ----
  	pregen install_dev;
  	touch $(UCLIBC_DIR)/.configured
+ #	CPU_CFLAGS-y="-mtune=$(GNU_TUNE)" \
  
  # Set runtime prefix to STAGING_DIR for the host uClibc loader (see hack below)
***************
*** 404,407 ****
--- 405,409 ----
  #	pregen install_dev;
  	$(MAKE) $(MAKEOPTS) -C $(UCLIBC_DIR) \
+ 	CPU_CFLAGS-y="-mtune=$(GNU_TUNE)" \
  	PREFIX= \
  	DEVEL_PREFIX=/ \
***************
*** 411,414 ****
--- 413,417 ----
  $(STAGING_DIR)/lib/libc.a: $(UCLIBC_DIR)/lib/libc.a
  	$(MAKE) $(MAKEOPTS) -C $(UCLIBC_DIR) \
+ 	CPU_CFLAGS-y="-mtune=$(GNU_TUNE)" \
  	PREFIX= \
  	DEVEL_PREFIX=$(STAGING_DIR)/ \
***************
*** 417,420 ****
--- 420,424 ----
  	
  	$(MAKE) $(MAKEOPTS) -C $(UCLIBC_DIR) \
+ 	CPU_CFLAGS-y="-mtune=$(GNU_TUNE)" \
  	PREFIX=$(STAGING_DIR) \
  	install_utils 
***************
*** 422,426 ****
  	# Install uClibc loader for target system
  	$(MAKE) $(MAKEOPTS) -C $(UCLIBC_DIR) clean
! 	$(MAKE) $(MAKEOPTS) -C $(UCLIBC_DIR) RUNTIME_PREFIX=/ all
  	cp $(UCLIBC_DIR)/lib/ld-uClibc-* $(STAGING_DIR)/lib/ld-uClibc-target.so
  	touch $(STAGING_DIR)/lib/libc.a
--- 426,430 ----
  	# Install uClibc loader for target system
  	$(MAKE) $(MAKEOPTS) -C $(UCLIBC_DIR) clean
! 	$(MAKE) $(MAKEOPTS) -C $(UCLIBC_DIR) RUNTIME_PREFIX=/ CPU_CFLAGS-y="-mtune=$(GNU_TUNE)" all
  	cp $(UCLIBC_DIR)/lib/ld-uClibc-* $(STAGING_DIR)/lib/ld-uClibc-target.so
  	touch $(STAGING_DIR)/lib/libc.a
***************
*** 590,593 ****
--- 594,598 ----
  		NM=$(TARGET_CROSS)nm  \
  		CC="$(HOSTCC)" \
+ 		CFLAGS="$(BT_COPT_FLAGS)" \
  		$(GCC_DIR)/configure \
  		--prefix=$(STAGING_DIR) \
***************
*** 619,623 ****
  
  $(GCC_BUILD_DIR2)/.compiled: $(GCC_BUILD_DIR2)/.configured
! 	PATH=$(TARGET_PATH) CC=$(HOSTCC) \
  	    AR_FOR_TARGET=$(TARGET_CROSS)ar RANLIB_FOR_TARGET=$(TARGET_CROSS)ranlib \
  	    LD_FOR_TARGET=$(TARGET_CROSS)ld NM_FOR_TARGET=$(TARGET_CROSS)nm \
--- 624,628 ----
  
  $(GCC_BUILD_DIR2)/.compiled: $(GCC_BUILD_DIR2)/.configured
! 	PATH=$(TARGET_PATH) CC=$(HOSTCC) CFLAGS="$(BT_COPT_FLAGS)" \
  	    AR_FOR_TARGET=$(TARGET_CROSS)ar RANLIB_FOR_TARGET=$(TARGET_CROSS)ranlib \
  	    LD_FOR_TARGET=$(TARGET_CROSS)ld NM_FOR_TARGET=$(TARGET_CROSS)nm \


------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
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.