Bug 52725 - [patch] installincludes for kmods
Summary: [patch] installincludes for kmods
Status: Open
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: unspecified
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-bugs mailing list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-05-27 16:50 UTC by thz
Modified: 2017-12-31 22:35 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description thz 2003-05-27 16:50:16 UTC
	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
	<bsd.incs.mk> is not included in sys/conf/kmod.mk

Fix: cvs server: Diffing sys/conf


-- Thomas Zenker
   c/o Lennartz electronic GmbH
   Bismarckstrasse 136, D-72072 Tuebingen, Germany
   Phone:  +49-(0)7071-93550
   Email:  thz@lennartz-electronic.de--CIglhUq97mar4qVsgbVik1P4LMmcGnXJbEJGXV34Ldzqhvsy
Content-Type: text/plain; name="file.diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="file.diff"

Index: sys/conf/kmod.mk
===================================================================
RCS file: /usr/cvs/FreeBSD/src/sys/conf/kmod.mk,v
retrieving revision 1.82.2.15
diff -u -r1.82.2.15 kmod.mk
--- sys/conf/kmod.mk	10 Feb 2003 13:11:50 -0000	1.82.2.15
+++ sys/conf/kmod.mk	8 Apr 2003 10:07:27 -0000
@@ -187,6 +187,7 @@
 	    ${_INSTALLFLAGS} ${PROG} ${DESTDIR}${KMODDIR}
 .endif !target(realinstall)
 
+.include <bsd.incs.mk>
 .include <bsd.links.mk>
 
 .if !defined(NOMAN)
How-To-Repeat: 	KMOD = abc
	SRCS = abc.c
	INCS = abc.h
	"make installincludes" does nothing.
	"make install" installs kmod abc.ko, but not include file abc.h.
Comment 1 Eitan Adler freebsd_committer freebsd_triage 2017-12-31 08:01:17 UTC
For bugs matching the following criteria:

Status: In Progress Changed: (is less than) 2014-06-01

Reset to default assignee and clear in-progress tags.

Mail being skipped