Hamo wrote:
If so, Could I use the idea of Patrick, create variables CC_$(ARCH), AS_$(ARCH), LD_$(ARCH) and etc. in script xcompile and assign them to $(CC), $(AS), $(LD) and so on
I think this is a good approach.
when the user has selected their ARCH?
Remember that we may want ARCH to be set by mainboards rather than users. This might become important because xcompile usually runs also before configuration.
//Peter