Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 19 Jul 2015 06:37:52 -0700
From:      Leonardo Fogel <leonardofogel@yahoo.com.br>
To:        DanielO'Connor <darius@dons.net.au>
Cc:        freebsd-arm <freebsd-arm@freebsd.org>
Subject:   Re: How to Xbuild to BBB?
Message-ID:  <1437313072.79524.YahooMailBasic@web120803.mail.ne1.yahoo.com>
In-Reply-To: <2DED4E32-6599-4F5A-BDC8-E52F420D69C0@dons.net.au>

next in thread | previous in thread | raw e-mail | index | archive | help
> Is there a way to update a running BBB system?

Hi.
I've built the kernel only. The instructions I know that work are:

$ env MAKEOBJDIRPREFIX=3D<dir> make buildenv         DESTDIR=3D<dir> KERNCO=
NF=3DBEAGLEBONE TARGET=3Darm TARGET_ARCH=3Darmv6
$ env MAKEOBJDIRPREFIX=3D<dir> make kernel-toolchain DESTDIR=3D<dir> KERNCO=
NF=3DBEAGLEBONE TARGET=3Darm TARGET_ARCH=3Darmv6
$ env MAKEOBJDIRPREFIX=3D<dir> make buildkernel      DESTDIR=3D<dir> KERNCO=
NF=3DBEAGLEBONE TARGET=3Darm TARGET_ARCH=3Darmv6
$ env MAKEOBJDIRPREFIX=3D<dir> make installkernel    DESTDIR=3D<dir> KERNCO=
NF=3DBEAGLEBONE TARGET=3Darm TARGET_ARCH=3Darmv6

According to build(7):
     buildenv          Spawn an interactive shell with environment variable=
s
                       set up for cross-building the system.  The target ar=
chi-
                       tecture needs to be specified with make(1) variables
                       TARGET_ARCH and TARGET.
...
     MAKEOBJDIRPREFIX  Defines the prefix for directory names in the tree o=
f
                       built objects.  Defaults to /usr/obj if not defined.
                       This variable should only be set in the environment =
and
                       not via /etc/make.conf or the command line.

As I understanding it, the correct usage of MAKEOBJDIRPREFIX is:
$ env MAKEOBJDIRPREFIX=3D<dir> make ...

Hope it helps.

Leonardo



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