patches/uClibc/0.9.28.3/200-custom-ISA.patch
changeset 747 d3e603e7c17c
parent 746 b150d6f590fc
child 748 61cd4eb6034d
     1.1 --- a/patches/uClibc/0.9.28.3/200-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.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 -+