Hi,
I could see that all the file inclusion in all the driver use absolute
path. Can we use relative path and a CFLAG inclusion like this in the
Makefile?
For example,
In if_ixgb.h file,
#include <dev/ixgb/ixgb_hw.h>
#include <dev/ixgb/ixgb_ee.h>
#include <dev/ixgb/ixgb_ids.h>
Instead can we have following lines in the
/usr/src/sys/modules/ixgb/Makfile file as
.PATH: ${.CURDIR}/../../dev/ixgb
IXGB= ${.CURDIR}/../../dev/ixgb
CFLAGS+= -I. -I${IXGB}
In if_ixgb.h file,
#include <ixgb_hw.h>
#include <ixgb_ee.h>
#include <ixgb_ids.h>
Please advice.
Thanks,
~Siva
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "[EMAIL PROTECTED]"