Cannot include header files from sys/contrib directory

Hans Petter Selasky hps at selasky.org
Tue Feb 2 12:19:02 UTC 2016


On 02/02/16 13:07, Marcin Mazurek wrote:
> Thanks for your response.
>
> I saw that and I tried doing it this way:
>
> dev/al_eth/al_eth.c        optional al_eth  compile-with
> "-I$S/contrib/alpine-hal -I$S/contrib/alpine-hal/eth"
>

Hi,

Try something like this:

dev/al_eth/al_eth.c        optional al_eth  compile-with "${CC} -c -o 
${.TARGET} ${CFLAGS} -I$S/contrib/alpine-hal -I$S/contrib/alpine-hal/eth 
${PROF} ${.IMPSRC}"

--HPS


More information about the freebsd-current mailing list