From: Wolfgang Denk Date: Wed, 07 Sep 2011 21:42:03 +0200 Subject: [U-Boot] [PATCH V4] Makefile : fix generation of cpu related asm-offsets.h In-Reply-To: <1315233148-15287-1-git-send-email-sbabic@denx.de> References: <1313575934-15552-1-git-send-email-sbabic@denx.de> <1315233148-15287-1-git-send-email-sbabic@denx.de> Message-ID: <20110907194203.CD6D2140875D@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Stefano Babic, In message <1315233148-15287-1-git-send-email-sbabic@denx.de> you wrote: > commit 0edf8b5b2fa0d210ebc4d6da0fd1aceeb7e44e47 breaks > building on a different directory with the O= parameter. > The patch wil fix this issue, generating always asm-offsets.h before > the other targets. > > Signed-off-by: Stefano Babic > CC: Matthias Weisser > CC: Wolfgang Denk > --- > > Note: V2 breaks *all* not ARM boards > Put the generated asm-offsets.h into include/generated, > because this directory is common to all architectures. > > Changes since V3: the empty asm-offsets.s was generated under src, > and not in the directory indicated by $(obj), required for out-of-tree buildeing. > > Makefile | 20 +++++++++++++++++++- > arch/arm/cpu/arm1136/mx35/Makefile | 2 -- > arch/arm/cpu/arm926ejs/mb86r0x/Makefile | 2 -- > arch/arm/cpu/arm926ejs/mx25/Makefile | 2 -- > arch/arm/cpu/arm926ejs/mx27/Makefile | 2 -- > arch/arm/cpu/armv7/mx5/Makefile | 2 -- > arch/arm/cpu/armv7/mx5/lowlevel_init.S | 2 +- > arch/arm/include/asm/arch-mx25/macro.h | 2 +- > board/freescale/mx35pdk/lowlevel_init.S | 2 +- > board/logicpd/imx27lite/lowlevel_init.S | 2 +- > board/syteco/jadecpu/lowlevel_init.S | 2 +- > board/syteco/zmx25/lowlevel_init.S | 2 +- > rules.mk | 10 ---------- > 13 files changed, 25 insertions(+), 27 deletions(-) Applied, thanks. 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 Those who do not understand Unix are condemned to reinvent it, poorly. - Henry Spencer, University of Toronto Unix hack