Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 May 2016 23:59:45 -0700
From:      bob prohaska <fbsd@www.zefox.net>
To:        Warner Losh <imp@bsdimp.com>
Cc:        David Cornejo <dave@dogwood.com>, freebsd-arm <freebsd-arm@freebsd.org>
Subject:   Re: upgrading arm6hf
Message-ID:  <20160520065945.GH1049@www.zefox.net>
In-Reply-To: <CANCZdfrRwnHvo1AyQxYrRQjyp9MWuNXYfX3HWub4Dc0Z%2BJ%2BFDg@mail.gmail.com>
References:  <CAFnjQbuH1%2Bmxid6_HdpayejNxayMHahB-JVi8=6oKNGjf9vtow@mail.gmail.com> <CANCZdfrx%2BUJdB0F9CRX=sE=2kfEBDjeLHjvADasvbUd95n56UQ@mail.gmail.com> <CAFnjQbsnEtaxRXHTvFLzWRFndUUFPyV5jW3o%2Bo=gPQxRU5bGCg@mail.gmail.com> <20160519232102.GF1049@www.zefox.net> <20160520021633.GG1049@www.zefox.net> <CANCZdfrRwnHvo1AyQxYrRQjyp9MWuNXYfX3HWub4Dc0Z%2BJ%2BFDg@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Just did a reboot, uname -p reports
root@www:~ # uname -p
armv6hf

Make buildworld reports
root@www:/usr/src # make -j4 buildworld
--- buildworld ---
bmake[1]: "/usr/src/Makefile.inc1" line 266: To cross-build, set TARGET_ARCH.
*** [buildworld] Error code 1

make: stopped in /usr/src
1 error

make: stopped in /usr/src


The kernel was rebuilt and installed using TARGET=arm TARGET_ARCH=armv6.
No errors were observed, reboot was uneventful.

Invoking
root@www:/usr/src # make -j4 buildworld TARGET=arm TARGET_ARCH=armv6
the result is 

--- buildworld ---
bmake[1]: "/usr/src/Makefile.inc1" line 266: To cross-build, set TARGET_ARCH.
*** [buildworld] Error code 1

make: stopped in /usr/src


make -j4 buildworld TARGET=arm TARGET_ARCH=armv6hf 
still produces the same error

Is the TARGET_ARCH variable simply not being recognized?
For clarity this is a self-hosted RPI2, revision 300255
Thanks for reading, and any guidance!

bob prohaska

bob prohaska




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20160520065945.GH1049>