patches/uClibc/0.9.30.2/240-host-utils-depend-on-headers.patch
author "Yann E. MORIN" <yann.morin.1998@free.fr>
Wed Jun 25 23:33:01 2014 +0200 (2014-06-25)
changeset 3325 069f43a215cc
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 From 47e88c04e01299f975ff23f33035d0f34a8f6787 Mon Sep 17 00:00:00 2001
     2 From: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
     3 Date: Fri, 22 Jan 2010 13:32:44 +0100
     4 Subject: [PATCH 06/15] {,host}utils depend on headers
     5 
     6 Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
     7 ---
     8  Makefile.in |    4 ++--
     9  1 files changed, 2 insertions(+), 2 deletions(-)
    10 
    11 diff --git a/Makefile.in b/Makefile.in
    12 index 4c5aecb..ec4c28e 100644
    13 --- a/Makefile.in
    14 +++ b/Makefile.in
    15 @@ -436,7 +436,7 @@ ifeq ($(HAVE_SHARED),y)
    16  	fi
    17  endif
    18  
    19 -utils:
    20 +utils: headers
    21  	$(Q)$(MAKE) CROSS="$(CROSS)" CC="$(CC)" -C utils $@
    22  
    23  # Installs helper applications, such as 'ldd' and 'ldconfig'
    24 @@ -445,7 +445,7 @@ install_utils: utils
    25  
    26  endif # ifeq ($(HAVE_DOT_CONFIG),y)
    27  
    28 -hostutils:
    29 +hostutils: headers
    30  	$(Q)$(MAKE) CROSS="$(CROSS)" CC="$(CC)" HOSTCC="$(HOSTCC)" DOTHOST=.host -C utils $@
    31  
    32  install_hostutils: hostutils
    33 -- 
    34 1.6.6.1
    35