From: Stefano Babic <sbabic@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] Makefile : fix generation of cpu related asm-offsets.h
Date: Wed, 17 Aug 2011 15:15:09 +0200 [thread overview]
Message-ID: <4E4BBEDD.8050604@denx.de> (raw)
In-Reply-To: <4E4BBC01.4030102@arcor.de>
On 08/17/2011 03:02 PM, Matthias Wei?er wrote:
> 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@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?
Yes, this is surely possible - but I do not know another clean way to do
this as adding an if..then..fi script inside the rule, as I did now
creating an empty asm-offsets.c.
Really I wanted to fix this issue changing the dependencies, but I have
not found a solution. Now it works (as for generic-asm-offsets.h)
because asm-offsets.h is always generated as first target.
> 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.
Agree, they must be added as well.
Regards,
Stefano
--
=====================================================================
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80 Email: office at denx.de
=====================================================================
next prev parent reply other threads:[~2011-08-17 13:15 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-08-17 10:12 [U-Boot] [PATCH] Makefile : fix generation of cpu related asm-offsets.h Stefano Babic
2011-08-17 13:02 ` Matthias Weißer
2011-08-17 13:15 ` Stefano Babic [this message]
2011-08-30 13:13 ` [U-Boot] [PATCH V2] " Stefano Babic
2011-08-30 17:49 ` [U-Boot] [PATCH V3] " Stefano Babic
2011-09-05 13:44 ` Wolfgang Denk
2011-09-05 13:52 ` Wolfgang Denk
2011-09-05 14:28 ` Stefano Babic
2011-09-05 14:32 ` [U-Boot] [PATCH V4] " Stefano Babic
2011-09-07 19:42 ` Wolfgang Denk
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4E4BBEDD.8050604@denx.de \
--to=sbabic@denx.de \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox