patches/uClibc/0.9.29/500-custom-ISA.patch
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Sat Jul 26 09:31:07 2008 +0000 (2008-07-26)
changeset 727 33c246763c8a
permissions -rw-r--r--
Update the PPC sample, add a new softfloat PPC sample, thanks to Thomas JOURDAN.

/trunk/samples/powerpc-unknown-linux-gnu/crosstool.config | 54 42 12 0 ++
/trunk/samples/powerpc-unknown_nofpu-linux-gnu/crosstool.config | 331 331 0 0 +++++++++++++++
/trunk/samples/powerpc-unknown_nofpu-linux-gnu/reported.by | 2 2 0 0 +
3 files changed, 375 insertions(+), 12 deletions(-)
     1 diff -dur uClibc-0.9.29.orig/extra/Configs/Config.mips uClibc-0.9.29/extra/Configs/Config.mips
     2 --- uClibc-0.9.29.orig/extra/Configs/Config.mips	2007-03-16 20:38:14.000000000 +0100
     3 +++ uClibc-0.9.29/extra/Configs/Config.mips	2007-05-22 19:30:43.000000000 +0200
     4 @@ -71,4 +71,16 @@
     5  config CONFIG_MIPS_ISA_MIPS64
     6  	bool "MIPS64"
     7  
     8 +config CONFIG_MIPS_ISA_CUSTOM
     9 +	bool "Custom"
    10 +
    11  endchoice
    12 +
    13 +config CONFIG_MIPS_CPU_CFLAGS_CUSTOM
    14 +	string
    15 +	prompt "Custon ISA"
    16 +	depends on CONFIG_MIPS_ISA_CUSTOM
    17 +	default ""
    18 +	help
    19 +	  Enter your custom ISA here (eg: lx4189!).
    20 +
    21 diff -dur uClibc-0.9.29.orig/Rules.mak uClibc-0.9.29/Rules.mak
    22 --- uClibc-0.9.29.orig/Rules.mak	2007-04-17 15:34:11.000000000 +0200
    23 +++ uClibc-0.9.29/Rules.mak	2007-05-22 19:31:48.000000000 +0200
    24 @@ -234,6 +234,7 @@
    25  	CPU_CFLAGS-$(CONFIG_MIPS_N64_ABI)+=-mabi=64
    26  	CPU_CFLAGS-$(CONFIG_MIPS_O32_ABI)+=-mabi=32
    27  	CPU_CFLAGS-$(CONFIG_MIPS_N32_ABI)+=-mabi=n32
    28 +	CPU_CFLAGS-$(CONFIG_MIPS_ISA_CUSTOM)+=-march=$(CONFIG_MIPS_CPU_CFLAGS_CUSTOM)
    29  endif
    30  
    31  ifeq ($(TARGET_ARCH),nios)