* [U-Boot] [mcf532x] dependency of start.S not correct @ 2009-06-04 15:06 Wolfgang Wegner 2009-06-08 14:28 ` TC Liew 0 siblings, 1 reply; 3+ messages in thread From: Wolfgang Wegner @ 2009-06-04 15:06 UTC (permalink / raw) To: u-boot Hi, sorry I can not provide a solution, but when trying to migrate my board to newer U-Boot I realised that the dependency calculation is not correct for cpu/mcf532x/start.S start.S references several CONFIG_SYS_ macros and thus should be re-compiled when the board configuration header file changes (like all the .c files in this directory are), but is not. I have to admit I do not really understand how dependencies are calculated in U-Boot build system, so forgive me that this is merely a bug report than a patch. Regards, Wolfgag ^ permalink raw reply [flat|nested] 3+ messages in thread
* [U-Boot] [mcf532x] dependency of start.S not correct 2009-06-04 15:06 [U-Boot] [mcf532x] dependency of start.S not correct Wolfgang Wegner @ 2009-06-08 14:28 ` TC Liew 2009-06-08 15:17 ` Wolfgang Wegner 0 siblings, 1 reply; 3+ messages in thread From: TC Liew @ 2009-06-08 14:28 UTC (permalink / raw) To: u-boot Wolfgang, Have you checked your board/Your_platform/u-boot.lds? Regards, TsiChung On Thu, Jun 4, 2009 at 10:06 AM, Wolfgang Wegner<wolfgang@leila.ping.de> wrote: > Hi, > > sorry I can not provide a solution, but when trying to migrate my > board to newer U-Boot I realised that the dependency calculation > is not correct for cpu/mcf532x/start.S > > start.S references several CONFIG_SYS_ macros and thus should be > re-compiled when the board configuration header file changes (like > all the .c files in this directory are), but is not. > > I have to admit I do not really understand how dependencies are > calculated in U-Boot build system, so forgive me that this is > merely a bug report than a patch. > > Regards, > Wolfgag > > _______________________________________________ > U-Boot mailing list > U-Boot at lists.denx.de > http://lists.denx.de/mailman/listinfo/u-boot > ^ permalink raw reply [flat|nested] 3+ messages in thread
* [U-Boot] [mcf532x] dependency of start.S not correct 2009-06-08 14:28 ` TC Liew @ 2009-06-08 15:17 ` Wolfgang Wegner 0 siblings, 0 replies; 3+ messages in thread From: Wolfgang Wegner @ 2009-06-08 15:17 UTC (permalink / raw) To: u-boot Hi TsiChung, On Mon, Jun 08, 2009 at 09:28:35AM -0500, TC Liew wrote: > Wolfgang, > > Have you checked your board/Your_platform/u-boot.lds? basically my u-boot.lds is a copy from m5329evb, minus some things that I do not need (e.g. env_embedded.o) and some things I do not really remember why I did them (seperated *(.rodata) and *(.rodata1)). However, I do not see what the linker script has to do with the dependencies? All the .c files in the cpu/mcf532x directory get (correctly) rebuilt when the board configuration header file is changed, only the start.S has to be touched manually to get rebuilt. Anyways, thank you for the hint for checking. > Regards, > TsiChung Regards, Wolfgang > On Thu, Jun 4, 2009 at 10:06 AM, Wolfgang Wegner<wolfgang@leila.ping.de> wrote: > > Hi, > > > > sorry I can not provide a solution, but when trying to migrate my > > board to newer U-Boot I realised that the dependency calculation > > is not correct for cpu/mcf532x/start.S > > > > start.S references several CONFIG_SYS_ macros and thus should be > > re-compiled when the board configuration header file changes (like > > all the .c files in this directory are), but is not. > > > > I have to admit I do not really understand how dependencies are > > calculated in U-Boot build system, so forgive me that this is > > merely a bug report than a patch. > > > > Regards, > > Wolfgag > > > > _______________________________________________ > > U-Boot mailing list > > U-Boot at lists.denx.de > > http://lists.denx.de/mailman/listinfo/u-boot > > ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2009-06-08 15:17 UTC | newest] Thread overview: 3+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2009-06-04 15:06 [U-Boot] [mcf532x] dependency of start.S not correct Wolfgang Wegner 2009-06-08 14:28 ` TC Liew 2009-06-08 15:17 ` Wolfgang Wegner
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox