Browse Source

switch to using OE-Core/bitbake instead of poky

We document using oe-core and bitbake but the environment was setting
for poky, this fixes that, plus riscv64 is not enabled as default tatget
in poky where as it is in oe-core

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Khem Raj 5 years ago
parent
commit
8fa69a8f27
3 changed files with 5 additions and 5 deletions
  1. 1 2
      README.md
  2. 1 1
      setup.sh
  3. 3 2
      tools/manifests/riscv-yocto.xml

+ 1 - 2
README.md

@@ -70,8 +70,7 @@ runqemu nographic
 The output of the build will be a ```<image>.wic.gz``` file. You can write this file to an sd card using:
 
 ```text
-$ zcat <image>-<machine>.wic.gz | sudo dd of=/dev/sdX bs=4M iflag=fullblock
-oflag=direct conv=fsync status=progress
+$ zcat <image>-<machine>.wic.gz | sudo dd of=/dev/sdX bs=4M iflag=fullblock oflag=direct conv=fsync status=progress
 ```
 
 ## Maintainer(s)

+ 1 - 1
setup.sh

@@ -22,7 +22,7 @@ chmod -R 755 .
 # bootstrap OE
 echo "Init OE"
 export BASH_SOURCE="poky/oe-init-build-env"
-. poky/oe-init-build-env $DIR
+. ./openembedded-core/oe-init-build-env $DIR
 
 # Symlink the cache
 #echo "Setup symlink for sstate"

+ 3 - 2
tools/manifests/riscv-yocto.xml

@@ -6,9 +6,10 @@
   <remote name="yocto" fetch="git://git.yoctoproject.org/" />
   <default remote="openembedded" revision="master" />
 
-  <project name="meta-openembedded" remote="openembedded" path="meta-openembedded" revision="master" />
-  <project name="poky" remote="yocto" path="poky" revision="master" />
   <project name="meta-riscv" remote="riscv" path="meta-riscv" revision="master" />
+  <project name="openembedded-core" remote="openembedded" path="openembedded-core" revision="master" />
+  <project name="bitbake" remote="openembedded" path="openembedded-core/bitbake" revision="master" />
+  <project name="meta-openembedded" remote="openembedded" path="meta-openembedded" revision="master" />
 
 </manifest>