Dependencies
sudo apt install gawk wget git diffstat unzip texinfo gcc build-essential chrpath socat cpio python3 python3-pip python3-pexpect xz-utils debianutils iputils-ping python3-git python3-jinja2 libegl1-mesa libsdl1.2-dev pylint3 xterm python3-subunit mesa-common-dev zstd liblz4-tool
Download the yocto
git clone git://git.yoctoproject.org/poky -b kirkstone
cd poky
source oe-init-build-env
nano ./conf/local.conf
Create a source directory in the poky's directory
mkdir ../../sources
Put the exact path of the sources to local.conf
Change the machine name
MACHINE ?= "beaglebone-yocto"
Add following variables too
SOURCES="/home/asd/Documents/beagleboneblack/yocto_tutorial/sources"
DL_DIR ?= "${SOURCES}/downloads"
SSTATE_DIR ?= "${SOURCES}/sstate-cache"
TMPDIR = "${SOURCES}/tmp"
and
bibake core-image-full-cmdline
Under the sources directory that we added
Bir yanıt yazın