Dear Stefano Babic,

In message <1309426950-20987-1-git-send-email-sba...@denx.de> you wrote:
> On i.MX5, the asm-offsets.h file is not yet generated as it should be.
> 
> Signed-off-by: Stefano Babic <sba...@denx.de>
> CC: Matthias Weisser <weiss...@arcor.de>
> ---
>  arch/arm/cpu/armv7/mx5/Makefile             |   13 +++++
>  arch/arm/cpu/armv7/mx5/asm-offsets.c        |   76 
> +++++++++++++++++++++++++++
>  arch/arm/include/asm/arch-mx5/asm-offsets.h |   55 -------------------
>  arch/arm/include/asm/arch-mx5/imx-regs.h    |   18 ++++++
>  4 files changed, 107 insertions(+), 55 deletions(-)
>  create mode 100644 arch/arm/cpu/armv7/mx5/asm-offsets.c
>  delete mode 100644 arch/arm/include/asm/arch-mx5/asm-offsets.h
> 
> diff --git a/arch/arm/cpu/armv7/mx5/Makefile b/arch/arm/cpu/armv7/mx5/Makefile
> index e8be9c9..5d53f6a 100644
> --- a/arch/arm/cpu/armv7/mx5/Makefile
> +++ b/arch/arm/cpu/armv7/mx5/Makefile
> @@ -45,4 +45,17 @@ include $(SRCTREE)/rules.mk
>  
>  sinclude $(obj).depend
>  
> +lowlevel_init.o : $(TOPDIR)/include/asm/arch/asm-offsets.h
> +
>  #########################################################################
> +
> +$(TOPDIR)/include/asm/arch/asm-offsets.h:    
> $(TOPDIR)/include/autoconf.mk.dep \
> +     ./asm-offsets.s
> +     @echo Generating $@
> +     $(TOPDIR)/tools/scripts/make-asm-offsets ./asm-offsets.s $@
> +
> +asm-offsets.s:       $(TOPDIR)/include/autoconf.mk.dep \
> +     ./asm-offsets.c
> +     $(CC) -DDO_DEPS_ONLY \
> +             $(CFLAGS) $(CFLAGS_$(BCURDIR)/$(@F)) $(CFLAGS_$(BCURDIR)) \
> +             -o $@ ./asm-offsets.c -c -S

See previous message.  It is inherently wrong to copy these lines to
several (and potentially many) Makefiles.

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: w...@denx.de
What's the sound a name makes when it's dropped?
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to