cvs commit: patches/yaboot yaboot-1.3.11-crosscompile_osx-1.patch yaboot-1.3.11-crosscompile-osx-1.patch

jim at linuxfromscratch.org jim at linuxfromscratch.org
Mon Jun 7 22:20:39 PDT 2004


jim         04/06/07 23:20:39

  Added:       yaboot   yaboot-1.3.11-crosscompile_osx-1.patch
  Removed:     yaboot   yaboot-1.3.11-crosscompile-osx-1.patch
  Log:
  Naming Scheme Update
  
  Revision  Changes    Path
  1.1                  patches/yaboot/yaboot-1.3.11-crosscompile_osx-1.patch
  
  Index: yaboot-1.3.11-crosscompile_osx-1.patch
  ===================================================================
  Submitted By: Martin Schaffner <schaffner at gmx.li>
  Date: 2004-04-02
  Initial Package Version: 1.3.11
  Upstream Status: Similar patch was rejected by author: http://lists.penguinppc.org/yaboot-devel/2004/yaboot-devel-200402/msg00001.html
  Origin: Martin Schaffner
  Description: Fixes cross-compilation.
  
  --- a/Makefile	Wed Mar  3 02:19:32 2004
  +++ b/Makefile	Wed Mar  3 02:23:25 2004
  @@ -28,9 +28,15 @@
   #
   CROSS = 
   
  +# compilation
  +CC		:= $(CROSS)gcc
  +LD		:= $(CROSS)ld
  +AS		:= $(CROSS)as
  +OBJCOPY		:= $(CROSS)objcopy
  +
   # The flags for the yaboot binary.
   #
  -YBCFLAGS = -Os $(CFLAGS) -nostdinc -Wall -isystem `gcc -print-file-name=include` -fsigned-char
  +YBCFLAGS = -Os $(CFLAGS) -nostdinc -Wall -isystem `$(CC) -print-file-name=include` -fsigned-char
   YBCFLAGS += -DVERSION=\"${VERSION}\"	#"
   YBCFLAGS += -DTEXTADDR=$(TEXTADDR) -DDEBUG=$(DEBUG)
   YBCFLAGS += -DMALLOCADDR=$(MALLOCADDR) -DMALLOCSIZE=$(MALLOCSIZE)
  @@ -92,12 +98,6 @@
   ifeq ($(CONFIG_FS_REISERFS),y)
   OBJS += second/fs_reiserfs.o
   endif
  -
  -# compilation
  -CC		:= $(CROSS)gcc
  -LD		:= $(CROSS)ld
  -AS		:= $(CROSS)as
  -OBJCOPY		:= $(CROSS)objcopy
   
   lgcc = `$(CC) -print-libgcc-file-name`
   
  
  
  



More information about the patches mailing list