> > Do you have any suggestion without boring work to rename all > > #include <machine/foo.h> lines and expand the "machine" path > > in MI files to ${MACHINE}/include? > > I wish that cc/clang supported -isystem:NAME PATH and iquote:NAME PATH > which would look starting at PATH for includes that start with {<,"}NAME > > If we had that, we wouldn't need the damn links at all. :) > > -isystem:arm ${NETBSDSRCTOP}/sys/arch/arm/include
this sounds like a level of magic i'd rather my build system avoided.