Browse Source

dubhe: setup: Update oe-init script directory
Set the new path to oe-init-build-env.
Remove argument when sourcing oe-init-build-env to avoid error during bitbake layers due to the Poky integration that alters the tree structure.

Signed-off-by: weiheng.cheng <weiheng.cheng@starfivetech.com>

weiheng.cheng 1 year ago
parent
commit
3471ce869e
1 changed files with 2 additions and 2 deletions
  1. 2 2
      setup.sh

+ 2 - 2
setup.sh

@@ -34,8 +34,8 @@ if [[ ":$PATH:" != *":$PWD/meta-starfive:"* ]]; then
   export PATH=$PATH:$PWD/meta-starfive
 fi
 echo "Init OE"
-export BASH_SOURCE="openembedded-core/oe-init-build-env"
-. ./openembedded-core/oe-init-build-env $DIR
+export BASH_SOURCE="poky/oe-init-build-env"
+source poky/oe-init-build-env
 
 # Symlink the cache
 #echo "Setup symlink for sstate"