DragonFly users List (threaded) for 2009-11
Re: Makefile upgrade: target for x86_64
On Sat, 7 Nov 2009, Simon 'corecode' Schubert wrote:
> YONETANI Tomokazu wrote:
> > >
> > > > If you're performing the `approved method of upgrading your
> > > > system', you're still running old kernel, which should return
> > > > amd64.
> > I've just upgraded my amd64 machine as described at the end of build(7)
> > with a little arrangement:
> > env - PATH=/sbin:/bin:/usr/sbin:/usr/bin __MAKE_CONF=/dev/null sh -c '
> > make buildworld
> > make buildkernel KERNCONF=FOO
> > make installkernel KERNCONF=FOO
> > make installworld
> > MACHINE_ARCH=x86_64 make upgrade
> > '
> > (the first line is to get rid of extra env variables or /etc/make.conf)
> > then rebooted, and now make command reports these variables correctly:
> > $ cd
> > $ env - PATH=$PATH make -V MACHINE_ARCH -V MACHINE -V MACHINE_PLATFORM
> > x86_64
> > x86_64
> > pc64
> correct. just reboot and then perform the make upgrade.
Yonetani and Simon, thank you for the details.
The box is now running DragonFly v188.8.131.52.gd6e55-DEVELOPMENT
# make -V MACHINE_ARCH -V MACHINE -V MACHINE_PLATFORM