From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Rix Date: Sun, 02 May 2010 18:27:55 -0500 Subject: [U-Boot] [PATCH v2 01/17] u-boot.img file not created when srctree and objtree are different In-Reply-To: <1272250610-15439-2-git-send-email-vipin.kumar@st.com> References: <1272250610-15439-1-git-send-email-vipin.kumar@st.com> <1272250610-15439-2-git-send-email-vipin.kumar@st.com> Message-ID: <4BDE0A7B.2020904@bumblecow.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Vipin KUMAR wrote: > Adding ($obj) before tools/mkimage for u-boot.img file creation > This is fine. Change follows similar targets in the Makefile Ack-ed Tom > Signed-off-by: Vipin Kumar > --- > Makefile | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/Makefile b/Makefile > index 34f10ce..7bfdfd3 100644 > --- a/Makefile > +++ b/Makefile > @@ -313,7 +313,7 @@ $(obj)u-boot.ldr.srec: $(obj)u-boot.ldr > $(OBJCOPY) ${OBJCFLAGS} -O srec $< $@ -I binary > > $(obj)u-boot.img: $(obj)u-boot.bin > - ./tools/mkimage -A $(ARCH) -T firmware -C none \ > + $(obj)tools/mkimage -A $(ARCH) -T firmware -C none \ > -a $(TEXT_BASE) -e 0 \ > -n $(shell sed -n -e 's/.*U_BOOT_VERSION//p' $(VERSION_FILE) | \ > sed -e 's/"[ ]*$$/ for $(BOARD) board"/') \