Re: Cannot include header files from sys/contrib directory

2016-02-03 Thread Hans Petter Selasky
On 02/03/16 09:45, Marcin Mazurek wrote: Hi, Actually, I have got the same 'compile-with' and 'no-depend' options for my all files. I run to build kernel with command: env MAKEOBJDIRPREFIX=/root/mma/anpa-build make buildkernel TARGET=arm TARGET_ARCH=armv6 KERNCONF=ALPINE -j6 -DNO_CLEAN I trie

Re: Cannot include header files from sys/contrib directory

2016-02-03 Thread Marcin Mazurek
Hi, Actually, I have got the same 'compile-with' and 'no-depend' options for my all files. I run to build kernel with command: env MAKEOBJDIRPREFIX=/root/mma/anpa-build make buildkernel TARGET=arm TARGET_ARCH=armv6 KERNCONF=ALPINE -j6 -DNO_CLEAN I tried to do this without -DNO_CLEAN option too,

Re: Cannot include header files from sys/contrib directory

2016-02-02 Thread Hans Petter Selasky
On 02/02/16 14:11, Marcin Mazurek wrote: Now my config line looks like: dev/al_eth/al_eth.coptional al_eth \ no-depend\ compile-with "${CC} -c -o ${.TARGET} ${CFLAGS} -I$S/contrib/alpine-hal -I$S/contrib/alpine-hal/eth ${PROF} ${.IMPSRC}" Unfortunately I s

Re: Cannot include header files from sys/contrib directory

2016-02-02 Thread Marcin Mazurek
Now my config line looks like: dev/al_eth/al_eth.coptional al_eth \ no-depend\ compile-with "${CC} -c -o ${.TARGET} ${CFLAGS} -I$S/contrib/alpine-hal -I$S/contrib/alpine-hal/eth ${PROF} ${.IMPSRC}" Unfortunately I still get the same errors as before: In file

Re: Cannot include header files from sys/contrib directory

2016-02-02 Thread Hans Petter Selasky
On 02/02/16 13:29, Marcin Mazurek wrote: I just tested this, but without any result. I got the same errors. Can you show the errors you got? Try temporarily adding "no-depend" keyword to the config line before build-with . You should also update conf/XXX to have a special depend for your fi

Re: Cannot include header files from sys/contrib directory

2016-02-02 Thread Marcin Mazurek
I just tested this, but without any result. I got the same errors. 2016-02-02 13:21 GMT+01:00 Hans Petter Selasky : > 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.coptional al_eth compile-w

Re: Cannot include header files from sys/contrib directory

2016-02-02 Thread Hans Petter Selasky
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.coptional 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.coptional al_et

Re: Cannot include header files from sys/contrib directory

2016-02-02 Thread Marcin Mazurek
Thanks for your response. I saw that and I tried doing it this way: dev/al_eth/al_eth.coptional al_eth compile-with "-I$S/contrib/alpine-hal -I$S/contrib/alpine-hal/eth" Unfortunately it didn't work for me, I got some error messages like: In file included from /root/mma/anpa-fbsd/sys/c

Re: Cannot include header files from sys/contrib directory

2016-02-02 Thread Hans Petter Selasky
On 02/02/16 12:46, Marcin Mazurek wrote: Hello all, I'm trying to include header files in the networking driver under sys/dev/, however the headers are located in sys/contrib directory. Does anyone have a clue or an advice on how to do this properly without making too much trouble in the build s

Cannot include header files from sys/contrib directory

2016-02-02 Thread Marcin Mazurek
Hello all, I'm trying to include header files in the networking driver under sys/dev/, however the headers are located in sys/contrib directory. Does anyone have a clue or an advice on how to do this properly without making too much trouble in the build system? I would prefer to avoid changing con