Open phillipjohnston opened 4 years ago
The search rules can be the same as the standard cross-file search rules that are already defined.
Happy to take a stab at this if it's something y'all think is reasonable to incorporate.
I looked at the architecture for this code path while implementing #6815, I didn't see a clean way to implement such support.
I cross-compile quite a bit for different processors. Cross file layering has been quite helpful, because I can have a common GCC ARM definition, and layer processor-specific flags on as needed.
Something that would simplify the workflow would be the ability to include a cross-file/native-file base, similar to 'subdir'.
E.g., imagine I have a base GCC ARM file:
And then a Cortex-M4 hard FP derivative:
It would be nice to be able to do this instead of needing two command-line arguments: