We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0a20f67 commit a3bd834Copy full SHA for a3bd834
.github/scripts/build-zephyr.sh
@@ -13,4 +13,12 @@ cd $LOCAL_CHIPYARD_DIR/software/zephyrproject/zephyr/
13
west init -l .
14
west config manifest.file west-riscv.yml
15
west update
16
+
17
+# set environment variables for Zephyr
18
+export ZEPHYR_BASE=$LOCAL_CHIPYARD_DIR/software/zephyrproject/zephyr
19
+export ZEPHYR_TOOLCHAIN_VARIANT=cross-compile
20
+export CROSS_COMPILE=$RISCV/bin/riscv64-unknown-elf-
21
22
23
+# Build hello world
24
west build -p -b chipyard_riscv64 samples/chipyard/hello_world/
0 commit comments