
Dear "Ricardo Ribalda Delgado",
In message aa76a2be0808291544l54b95bd1k4c3c450dcbe50510@mail.gmail.com you wrote:
All the boards I am using use the same link script, shall I copy
it to its specific directory? Do you really want this? It is not better to do it like the MODE B (cp common_script to board dir)?
If they use the same linker script you can handle this for example like it's being handled for many other systems which use a common linker script in the CPU directory:
-> find cpu -name '*.lds' cpu/arm926ejs/at91/u-boot.lds cpu/mpc5xx/u-boot.lds cpu/mpc5xxx/u-boot-customlayout.lds cpu/mpc5xxx/u-boot.lds cpu/mpc8220/u-boot.lds cpu/mpc824x/u-boot.lds cpu/mpc8260/u-boot.lds cpu/mpc83xx/u-boot.lds
I want to create two different targets: ml507 and ml507_flash.
Could you write an example of how to do this without writing the TEXT_BASE in the Makefile? I did it in this way because I didn't found any other method in the main Makefile
What exactly is the difference between these two targets?
Best regards,
Wolfgang Denk