From owner-cvs-all Mon Jan 26 07:36:20 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id HAA04245 for cvs-all-outgoing; Mon, 26 Jan 1998 07:36:20 -0800 (PST) (envelope-from owner-cvs-all@FreeBSD.ORG) Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.2.228.19]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id HAA04239 for ; Mon, 26 Jan 1998 07:36:16 -0800 (PST) (envelope-from bde@godzilla.zeta.org.au) Received: (from bde@localhost) by godzilla.zeta.org.au (8.8.7/8.8.7) id CAA01076; Tue, 27 Jan 1998 02:35:01 +1100 Date: Tue, 27 Jan 1998 02:35:01 +1100 From: Bruce Evans Message-Id: <199801261535.CAA01076@godzilla.zeta.org.au> To: cvs-committers@FreeBSD.ORG, roberto@keltia.freenix.fr Subject: Re: lkm build is broken Cc: bde@zeta.org.au Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk >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 , not . This is >not quite correct, because the Makefiles in lkm/syscons don't set up the >`machine' symlink, but other, more volatile headers in 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 > >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