Skip to content

Instantly share code, notes, and snippets.

@czoido
Last active November 7, 2019 07:48
Show Gist options
  • Save czoido/c46b264d7e44ae57974a6b029491229c to your computer and use it in GitHub Desktop.
Save czoido/c46b264d7e44ae57974a6b029491229c to your computer and use it in GitHub Desktop.
mkdir my_yocto
cd my_yocto/
git clone -b thud git://git.yoctoproject.org/poky.git
cd poky
git clone -b thud git://git.openembedded.org/meta-openembedded
git clone -b thud git://git.yoctoproject.org/meta-raspberrypi
#git clone https://github.com/conan-io/meta-conan.git
. ./oe-init-build-env
# edit MACHINE ??= "qemux86" > MACHINE ??= "raspberrypi3"
sed -i 's/MACHINE ??= "qemux86"/MACHINE ??= "raspberrypi3"/g' ./conf/local.conf
#bitbake-layers create-layer ../meta-wiringpi
bitbake-layers add-layer ../meta-openembedded/meta-oe/
bitbake-layers add-layer ../meta-openembedded/meta-python
bitbake-layers add-layer ../meta-raspberrypi/
#bitbake-layers add-layer ../meta-conan/
#bitbake-layers add-layer ../meta-wiringpi/
#nano conf/local.conf # add IMAGE_INSTALL_append = " example"
bitbake core-image-minimal # or core-image-base
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment