NetBSD Problem Report #46820
From www@NetBSD.org Mon Aug 20 11:50:41 2012
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
by www.NetBSD.org (Postfix) with ESMTP id 5C18363CD67
for <gnats-bugs@gnats.NetBSD.org>; Mon, 20 Aug 2012 11:50:41 +0000 (UTC)
Message-Id: <20120820115040.3B18863C3D5@www.NetBSD.org>
Date: Mon, 20 Aug 2012 11:50:40 +0000 (UTC)
From: henning.petersen@t-online.de
Reply-To: henning.petersen@t-online.de
To: gnats-bugs@NetBSD.org
Subject: Wrong include paths for modules.
X-Send-Pr-Version: www-1.0
>Number: 46820
>Category: kern
>Synopsis: Wrong include paths for modules.
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: kern-bug-people
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon Aug 20 11:55:00 +0000 2012
>Closed-Date: Tue May 31 07:44:41 +0000 2016
>Last-Modified: Tue May 31 07:44:41 +0000 2016
>Originator: Henning Petersen
>Release: NetBSD-current
>Organization:
>Environment:
>Description:
Wrong include paths for modules gpioiic, gpioow, gpiosim, onewire and pwdog.
>How-To-Repeat:
>Fix:
diff -u -p -r1.1 Makefile
--- sys/modules/gpioiic/Makefile 2 Oct 2011 11:43:30 -0000 1.1
+++ sys/modules/gpioiic/Makefile 20 Aug 2012 10:09:04 -0000
@@ -8,6 +8,6 @@ KMOD= gpioiic
IOCONF= gpioiic.ioconf
SRCS= gpioiic.c
-CPPFLAGS+= -I${S}/gpio
+CPPFLAGS+= -I${S}/dev/gpio
.include <bsd.kmodule.mk>
===================================================================
diff -u -p -r1.1 Makefile
--- sys/modules/gpioow/Makefile 31 Aug 2011 12:46:37 -0000 1.1
+++ sys/modules/gpioow/Makefile 20 Aug 2012 10:09:04 -0000
@@ -8,6 +8,6 @@ KMOD= gpioow
IOCONF= gpioow.ioconf
SRCS= gpioow.c
-CPPFLAGS+= -I${S}/gpio
+CPPFLAGS+= -I${S}/dev/gpio
.include <bsd.kmodule.mk>
===================================================================
diff -u -p -r1.1 Makefile
--- sys/modules/gpiosim/Makefile 12 Aug 2011 08:00:53 -0000 1.1
+++ sys/modules/gpiosim/Makefile 20 Aug 2012 10:09:04 -0000
@@ -7,6 +7,6 @@
KMOD= gpiosim
SRCS= gpiosim.c
-CPPFLAGS+= -I${S}/gpio
+CPPFLAGS+= -I${S}/dev/gpio
.include <bsd.kmodule.mk>
===================================================================
diff -u -p -r1.1 Makefile
--- sys/modules/onewire/Makefile 31 Aug 2011 12:46:36 -0000 1.1
+++ sys/modules/onewire/Makefile 20 Aug 2012 10:09:04 -0000
@@ -8,6 +8,6 @@ KMOD= onewire
IOCONF= onewire.ioconf
SRCS= onewire.c onewire_subr.c onewire_bitbang.c
-CPPFLAGS+= -I${S}/onewire
+CPPFLAGS+= -I${S}/dev/onewire
.include <bsd.kmodule.mk>
===================================================================
diff -u -p -r1.1 Makefile
--- sys/modules/pwdog/Makefile 11 Aug 2011 07:33:25 -0000 1.1
+++ sys/modules/pwdog/Makefile 20 Aug 2012 10:09:04 -0000
@@ -8,7 +8,7 @@ KMOD= pwdog
IOCONF= pwdog.ioconf
SRCS= pwdog.c
-CPPFLAGS+= -I${S}/pci
+CPPFLAGS+= -I${S}/dev/pci
.include <bsd.kmodule.mk>
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: port-amd64-maintainer->kern-bug-people
Responsible-Changed-By: chs@NetBSD.org
Responsible-Changed-When: Mon, 20 Aug 2012 13:39:26 +0000
Responsible-Changed-Why:
not specific to amd64
State-Changed-From-To: open->closed
State-Changed-By: pgoyette@NetBSD.org
State-Changed-When: Tue, 31 May 2016 07:44:41 +0000
State-Changed-Why:
Requested fixes have already been committed.
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.