1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/patches/uClibc/0.9.28.3/140-custom-ISA.patch Thu May 19 23:09:43 2011 +0200
1.3 @@ -0,0 +1,31 @@
1.4 +diff -dur uClibc-0.9.28.orig/Rules.mak uClibc-0.9.28/Rules.mak
1.5 +--- uClibc-0.9.28.orig/Rules.mak 2005-08-18 00:49:49.000000000 +0200
1.6 ++++ uClibc-0.9.28/Rules.mak 2007-01-30 10:53:34.000000000 +0100
1.7 +@@ -168,6 +168,7 @@
1.8 + CPU_CFLAGS-$(CONFIG_MIPS_ISA_4)+=-mips4 -mtune=mips4
1.9 + CPU_CFLAGS-$(CONFIG_MIPS_ISA_MIPS32)+=-mips32 -mtune=mips32
1.10 + CPU_CFLAGS-$(CONFIG_MIPS_ISA_MIPS64)+=-mips64 -mtune=mips32
1.11 ++ CPU_CFLAGS-$(CONFIG_MIPS_ISA_CUSTOM)+=-march=$(CONFIG_MIPS_CPU_CFLAGS_CUSTOM)
1.12 + endif
1.13 +
1.14 + ifeq ($(strip $(TARGET_ARCH)),sh)
1.15 +diff -dur uClibc-0.9.28.orig/extra/Configs/Config.mips uClibc-0.9.28/extra/Configs/Config.mips
1.16 +--- uClibc-0.9.28.orig/extra/Configs/Config.mips 2005-08-18 00:49:41.000000000 +0200
1.17 ++++ uClibc-0.9.28/extra/Configs/Config.mips 2007-01-30 10:52:12.000000000 +0100
1.18 +@@ -63,4 +63,16 @@
1.19 + config CONFIG_MIPS_ISA_MIPS64
1.20 + bool "MIPS64"
1.21 +
1.22 ++config CONFIG_MIPS_ISA_CUSTOM
1.23 ++ bool "Custom"
1.24 ++
1.25 + endchoice
1.26 ++
1.27 ++config CONFIG_MIPS_CPU_CFLAGS_CUSTOM
1.28 ++ string
1.29 ++ prompt "Custon ISA"
1.30 ++ depends on CONFIG_MIPS_ISA_CUSTOM
1.31 ++ default ""
1.32 ++ help
1.33 ++ Enter your custom ISA here (eg: lx4189!).
1.34 ++