[U-Boot] [PATCH] env: don't generate callback list entries for SPL

Wolfgang Denk wd at denx.de
Mon Dec 17 20:55:46 CET 2012


Dear Tom,

In message <50CF6EA8.4050200 at 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.



Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
[Doctors and Bartenders], We both get the same two kinds of customers
-- the living and the dying.
	-- Dr. Boyce, "The Menagerie" ("The Cage"), stardate unknown


More information about the U-Boot mailing list