dependency of start.S not correct
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
Wolfgang,
Have you checked your board/Your_platform/u-boot.lds?
Regards,
TsiChung
Quoted 22 lines · Wolfgang Wegner
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.Sreferences severalCONFIG_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
Hi TsiChung,
Quoted 3 lines · TC Liew
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.
Quoted 2 lines
Regards,
TsiChung
Regards,
Wolfgang
Quoted 23 lines · Wolfgang Wegner
Quoted 22 lines
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.Sreferences severalCONFIG_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