kern/52725: [PATCH] installincludes for kmods

Thomas Zenker thz at
Tue May 27 08:50:18 PDT 2003

>Number:         52725
>Category:       kern
>Synopsis:       [PATCH] installincludes for kmods
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue May 27 08:50:16 PDT 2003
>Originator:     Thomas Zenker
>Release:        FreeBSD 4.8-RC i386
Lennartz electronic
System: FreeBSD mezcal.tue.le 4.8-RC FreeBSD 4.8-RC #31: Tue Mar 11 11:26:15 CET 2003 thz at mezcal.tue.le:/usr/obj/usr/src/sys/MEZCAL i386

	stable, current

	For kernel modules the ability in the make system to install
	include files via the INCS variable (and brothers) and
	installincludes target is not implemented, as it is for
	prog and lib subdirectories.  The problem is actually, that
	<> is not included in sys/conf/

	KMOD = abc
	SRCS = abc.c
	INCS = abc.h
	"make installincludes" does nothing.
	"make install" installs kmod abc.ko, but not include file abc.h.


cvs server: Diffing sys/conf
Index: sys/conf/
RCS file: /usr/cvs/FreeBSD/src/sys/conf/,v
retrieving revision
diff -u -r1.82.2.15
--- sys/conf/	10 Feb 2003 13:11:50 -0000
+++ sys/conf/	8 Apr 2003 10:07:27 -0000
@@ -187,6 +187,7 @@
 .endif !target(realinstall)
+.include <>
 .include <>
 .if !defined(NOMAN)

-- Thomas Zenker
   c/o Lennartz electronic GmbH
   Bismarckstrasse 136, D-72072 Tuebingen, Germany
   Phone:  +49-(0)7071-93550
   Email:  thz at

More information about the freebsd-bugs mailing list