diff options
author | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2007-05-22 20:37:46 +0000 |
---|---|---|
committer | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2007-05-22 20:37:46 +0000 |
commit | 960cc07322e2e5d4c5d099d2eedc4df3eb91aabf (patch) | |
tree | 8194ae672eecc3ea8e8b5f46e617fee96960e9fc /patches/uClibc | |
parent | a7ccd113ff50901caf13ecba111e4ff023230249 (diff) | |
download | crosstool-ng-960cc07322e2e5d4c5d099d2eedc4df3eb91aabf.tar.gz crosstool-ng-960cc07322e2e5d4c5d099d2eedc4df3eb91aabf.tar.bz2 crosstool-ng-960cc07322e2e5d4c5d099d2eedc4df3eb91aabf.zip |
Port the custom ISA patch to uClibc-0.9.29
Diffstat (limited to 'patches/uClibc')
-rw-r--r-- | patches/uClibc/0.9.29/500-custom-ISA.patch | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/patches/uClibc/0.9.29/500-custom-ISA.patch b/patches/uClibc/0.9.29/500-custom-ISA.patch new file mode 100644 index 00000000..51993ee0 --- /dev/null +++ b/patches/uClibc/0.9.29/500-custom-ISA.patch @@ -0,0 +1,31 @@ +diff -dur uClibc-0.9.29.orig/extra/Configs/Config.mips uClibc-0.9.29/extra/Configs/Config.mips +--- uClibc-0.9.29.orig/extra/Configs/Config.mips 2007-03-16 20:38:14.000000000 +0100 ++++ uClibc-0.9.29/extra/Configs/Config.mips 2007-05-22 19:30:43.000000000 +0200 +@@ -71,4 +71,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!). ++ +diff -dur uClibc-0.9.29.orig/Rules.mak uClibc-0.9.29/Rules.mak +--- uClibc-0.9.29.orig/Rules.mak 2007-04-17 15:34:11.000000000 +0200 ++++ uClibc-0.9.29/Rules.mak 2007-05-22 19:31:48.000000000 +0200 +@@ -234,6 +234,7 @@ + CPU_CFLAGS-$(CONFIG_MIPS_N64_ABI)+=-mabi=64 + CPU_CFLAGS-$(CONFIG_MIPS_O32_ABI)+=-mabi=32 + CPU_CFLAGS-$(CONFIG_MIPS_N32_ABI)+=-mabi=n32 ++ CPU_CFLAGS-$(CONFIG_MIPS_ISA_CUSTOM)+=-march=$(CONFIG_MIPS_CPU_CFLAGS_CUSTOM) + endif + + ifeq ($(TARGET_ARCH),nios) |