patches/uClibc/0.9.29/160-custom-ISA.patch
author "Yann E. MORIN" <yann.morin.1998@free.fr>
Wed Jun 25 23:33:01 2014 +0200 (2014-06-25)
changeset 3325 069f43a215cc
parent 118 264aa721d2a4
permissions -rw-r--r--
all: fix wildcard to work with make-4.x

In make-3.8x, the $(wildacrd) function would sort the entries,
while in make-4.x, it would just return the entries in any
unpredictable order [*]

Use the $(sort) function to get reproducible behaviour.

[*] Well, most probably the roder the entries appear when read
from readdir()

Reported-by: Andrew Ruder <andrew.ruder@elecsyscorp.com>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Tested-by: Andrew Ruder <andrew.ruder@elecsyscorp.com>
     1 diff -dur uClibc-0.9.29.orig/extra/Configs/Config.mips uClibc-0.9.29/extra/Configs/Config.mips
     2 --- uClibc-0.9.29.orig/extra/Configs/Config.mips	2007-03-16 20:38:14.000000000 +0100
     3 +++ uClibc-0.9.29/extra/Configs/Config.mips	2007-05-22 19:30:43.000000000 +0200
     4 @@ -71,4 +71,16 @@
     5  config CONFIG_MIPS_ISA_MIPS64
     6  	bool "MIPS64"
     7  
     8 +config CONFIG_MIPS_ISA_CUSTOM
     9 +	bool "Custom"
    10 +
    11  endchoice
    12 +
    13 +config CONFIG_MIPS_CPU_CFLAGS_CUSTOM
    14 +	string
    15 +	prompt "Custon ISA"
    16 +	depends on CONFIG_MIPS_ISA_CUSTOM
    17 +	default ""
    18 +	help
    19 +	  Enter your custom ISA here (eg: lx4189!).
    20 +
    21 diff -dur uClibc-0.9.29.orig/Rules.mak uClibc-0.9.29/Rules.mak
    22 --- uClibc-0.9.29.orig/Rules.mak	2007-04-17 15:34:11.000000000 +0200
    23 +++ uClibc-0.9.29/Rules.mak	2007-05-22 19:31:48.000000000 +0200
    24 @@ -234,6 +234,7 @@
    25  	CPU_CFLAGS-$(CONFIG_MIPS_N64_ABI)+=-mabi=64
    26  	CPU_CFLAGS-$(CONFIG_MIPS_O32_ABI)+=-mabi=32
    27  	CPU_CFLAGS-$(CONFIG_MIPS_N32_ABI)+=-mabi=n32
    28 +	CPU_CFLAGS-$(CONFIG_MIPS_ISA_CUSTOM)+=-march=$(CONFIG_MIPS_CPU_CFLAGS_CUSTOM)
    29  endif
    30  
    31  ifeq ($(TARGET_ARCH),nios)