samples/samples.mk
changeset 2723 94e5cee905f2
parent 2053 2238f1167eaa
child 2725 32aa23619dfd
     1.1 --- a/samples/samples.mk	Fri Jul 30 23:30:02 2010 +0200
     1.2 +++ b/samples/samples.mk	Sun Oct 16 17:52:33 2011 +0200
     1.3 @@ -5,10 +5,10 @@
     1.4  CT_TOP_SAMPLES := $(patsubst $(CT_TOP_DIR)/samples/%/crosstool.config,%,$(wildcard $(CT_TOP_DIR)/samples/*/crosstool.config))
     1.5  CT_LIB_SAMPLES := $(filter-out $(CT_TOP_SAMPLES),$(patsubst $(CT_LIB_DIR)/samples/%/crosstool.config,%,$(wildcard $(CT_LIB_DIR)/samples/*/crosstool.config)))
     1.6  CT_SAMPLES := $(shell echo $(sort $(CT_TOP_SAMPLES) $(CT_LIB_SAMPLES))  \
     1.7 -                      |$(sed) -r -e 's/ /\n/g;'                            \
     1.8 -                      |$(sed) -r -e 's/(.*),(.*)/\2,\1/;'                  \
     1.9 -                      |LC_ALL=C sort                                    \
    1.10 -                      |$(sed) -r -e 's/(.*),(.*)/\2,\1/;'                  \
    1.11 +                      |$(sed) -r -e 's/ /\n/g;'                         \
    1.12 +                      |$(sed) -r -e 's/(.*),(.*)/\2,\1/;'               \
    1.13 +                      |sort                                             \
    1.14 +                      |$(sed) -r -e 's/(.*),(.*)/\2,\1/;'               \
    1.15                 )
    1.16  
    1.17  # ----------------------------------------------------------