Build step
※Basesystem commit ※meta-agl-basesystem layer contribution hasn't merged to master branch yet as of 308/OctDec/2020.
※After being merged, to build the software can be done by this step.
Get AGL recipe
Get AGL recipe
$ cd ~/ |
sync |
Change the branch to build
...
$ mkdir tmpdir
$ mkdir tmpdir/agl-pipewire
$ cp -r meta-agl-devel/templates/feature/agl-pipewire/* tmpdir/agl-pipewire
...
$
cd
meta-agl-devel$ git checkout master
...
Run bitbake
Run bitbake
$ cd .. |
$
source
meta$ source meta-agl/scripts/aglsetup.sh -f -m qemux86-64 -b build agl-demo agl-basesystem |
Launch QEMU
Launch QEMU
...
$
cd
..
/external/poky
$
ln
-s ../..
/build
build
$
source
oe-init-build-
env
$ runqemu qemux86-64
(old)
...
0 Preparing Build
$sudo apt-get install libxml-xpath-perl
...
$git clone -b sandbox/ToshikazuOhiwa/master https://gerrit.automotivelinux.org/gerrit/staging/toyota.git
2.Build
2.1 Case of all build of "agl-basesystem"
$cd toyota
$source meta-agl/scripts/aglsetup.sh -f -m qemux86-64 -b build agl-demo agl-basesystem
$bitbake agl-demo-platform
2.2 Case of each build of unit
ex. case of ns_framewordunified
$cd toyota
$source meta-agl/scripts/aglsetup.sh -f -m qemux86-64 -b build agl-demo ns-frameworkunified
$bitbake agl-demo-platform
2.3 Make SDK
$cd toyota
$source meta-agl/scripts/aglsetup.sh -f -m qemux86-64 -b build agl-demo agl-basesystem
$bitbake agl-demo-platform-crosssdk
...
basesystem |
(Reference memo)
※We need it in the future.
Launch QEMU
Launch QEMU
$ cd ../external/poky |
...
build build |
...
$ runqemu qemux86-64 |
...
Base System External Specifications
...