Update of /cvsroot/leaf/src/bering-uclibc/apps/buildtool_kernel
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29853

Modified Files:
        buildtool.mk 
Log Message:
update for kernel compile with gcc-3.3.x

Index: buildtool.mk
===================================================================
RCS file: /cvsroot/leaf/src/bering-uclibc/apps/buildtool_kernel/buildtool.mk,v
retrieving revision 1.13
retrieving revision 1.14
diff -C2 -d -r1.13 -r1.14
*** buildtool.mk        8 Dec 2004 21:24:28 -0000       1.13
--- buildtool.mk        22 Dec 2004 09:56:33 -0000      1.14
***************
*** 12,27 ****
  endif
  
! 
! # export a normal path cause we want to use the hostcc for this
! # FIXME: just strip the staging dir stuff out of the normal path!
! 
#PATH=$(BT_STAGING_DIR)/usr/local/kgcc/bin:$(BT_STAGING_DIR)/bin:$(BT_STAGING_DIR)/usr/bin:$(BT_STAGING_DIR)/usr/local/bin:/bin:/usr/bin:/usr/local/bin
 
! alias gcc=$(BT_STAGING_DIR)/usr/local/kgcc/bin/gcc
! 
  
  LINUX_BUILDDIR=$(BT_BUILD_DIR)/kernel
  
  # set some vars
! # Can we use $BT_KERNEL_RELEASE here?
! KVERSION:=2.4.26
  KIMAGE:=bzimage-$(KVERSION)
  UPXIMAGE:=$(KIMAGE)-upx
--- 12,21 ----
  endif
  
! alias gcc=$(TARGET_CC)
  
  LINUX_BUILDDIR=$(BT_BUILD_DIR)/kernel
  
  # set some vars
! KVERSION:=$(BT_KERNEL_RELEASE)
  KIMAGE:=bzimage-$(KVERSION)
  UPXIMAGE:=$(KIMAGE)-upx
***************
*** 37,41 ****
  
  .build: $(LINUX_BUILDDIR) chklinuxdir 
!       perl -i -p -e 's,^CROSS_COMPILE\s*=.*,CROSS_COMPILE 
=$(BT_STAGING_DIR)/usr/local/kgcc/bin/,g' $(BT_LINUX_DIR)/Makefile  
        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 dep && make clean && make bzImage && make 
modules)
--- 31,35 ----
  
  .build: $(LINUX_BUILDDIR) chklinuxdir 
!       perl -i -p -e 's,^CROSS_COMPILE\s*=.*,CROSS_COMPILE 
=$(BT_STAGING_DIR)/usr/bin/,g' $(BT_LINUX_DIR)/Makefile     
        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 dep && make clean && make bzImage && make 
modules)



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
_______________________________________________
leaf-cvs-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/leaf-cvs-commits

Reply via email to