Ok it looks like the setup script is doing its job, i just follow the steps that you should be following and this is what your angstrom dir should be looking after a $repo sync
Then after sourcing the setup script i can run bitbake as you can see in the following image
Also, I notice that if i add a build_test where i want to keep my build configuration isolated it can’t find the “layers” dir… i think they only give the option to have just one builddir i.e. angstrom-build.
I think what you did wrong was to badly export your PATH
you probably need to change to
when you first setup angstrom-build dir.
I don’t know why you have meta-* outside angstrom-build not sure if you are also using linux-socfpga-gsrd-13.1-src.bsx to setup your build-environment… you should be following just one set of instructions and not mixing them if you are not really sure what you are doing.
Probably the only thing that you need is as you said move bitbake dir to your angstrom-build/, but i don’t know if this bitbake dir that you have in there was the one downloaded by repo sync operation or linux-socfpga-gsrd-13.1-src.bsx install method. You should be using the one that corresponds with the version of your meta-*