1.1 --- a/samples/samples.mk Thu Jan 24 22:24:38 2013 +0100
1.2 +++ b/samples/samples.mk Wed Jun 25 23:33:01 2014 +0200
1.3 @@ -2,8 +2,8 @@
1.4
1.5 # ----------------------------------------------------------
1.6 # Build the list of available samples
1.7 -CT_TOP_SAMPLES := $(patsubst $(CT_TOP_DIR)/samples/%/crosstool.config,%,$(wildcard $(CT_TOP_DIR)/samples/*/crosstool.config))
1.8 -CT_LIB_SAMPLES := $(filter-out $(CT_TOP_SAMPLES),$(patsubst $(CT_LIB_DIR)/samples/%/crosstool.config,%,$(wildcard $(CT_LIB_DIR)/samples/*/crosstool.config)))
1.9 +CT_TOP_SAMPLES := $(patsubst $(CT_TOP_DIR)/samples/%/crosstool.config,%,$(sort $(wildcard $(CT_TOP_DIR)/samples/*/crosstool.config)))
1.10 +CT_LIB_SAMPLES := $(filter-out $(CT_TOP_SAMPLES),$(patsubst $(CT_LIB_DIR)/samples/%/crosstool.config,%,$(sort $(wildcard $(CT_LIB_DIR)/samples/*/crosstool.config))))
1.11 CT_SAMPLES := $(shell echo $(sort $(CT_TOP_SAMPLES) $(CT_LIB_SAMPLES)) \
1.12 |$(sed) -r -e 's/ /\n/g;' \
1.13 |$(sed) -r -e 's/(.*),(.*)/\2,\1/;' \