config/arch/sh.in.2
author "Yann E. MORIN" <yann.morin.1998@free.fr>
Wed Jun 25 23:33:01 2014 +0200 (2014-06-25)
changeset 3325 069f43a215cc
parent 1782 5eda3399a797
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 # Super-H specific configuration file
     2 
     3 choice
     4     bool
     5     prompt "Variant"
     6 
     7 config ARCH_SH_SH3
     8     bool
     9     prompt "sh3"
    10 
    11 config ARCH_SH_SH4
    12     bool
    13     prompt "sh4"
    14 
    15 config ARCH_SH_SH4A
    16     bool
    17     prompt "sh4a"
    18 
    19 endchoice
    20 
    21 config ARCH_SH_VARIANT
    22     string
    23     default "sh3"   if ARCH_SH_SH3
    24     default "sh4"   if ARCH_SH_SH4
    25     default "sh4a"  if ARCH_SH_SH4A