Port-macppc archive

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

Re: building a kernel "the old way"



Christian Groessler <chris%groessler.org@localhost> wrote:
>with "old way" I mean not using build.sh.

[snip]

I don't use build.sh to build kernels but use a workflow inbetween
it and the old way that you describe.

I cross build the tools for whatever target architecture I want using
build.sh.

Then:

% cd src/sys/arch/macppc/conf
% /path/to/macppc-tools/bin/nbconfig GENERIC
% cd ../compile/GENERIC
% /path/to/macppc-tools/bin/nbmake-macppc depend
% /path/to/macppc-tools/bin/nbmake-macppc

You could probably look in the nbmake-macppc shell script to work out what
extra environment variables you need to set in order to get your way to
work but I think there is still the chance of a mismatch between the host
tools and the -current source tree.

Also, my amd64 development machine is so much faster than anything else
that I always cross-compile kernels anyway.



Home | Main Index | Thread Index | Old Index