NetBSD Problem Report #46821

From www@NetBSD.org  Mon Aug 20 11:51:24 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 B5BBE63CD67
	for <gnats-bugs@gnats.NetBSD.org>; Mon, 20 Aug 2012 11:51:24 +0000 (UTC)
Message-Id: <20120820115123.D9BA763C3D5@www.NetBSD.org>
Date: Mon, 20 Aug 2012 11:51:23 +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:         46821
>Category:       port-amd64
>Synopsis:       Wrong include paths for modules.
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    port-amd64-maintainer
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Aug 20 11:55:00 +0000 2012
>Closed-Date:    Mon Aug 20 13:38:38 +0000 2012
>Last-Modified:  Mon Aug 20 13:38:38 +0000 2012
>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:

State-Changed-From-To: open->closed
State-Changed-By: chs@NetBSD.org
State-Changed-When: Mon, 20 Aug 2012 13:38:38 +0000
State-Changed-Why:
dup of PR 46820


>Unformatted:

NetBSD Home
NetBSD PR Database Search

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