Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 2 Feb 2016 14:11:03 +0100
From:      Marcin Mazurek <mma@semihalf.com>
To:        Hans Petter Selasky <hps@selasky.org>
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:  <CAF-BqKqiqC54PWFfO5djRuCLRu4rhxsDT0pWfieZpBFakqjLww@mail.gmail.com>
In-Reply-To: <56B0A2F3.6080100@selasky.org>
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>

next in thread | previous in thread | raw e-mail | index | archive | help
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:

In file included from
/root/mma/anpa-fbsd/sys/contrib/alpine-hal/al_hal_iofic.c:45:
/root/mma/anpa-fbsd/sys/contrib/alpine-hal/al_hal_iofic.h:52:10: error:
'al_hal_common.h' file not found with <angled> include; use "quotes" instead
#include <al_hal_common.h>
         ^
         "al_hal_common.h"
1 error generated.
/root/mma/anpa-fbsd/sys/contrib/alpine-hal/al_hal_udma_config.c:44:10:
error: 'al_hal_common.h' file not found with <angled> include; use "quotes"
instead
#include <al_hal_common.h>
         ^
         "al_hal_common.h"
/root/mma/anpa-fbsd/sys/contrib/alpine-hal/al_hal_udma_config.c:45:10:
error: 'al_hal_udma_regs.h' file not found with <angled> include; use
"quotes" instead
#include <al_hal_udma_regs.h>
         ^
         "al_hal_udma_regs.h"
/root/mma/anpa-fbsd/sys/contrib/alpine-hal/al_hal_udma_config.c:46:10:
error: 'al_hal_udma_config.h' file not found with <angled> include; use
"quotes" instead
#include <al_hal_udma_config.h>
         ^
         "al_hal_udma_config.h"
In file included from
/root/mma/anpa-fbsd/sys/contrib/alpine-hal/al_hal_udma_iofic.c:45:
In file included from
/root/mma/anpa-fbsd/sys/contrib/alpine-hal/al_hal_udma_iofic.h:53:
/root/mma/anpa-fbsd/sys/contrib/alpine-hal/al_hal_iofic.h:52:10: error:
'al_hal_common.h' file not found with <angled> include; use "quotes" instead
#include <al_hal_common.h>
         ^
         "al_hal_common.h"
In file included from
/root/mma/anpa-fbsd/sys/contrib/alpine-hal/al_hal_udma_iofic.c:45:
/root/mma/anpa-fbsd/sys/contrib/alpine-hal/al_hal_udma_iofic.h:54:10:
error: 'al_hal_udma_regs.h' file not found with <angled> include; use
"quotes" instead
#include <al_hal_udma_regs.h>
         ^
         "al_hal_udma_regs.h"

mkdep: compile failed
*** [.depend] Error code 1

make[2]: stopped in
/root/mma/anpa-build/arm.armv6/root/mma/anpa-fbsd/sys/ALPINE
1 error

make[2]: stopped in
/root/mma/anpa-build/arm.armv6/root/mma/anpa-fbsd/sys/ALPINE
*** [buildkernel] Error code 2

make[1]: stopped in /root/mma/anpa-fbsd
1 error

make[1]: stopped in /root/mma/anpa-fbsd
*** [buildkernel] Error code 2

make: stopped in /root/mma/anpa-fbsd
1 error

make: stopped in /root/mma/anpa-fbsd


Could you tell me how can I update conf file to set a correct dependencies?

2016-02-02 13:37 GMT+01:00 Hans Petter Selasky <hps@selasky.org>:

> 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 files,
> because there is no depend-with option.
>
> --HPS
>
>



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