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 (Nobody)
URL:
Keywords: patch
Depends on:
Blocks:
 
Reported: 2003-05-27 16:50 UTC by thz
Modified: 2022-10-17 12:37 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
Comment 2 Graham Perrin freebsd_committer freebsd_triage 2022-10-17 12:37:58 UTC
Keyword: 

    patch
or  patch-ready

– in lieu of summary line prefix: 

    [patch]

* bulk change for the keyword
* summary lines may be edited manually (not in bulk). 

Keyword descriptions and search interface: 

    <https://bugs.freebsd.org/bugzilla/describekeywords.cgi>