From jaimef@linbsd.org Sat Dec 17 08:15:38 2011 From: jaimef@linbsd.org (Me Me) Date: Sat, 17 Dec 2011 00:15:38 -0800 Subject: [OpenAFS-port-netbsd] Building I3d1aa0b22bb8533718f48bd4424743299d5de019 In-Reply-To: <20110516150902.GA24800@tarantulon.kollasch.net> References: <20110516150902.GA24800@tarantulon.kollasch.net> Message-ID: <40561777-030E-4A1D-A33F-AD1C918C1BFF@linbsd.org> 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 >