patches/uClibc/0.9.29/500-custom-ISA.patch
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Sat Jul 26 15:12:33 2008 +0000 (2008-07-26)
branch1.2
changeset 730 823ac8f8e9fd
permissions -rw-r--r--
Backport #849 from trunk:
Remove garbage files left behind by downloads from sourceforge.net.

/branches/1.2/scripts/build/debug/500-strace.sh | 4 4 0 0 ++++
/branches/1.2/scripts/build/debug/200-duma.sh | 5 4 1 0 ++++-
2 files changed, 8 insertions(+), 1 deletion(-)
     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)