From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Rini Date: Fri, 21 Sep 2012 09:13:37 -0700 Subject: [U-Boot] [PATCH v4 10/11] Add u-boot-pad.bin target to the Makefile In-Reply-To: <20120921155258.D1892203200@gemini.denx.de> References: <1348053927-16021-1-git-send-email-jose.goncalves@inov.pt> <1348053927-16021-11-git-send-email-jose.goncalves@inov.pt> <1348094385.22800.13@snotra> <505A55D1.9070807@ti.com> <1348097794.22800.20@snotra> <505A57F2.6000700@ti.com> <505A6580.2050102@inov.pt> <505A7171.60902@ti.com> <5FBF8E85CA34454794F0F7ECBA79798F379F6FD992@HQMAIL04.nvidia.com> <20120921054348.E7801203200@gemini.denx.de> <505C21BB.7000209@inov.pt> <20120921155258.D1892203200@gemini.denx.de> Message-ID: <505C9231.6040602@ti.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 09/21/12 08:52, Wolfgang Denk wrote: > 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. Ideally? Yes, Possible today? Not sure. I have a hazy recollection that it wasn't so easy when I tried adding some build rules to one of the config.mk files. When I post SPI SPL for am335x support I'll try again since for that I need to add a rule to generate a byte-swapped MLO file. If that can go somewhere other than spl/Makefile that would be nice (but needs to be visible to a number of TI SoCs is an issue). - -- Tom -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://www.enigmail.net/ iQIcBAEBAgAGBQJQXJIxAAoJENk4IS6UOR1WvRgP/1sA7S2GQUKx6v67zP/9aful 4YnamVKZkuutSuf/FKadLoK9NQbB4VOq6gXUcwbANlygiFVX9Ax9K6XC0JNYOSpm DeitwLu/ni9MduYM/11quwwfDWBKvIUO62cJcnRiDVSn3xyjJeEfr6lEHmgpcRx5 0wlVT183OurED18ZXZYRRKe1AxxEixVhk8XHMbBxrV01CbZckhjMgVfOCoVgIbtZ 8jo5NmW1b9TfT2FDPfEAVelpm8XTEKspVubgyE6C2uZosQOtgemMNNyTBhcAINX8 dTAed1aDJ/3ja7HEOCvnS5KtKrGnTIopWh5Q9JumrvpRYa72AXUkz2bBmWl/b4+E fZJMWoIaMh79gGcjBLU3rquCuY+zYxO9qXnKC8JaT5YnhGmIhHPFYDie1XU+9IQm EuJSzo8A3jM9TTURjmhIQ7svO6HcliuDU96HmjxKWdN/J7v+erKxy9XDwmn72R0Y oz8yQu+Sf85HAlmx5uoOZ+B8jinDxfZFseuQyrq4V8wUwTbxrFzHEelWvkSCfAn7 rr9ZjzCiCUymxpACp4YvLTultsiYIzbVevOliMbrO6ymsyByT6YmOO1eqSmsCkqq 2zXP0TZhdNgZVaGsYa+debvk7wjfTLlSqIUqKmOujPmwrtKXhGmxe9Cg4FpBbUuQ aG3hO/HSgMhBVpdS++60 =TSHS -----END PGP SIGNATURE-----