summaryrefslogtreecommitdiff
path: root/kconfig/Makefile
diff options
context:
space:
mode:
authorYann E. MORIN" <yann.morin.1998@free.fr>2014-06-25 21:33:01 (GMT)
committerYann E. MORIN" <yann.morin.1998@free.fr>2014-06-25 21:33:01 (GMT)
commit6ed78d4cba1a26d0804b68c4d036207100d7748c (patch)
tree134d5a8e92f76b68f66c2edf7d76a0109a66ffb1 /kconfig/Makefile
parentfba42547681f69289c3647c28612ddd2a1442354 (diff)
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>
Diffstat (limited to 'kconfig/Makefile')
-rw-r--r--kconfig/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/kconfig/Makefile b/kconfig/Makefile
index f7db96a..3474e5c 100644
--- a/kconfig/Makefile
+++ b/kconfig/Makefile
@@ -25,7 +25,7 @@ COMMON_DEP = $(patsubst %.o,%.dep,$(COMMON_OBJ))
$(COMMON_OBJ) $(COMMON_DEP): CFLAGS += $(INTL_CFLAGS) -I.
# lxdialog source files
-LX_SRC = $(wildcard lxdialog/*.c)
+LX_SRC = $(sort $(wildcard lxdialog/*.c))
LX_OBJ = $(patsubst %.c,%.o,$(LX_SRC))
LX_DEP = $(patsubst %.o,%.dep,$(LX_OBJ))
$(LX_OBJ) $(LX_DEP): CFLAGS += $(NCURSES_CFLAGS) $(INTL_CFLAGS)