[OpenAFS-port-netbsd] Building I3d1aa0b22bb8533718f48bd4424743299d5de019

Me Me jaimef@linbsd.org
Sat, 17 Dec 2011 00:15:38 -0800


Very nice.

On May 16, 2011, at 8:09 AM, Jonathan A. Kollasch wrote:

> Hi,
>
> To build I3d1aa0b22bb8533718f48bd4424743299d5de019 on NetBSD-5 or
> NetBSD-current:
>
> - have NetBSD src tree matching your kernel and userland
> - pull openafs master
> - grab I3d1aa0b2
> - apply the attached patches
> - build OpenAFS userland in it's own directory
>    export LD_RUN_PATH=/usr/local/lib
>    ../openafs/configure --with-bsd-kernel-headers=/usr/src/sys -- 
> prefix=/usr/local
>    make
> - copy attached Makefile to a directory to be used for building the
>   kernel module
> - adjust TOP_SRCDIR TOP_OBJDIR and NETBSDSRCDIR as appropriate
> - `make` libafs.kmod
>
> This produces a new-style 'kmod' kernel module. The default netbsd-5  
> userland
> ships with utilities for old-style LKM modules.  You'll need to  
> manually build
> the appropriate module utilities on netbsd-5.
>
> Hope that's enough to get going.
>
> 	Jonathan Kollasch
> <diff.txt><Makefile.txt>