Date: Thu, 03 Jan 2013 13:40:47 -0600 From: CyberLeo Kitsana <cyberleo@cyberleo.net> To: Martin Laabs <info@martinlaabs.de> Cc: FreeBSD Questions <freebsd-questions@freebsd.org> Subject: Re: Build linux,ko kernel module standalone Message-ID: <50E5DEBF.8040701@cyberleo.net> In-Reply-To: <50E58023.9050000@martinlaabs.de> References: <50E58023.9050000@martinlaabs.de>
next in thread | previous in thread | raw e-mail | index | archive | help
On 01/03/2013 06:57 AM, Martin Laabs wrote: > Hello, > > if I wanna build a kernel module standalone (without the kernel e.g. for > testing) I do it the following way (wlan in this example): > > cd /usr/src/sys/modules/wlan > make all > maybe make install if I wanna install it. > > Now I want do build the linux.ko module with the symbol DEBUG defined and > tried the following: > > cd /usr/src/sys/modules/linux make depend > make -DDEBUG all Be wary of changing compile options for only certain parts of the kernel, as this may lead to problems with mismatching code. -- Fuzzy love, -CyberLeo Furry Peace! - http://www.fur.com/peace/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?50E5DEBF.8040701>