[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#629504: general: Error during compiling kernel module at generating file vnode_if.h.



2011/6/17 Benjamin Kaduk <kaduk@mit.edu>:
> On Fri, 17 Jun 2011, Robert Millan wrote:
>
>> I'm wondering if it'd make sense to stop providing kfreebsd-source-*
>> packages.  Unlike linux-source-*, figuring out how to properly use
>> this build system is very complicated (e.g. export PATH so that
>> `awk' is /usr/lib/freebsd/awk).
>
> Stock FreeBSD has a 'buildenv' toplevel make target (usually used for
> cross-compiling with a different TARGET, I think).  I wonder if it could be
> leveraged to help with this sort of issue.

We have a set of hacks that make kernel of FreeBSD buildable.  The
problem is that these are only applied in the Debian package.  We
could move this know-how into a Makefile and include that into
/usr/src, but TBH I don't think it's worth it.  People who want to rebuild
kFreeBSD on Debian/GNU world could just apt-get source -b kfreebsd-8
instead.

-- 
Robert Millan


Reply to: