Fix "make modules" script bug under Mac OS X.

For Mac OS uses BSD sed, it doesn't support "\n". Then, "make modules"
command cannot work correctly under Mac OS. Using tr command to replace
sed command, it has the same behavior under both Mac OS and Linux.

Change-Id: I29e044cc66bf24f6459cbb33164fd9f55f772e3c
This commit is contained in:
Evan JIANG 2009-01-24 00:11:30 +08:00 committed by Jean-Baptiste Queru
parent bfa25878f9
commit f380692430

View file

@ -737,7 +737,7 @@ clobber:
modules:
@echo "Available sub-modules:"
@echo "$(call module-names-for-tag-list,$(ALL_MODULE_TAGS))" | \
sed -e 's/ */\n/g' | sort -u | $(COLUMN)
tr -s ' ' '\n' | sort -u | $(COLUMN)
.PHONY: showcommands
showcommands: