Date: Sun, 19 Jul 2020 13:12:17 +0400 From: Alexander Mishin <mishin@mh.net.ru> To: freebsd-drivers@freebsd.org Subject: How to install headers right way Message-ID: <c7e773472fbc5fa38395d294292b9705@mh.net.ru>
next in thread | raw e-mail | index | archive | help
Hello, I wrote a small driver for 7-segment display "tm1637" on gpio bus. I as I need a kernel source files anyway I use ".include bsd.kmod.mk" at the bottom of my Makefile. It is convenient and helps to keep the file compact and clear, as well as to install the files in the places defined by the system. The driver contains a couple of ioctl calls which definitions I want to export as a headers file. How can I install headers a right way (prefered using bsd.*.mk)? It seems that I can install only driver this way but I found already that I can install an fdt-overlays and man page (by bsd.prog.mk and bsd.dtb.mk) If a source of the driver is needed, there it is: https://gitlab.com/alexandermishin13/tm1637-kmod
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?c7e773472fbc5fa38395d294292b9705>