[U-Boot] [PATCH] tools: make it possible to build tools unconfigured

Ilya Yanok yanok at emcraft.com
Mon Oct 17 22:24:25 CEST 2011


Dear Wolfgang,

On 17.10.2011 23:42, Wolfgang Denk 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

Not exactly. I've reposted my patch splitting it into three as Mike
suggested, and all these patches are already applied.

The commits you mention deal with the related problems that were
introduced later during the development.

Regards, Ilya.


More information about the U-Boot mailing list