[U-Boot] [PATCH V4] Makefile : fix generation of cpu related asm-offsets.h
Wolfgang Denk
wd at denx.de
Wed Sep 7 21:42:03 CEST 2011
Dear Stefano Babic,
In message <1315233148-15287-1-git-send-email-sbabic at 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 <sbabic at denx.de>
> CC: Matthias Weisser <weisserm at arcor.de>
> CC: Wolfgang Denk <wd at denx.de>
> ---
>
> 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
More information about the U-Boot
mailing list