From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?ISO-8859-15?Q?Matthias_Wei=DFer?= Date: Wed, 17 Aug 2011 15:02:57 +0200 Subject: [U-Boot] [PATCH] Makefile : fix generation of cpu related asm-offsets.h In-Reply-To: <1313575934-15552-1-git-send-email-sbabic@denx.de> References: <1313575934-15552-1-git-send-email-sbabic@denx.de> Message-ID: <4E4BBC01.4030102@arcor.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 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 > --- > > 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