Date: Tue, 27 Jan 1998 02:35:01 +1100 From: Bruce Evans <bde@zeta.org.au> To: cvs-committers@FreeBSD.ORG, roberto@keltia.freenix.fr Cc: bde@zeta.org.au Subject: Re: lkm build is broken Message-ID: <199801261535.CAA01076@godzilla.zeta.org.au>
next in thread | raw e-mail | index | archive | help
>Bruce, you changed some paths in the syscons lkms and build is broken >since... > >-=-=-=-=-=-=- >revision 1.8 >date: 1998/01/16 17:58:43; author: bde; state: Exp; lines: +2 -2 >Include <machine/pc/display.h>, not <i386/include/pc/display.h>. This is >not quite correct, because the Makefiles in lkm/syscons don't set up the >`machine' symlink, but other, more volatile headers in <machine> are >already used. >-=-=-=-=-=-=- Urk. machine/pc/*.h is not installed by default. The build works here because I use SHARED=symlinks. >Why not using -I{.CURDIR}/../../../sys/i386/include in Makefile and put > >#include <pc/display.h> > >inside the .c ? > >I understand the need to get the "i386" out but one could use > >-I{.CURDIR}/../../../sys/${MACHINE}/include I think bsd.kmod.mk should create links for machine and sys in all cases. The links should point to the above directory (except probably with the new ${MACHINE_ARCH} instead of ${MACHINE}) if it exists. Bruce
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199801261535.CAA01076>