patches/uClibc/0.9.29/500-custom-ISA.patch
changeset 747 d3e603e7c17c
parent 746 b150d6f590fc
child 748 61cd4eb6034d
     1.1 --- a/patches/uClibc/0.9.29/500-custom-ISA.patch	Mon Jul 28 21:08:01 2008 +0000
     1.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.3 @@ -1,31 +0,0 @@
     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)