diff options
author | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2007-03-04 12:33:12 (GMT) |
---|---|---|
committer | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2007-03-04 12:33:12 (GMT) |
commit | 56f56ed8bfbd835facce660d14809b72335f7f6e (patch) | |
tree | 903dd0dfd415cecc62bc7e11c2ace69a9ffca847 /patches/uClibc/0.9.28.3/200-custom-ISA.patch | |
parent | 2884f2cf16094003fb8c3635d2226d26c131f8e8 (diff) |
Argh! I forgot to commit the uClibc-0.9.28.3 patches...
Diffstat (limited to 'patches/uClibc/0.9.28.3/200-custom-ISA.patch')
-rw-r--r-- | patches/uClibc/0.9.28.3/200-custom-ISA.patch | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/patches/uClibc/0.9.28.3/200-custom-ISA.patch b/patches/uClibc/0.9.28.3/200-custom-ISA.patch new file mode 100644 index 0000000..2cc9bcb --- /dev/null +++ b/patches/uClibc/0.9.28.3/200-custom-ISA.patch @@ -0,0 +1,31 @@ +diff -dur uClibc-0.9.28.orig/Rules.mak uClibc-0.9.28/Rules.mak +--- uClibc-0.9.28.orig/Rules.mak 2005-08-18 00:49:49.000000000 +0200 ++++ uClibc-0.9.28/Rules.mak 2007-01-30 10:53:34.000000000 +0100 +@@ -168,6 +168,7 @@ + CPU_CFLAGS-$(CONFIG_MIPS_ISA_4)+=-mips4 -mtune=mips4 + CPU_CFLAGS-$(CONFIG_MIPS_ISA_MIPS32)+=-mips32 -mtune=mips32 + CPU_CFLAGS-$(CONFIG_MIPS_ISA_MIPS64)+=-mips64 -mtune=mips32 ++ CPU_CFLAGS-$(CONFIG_MIPS_ISA_CUSTOM)+=-march=$(CONFIG_MIPS_CPU_CFLAGS_CUSTOM) + endif + + ifeq ($(strip $(TARGET_ARCH)),sh) +diff -dur uClibc-0.9.28.orig/extra/Configs/Config.mips uClibc-0.9.28/extra/Configs/Config.mips +--- uClibc-0.9.28.orig/extra/Configs/Config.mips 2005-08-18 00:49:41.000000000 +0200 ++++ uClibc-0.9.28/extra/Configs/Config.mips 2007-01-30 10:52:12.000000000 +0100 +@@ -63,4 +63,16 @@ + config CONFIG_MIPS_ISA_MIPS64 + bool "MIPS64" + ++config CONFIG_MIPS_ISA_CUSTOM ++ bool "Custom" ++ + endchoice ++ ++config CONFIG_MIPS_CPU_CFLAGS_CUSTOM ++ string ++ prompt "Custon ISA" ++ depends on CONFIG_MIPS_ISA_CUSTOM ++ default "" ++ help ++ Enter your custom ISA here (eg: lx4189!). ++ |