Another question: I have to pass the linker script as a parameter to ld, and I'm currently using <linkflags> to do so. However, the script will be generated on a target-specific basis, so I need to be able to place the linker script in the correct bin subdirectory for the current target under the project root. I know I can do the script generation using a generate rule to do this. However, I can't figure out how to retrieve that information to pass the location of the script to the linker. How would I do that?

Thanks,
Paul