[U-Boot] [PATCH] Makefile : fix generation of cpu related asm-offsets.h

Matthias Weißer weisserm at arcor.de
Wed Aug 17 15:02:57 CEST 2011


Dear Stefano

Am 17.08.2011 12:12, schrieb Stefano Babic:
> 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>
> ---
>
> Note: the patch fixes the issue, however I generate an empty asm-offsets.c
> for boards that do not have one. Is there a better way to reach the goal ?

Wouldn't it be possible to just create an empty asm-offsets.h if there 
is no asm-offsets.c?

And maybe it is handy to add the auto-generated files (asm-offsets.s/h) 
to the list of removed files of the clean or distclean target.

Regards
Matthias


More information about the U-Boot mailing list