[U-Boot] [PATCH v4 10/11] Add u-boot-pad.bin target to the Makefile

Wolfgang Denk
2012-09-21T15:52:58Z

Dear Jos? Miguel Gon?alves,

In message <505C21BB.7000209@inov.pt> you wrote:
>
> > It is very important to me that we do NOT include any architectures,
> > SoCs, or board specifc parts in the names because this will cause
> > major PITA for all kind of automatic test suites etc.
>
> To me this seems also a cleaner solution, as any end user, that simply
> takes the u-boot sources and performs a make, would easily find the
> appropriate file to burn on his boot media.
>
> But in that case, as the NAND image format (for instance) is
> architecture and/or SoC dependant, what do you suggest is to add
> conditionals in the Makefile that adequate the 'u-boot-nand.bin' file to
> the target SoC?

SoC specific make rules can probably be added to the respective SoC
specific makefiles, thus still avoiding to clutter the top level
Makefile with lots of conditionals.

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
There comes to all races an ultimate crisis which you have yet to
face .... One day our minds became so powerful we dared think of
ourselves as gods.
-- Sargon, "Return to Tomorrow", stardate 4768.3