[U-Boot] [PATCH] tools: make it possible to build tools unconfigured
Wolfgang Denk
wd at denx.de
Mon Oct 17 21:42:08 CEST 2011
Dear Ilya,
In message <1308173853-20178-1-git-send-email-yanok at emcraft.com> you wrote:
> Sometimes we want to build common tools without configuring for specific
> target. Currently top Makefile has some support for this but it doesn't
> work. This patch tries to fix this.
> Things changed:
> - config.mk disable 'ld script not found error' in case if we are
> building tools only.
> - Makefile mkimage relies on autogenerated version so we need to
> move $(VERSION_FILE) rule out of ifeq and make tools rule depend on it.
> - tools/Makefile put common/env_embedded.o and envcrc.o to object list
> conditionally. This fixes errors during dependency generation.
>
> Signed-off-by: Ilya Yanok <yanok at emcraft.com>
> ---
> Makefile | 34 +++++++++++++++++-----------------
> config.mk | 2 ++
> tools/Makefile | 19 ++++++++++++++++---
> 3 files changed, 35 insertions(+), 20 deletions(-)
Is it correct to assume that this commit has been obsolteted by
the following commits:
249b53a 2011-10-06 20:19:42 +0200 Build timestamp_autogenerated.h without config
a76406f 2011-10-06 20:20:15 +0200 Safer timestamp_autogenerated.h generation
9f87658 2011-10-06 20:21:16 +0200 ublimage: NAND block size isn't set at build-time
?
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
Every living thing wants to survive.
-- Spock, "The Ultimate Computer", stardate 4731.3
More information about the U-Boot
mailing list