diff --git a/samples/samples.mk b/samples/samples.mk index 72b855ec..2a5ac629 100644 --- a/samples/samples.mk +++ b/samples/samples.mk @@ -5,10 +5,10 @@ CT_TOP_SAMPLES := $(patsubst $(CT_TOP_DIR)/samples/%/crosstool.config,%,$(wildcard $(CT_TOP_DIR)/samples/*/crosstool.config)) CT_LIB_SAMPLES := $(filter-out $(CT_TOP_SAMPLES),$(patsubst $(CT_LIB_DIR)/samples/%/crosstool.config,%,$(wildcard $(CT_LIB_DIR)/samples/*/crosstool.config))) CT_SAMPLES := $(shell echo $(sort $(CT_TOP_SAMPLES) $(CT_LIB_SAMPLES)) \ - |$(sed) -r -e 's/ /\n/g;' \ - |$(sed) -r -e 's/(.*),(.*)/\2,\1/;' \ - |LC_ALL=C sort \ - |$(sed) -r -e 's/(.*),(.*)/\2,\1/;' \ + |$(sed) -r -e 's/ /\n/g;' \ + |$(sed) -r -e 's/(.*),(.*)/\2,\1/;' \ + |sort \ + |$(sed) -r -e 's/(.*),(.*)/\2,\1/;' \ ) # ----------------------------------------------------------