Advertisement
intera_91

Untitled

Mar 1st, 2021 (edited)
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.06 KB | None | 0 0
  1. #!/bin/bash
  2.  
  3. YOCTO_BRANCH=warrior
  4.  
  5. # git clone all necessary layers
  6.  
  7. git clone --single-branch --branch "${YOCTO_BRANCH}" "git://git.yoctoproject.org/poky" "poky-amd"
  8. cd poky-amd
  9. git clone --single-branch --branch "${YOCTO_BRANCH}" "git://git.openembedded.org/meta-openembedded"
  10. git clone --single-branch --branch "${YOCTO_BRANCH}" "git://git.yoctoproject.org/meta-dpdk"
  11. git clone --single-branch --branch "${YOCTO_BRANCH}" "git://git.yoctoproject.org/meta-amd"
  12.  
  13. # Clone down Pyrex
  14. git clone https://github.com/garmin/pyrex.git meta-pyrex
  15.  
  16. # Create the pyrex environment initialization script symbolic link
  17. ln -s meta-pyrex/pyrex-init-build-env
  18.  
  19. # Create a default pyrex.ini config file
  20. meta-pyrex/mkconfig > ./pyrex.ini
  21.  
  22. # Set PYREXCONFFILE to the location of the newly created config file
  23. PYREXCONFFILE=${PWD}/pyrex.ini PYREX_CONFIG_BIND=$PWD source pyrex-init-build-env build-v1000-warrior && \
  24. mkdir -p build-v1000-warrior/conf && \
  25. cp ./../../bblayers.conf ./../../local.conf ./../../templateconf.cfg build-v1000-warrior/conf/ && \
  26. bitbake core-image-sato
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement