Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 2 Feb 2016 17:06:56 +0100
From:      Hans Petter Selasky <hps@selasky.org>
To:        Marcin Mazurek <mma@semihalf.com>
Cc:        freebsd-arm@freebsd.org, freebsd-current@freebsd.org, Bryan Drewery <bdrewery@freebsd.org>
Subject:   Re: Cannot include header files from sys/contrib directory
Message-ID:  <56B0D420.10609@selasky.org>
In-Reply-To: <CAF-BqKqiqC54PWFfO5djRuCLRu4rhxsDT0pWfieZpBFakqjLww@mail.gmail.com>
References:  <CAF-BqKpa56OB9rfvAkukMOE39j22xPb3Oj4U9UMkjhWrO0n5ag@mail.gmail.com> <56B09AAE.9000909@selasky.org> <CAF-BqKpvNKwZ9VamATP2L0j9PKoNR-ErTCkNks=QCKRpbJWBrQ@mail.gmail.com> <56B09F3A.1080409@selasky.org> <CAF-BqKpgjnLXKH1nLtYk5cG7HK7W45YWr1e192eh31FaUw5imA@mail.gmail.com> <56B0A2F3.6080100@selasky.org> <CAF-BqKqiqC54PWFfO5djRuCLRu4rhxsDT0pWfieZpBFakqjLww@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 02/02/16 14:11, Marcin Mazurek wrote:
> Now my config line looks like:
>
> dev/al_eth/al_eth.c        optional 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:
>

Hi,

> mkdep: compile failed

^^^ The depend will fail, this is expected. Maybe you need to clean the 
build directory after applying the config above. Note, the compile-with 
and no-depend must be the same for all files you compile.

Can you show the command you are running to build?

Can you show the full path for the .c and .h files in question?

--HPS




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?56B0D420.10609>