From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ilya Yanok Date: Tue, 18 Oct 2011 00:24:25 +0400 Subject: [U-Boot] [PATCH] tools: make it possible to build tools unconfigured In-Reply-To: <20111017194208.3F4271408742@gemini.denx.de> References: <1308173853-20178-1-git-send-email-yanok@emcraft.com> <20111017194208.3F4271408742@gemini.denx.de> Message-ID: <4E9C8EF9.3030506@emcraft.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 >> --- >> 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.