1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/patches/uClibc/0.9.29/160-custom-ISA.patch Tue Jul 29 17:34:45 2008 +0000
1.3 @@ -0,0 +1,31 @@
1.4 +diff -dur uClibc-0.9.29.orig/extra/Configs/Config.mips uClibc-0.9.29/extra/Configs/Config.mips
1.5 +--- uClibc-0.9.29.orig/extra/Configs/Config.mips 2007-03-16 20:38:14.000000000 +0100
1.6 ++++ uClibc-0.9.29/extra/Configs/Config.mips 2007-05-22 19:30:43.000000000 +0200
1.7 +@@ -71,4 +71,16 @@
1.8 + config CONFIG_MIPS_ISA_MIPS64
1.9 + bool "MIPS64"
1.10 +
1.11 ++config CONFIG_MIPS_ISA_CUSTOM
1.12 ++ bool "Custom"
1.13 ++
1.14 + endchoice
1.15 ++
1.16 ++config CONFIG_MIPS_CPU_CFLAGS_CUSTOM
1.17 ++ string
1.18 ++ prompt "Custon ISA"
1.19 ++ depends on CONFIG_MIPS_ISA_CUSTOM
1.20 ++ default ""
1.21 ++ help
1.22 ++ Enter your custom ISA here (eg: lx4189!).
1.23 ++
1.24 +diff -dur uClibc-0.9.29.orig/Rules.mak uClibc-0.9.29/Rules.mak
1.25 +--- uClibc-0.9.29.orig/Rules.mak 2007-04-17 15:34:11.000000000 +0200
1.26 ++++ uClibc-0.9.29/Rules.mak 2007-05-22 19:31:48.000000000 +0200
1.27 +@@ -234,6 +234,7 @@
1.28 + CPU_CFLAGS-$(CONFIG_MIPS_N64_ABI)+=-mabi=64
1.29 + CPU_CFLAGS-$(CONFIG_MIPS_O32_ABI)+=-mabi=32
1.30 + CPU_CFLAGS-$(CONFIG_MIPS_N32_ABI)+=-mabi=n32
1.31 ++ CPU_CFLAGS-$(CONFIG_MIPS_ISA_CUSTOM)+=-march=$(CONFIG_MIPS_CPU_CFLAGS_CUSTOM)
1.32 + endif
1.33 +
1.34 + ifeq ($(TARGET_ARCH),nios)