Change to config(8) for OFED
M. Warner Losh
imp at bsdimp.com
Sat Jun 12 16:14:59 UTC 2010
In message: <alpine.BSF.2.00.1006111611380.1435 at desktop>
Jeff Roberson <jroberson at jroberson.net> writes:
: I have a patch to permit compilation of files brought in from linux
: that use the same name in multiple directories. I added a new
: directive called 'obj-prefix' which expects a quoted string that will
: be prepended to the object file name. The problem is that this breaks
: ${.IMPSRC}
So foo_bar.o depends on bar.c? And ${.IMPSRC} expands to foo_bar.c?
: I could also emit the source file name for those rules which are
: created with prefixes and then require each file that uses a prefix to
: also use compile-with. This wouldn't be so bad since they likely are
: already using compile-with anyway.
You'll have to emit compile rules, I think.
: Any other suggestions? Can I override IMPSRC?
No. ${.IMPSRC} isn't wrong, it just isn't what you want it to be, so
you have to override the rules.
Warner
More information about the freebsd-arch
mailing list