Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 25 Jan 1998 20:08:41 +0100
From:      Ollivier Robert <roberto@keltia.freenix.fr>
To:        cvs-committers@FreeBSD.ORG
Cc:        Bruce Evans <bde@zeta.org.au>
Subject:   lkm build is broken
Message-ID:  <19980125200841.01048@keltia.freenix.fr>

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.
-=-=-=-=-=-=-

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

-- 
Ollivier ROBERT -=- FreeBSD: The Power to Serve! -=- roberto@keltia.freenix.fr
FreeBSD keltia.freenix.fr 3.0-CURRENT #4: Sun Jan 18 15:50:16 CET 1998



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