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