Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- YOCTO_BRANCH=warrior
- # git clone all necessary layers
- git clone --single-branch --branch "${YOCTO_BRANCH}" "git://git.yoctoproject.org/poky" "poky-amd"
- cd poky-amd
- git clone --single-branch --branch "${YOCTO_BRANCH}" "git://git.openembedded.org/meta-openembedded"
- git clone --single-branch --branch "${YOCTO_BRANCH}" "git://git.yoctoproject.org/meta-dpdk"
- git clone --single-branch --branch "${YOCTO_BRANCH}" "git://git.yoctoproject.org/meta-amd"
- # Clone down Pyrex
- git clone https://github.com/garmin/pyrex.git meta-pyrex
- # Create the pyrex environment initialization script symbolic link
- ln -s meta-pyrex/pyrex-init-build-env
- # Create a default pyrex.ini config file
- meta-pyrex/mkconfig > ./pyrex.ini
- # Set PYREXCONFFILE to the location of the newly created config file
- PYREXCONFFILE=${PWD}/pyrex.ini PYREX_CONFIG_BIND=$PWD source pyrex-init-build-env build-v1000-warrior && \
- mkdir -p build-v1000-warrior/conf && \
- cp ./../../bblayers.conf ./../../local.conf ./../../templateconf.cfg build-v1000-warrior/conf/ && \
- bitbake core-image-sato
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement