OpenSDE Packages Database (without history before r20070)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

49 lines
1.6 KiB

  1. # --- SDE-COPYRIGHT-NOTE-BEGIN ---
  2. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  3. #
  4. # Filename: package/.../yaboot/powerpc64.patch
  5. # Copyright (C) 2004 - 2006 The T2 SDE Project
  6. #
  7. # More information can be found in the files COPYING and README.
  8. #
  9. # This patch file is dual-licensed. It is available under the license the
  10. # patched project is licensed under, as long as it is an OpenSource license
  11. # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
  12. # of the GNU General Public License as published by the Free Software
  13. # Foundation; either version 2 of the License, or (at your option) any later
  14. # version.
  15. # --- SDE-COPYRIGHT-NOTE-END ---
  16. Rediffed Fedora Core patch, triviality anyway.
  17. - Rene Rebe <rene@exactcode.de>
  18. --- yaboot-1.3.13/Makefile.orig 2004-07-11 23:12:03.000000000 +0300
  19. +++ yaboot-1.3.13/Makefile 2005-10-31 20:06:40.295786056 +0200
  20. @@ -30,7 +30,7 @@
  21. # The flags for the yaboot binary.
  22. #
  23. -YBCFLAGS = -Os $(CFLAGS) -nostdinc -Wall -isystem `gcc -print-file-name=include` -fsigned-char
  24. +YBCFLAGS = -Os -m32 $(CFLAGS) -nostdinc -Wall -isystem `$(CC) -m32 -print-file-name=include` -fsigned-char
  25. YBCFLAGS += -DVERSION=\"${VERSION}\" #"
  26. YBCFLAGS += -DTEXTADDR=$(TEXTADDR) -DDEBUG=$(DEBUG)
  27. YBCFLAGS += -DMALLOCADDR=$(MALLOCADDR) -DMALLOCSIZE=$(MALLOCSIZE)
  28. @@ -59,7 +59,7 @@
  29. # Link flags
  30. #
  31. -LFLAGS = -Ttext $(TEXTADDR) -Bstatic
  32. +LFLAGS = -Ttext $(TEXTADDR) -Bstatic -melf32ppclinux
  33. # Libraries
  34. #
  35. @@ -99,7 +99,7 @@
  36. AS := $(CROSS)as
  37. OBJCOPY := $(CROSS)objcopy
  38. -lgcc = `$(CC) -print-libgcc-file-name`
  39. +lgcc = `$(CC) -m32 -print-libgcc-file-name`
  40. all: yaboot addnote mkofboot