
Hi Tom,
On Mon, Dec 17, 2012 at 1:58 PM, Tom Rini trini@ti.com wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 12/17/12 14:55, Wolfgang Denk wrote:
Dear Tom,
In message 50CF6EA8.4050200@ti.com you wrote:
Since I'd assume 'sort' in make isn't sort -u, I'm not sure how it's filtering out the dupes unless we don't really need it afterall, am335x_evm builds with CONFIG_SPL_NET_SUPPORT enabled. I'm curious now, so I'm poking it.
Wrong assumption.
RTFM shows:
`$(sort LIST)' Sorts the words of LIST in lexical order, removing duplicate words. The output is a list of words separated by single spaces. Thus,
$(sort foo bar lose)
returns the value `bar foo lose'.
Incidentally, since `sort' removes duplicate words, you can use it for this purpose even if you don't care about the sort order.
Not only can you, that's the only reason it's added to those Makefiles.
Which means the Makefile is just a tad messy instead, thanks.
-Joe