toggle quoted messageShow quoted text
Assuming you've installed the SDK, you need to set ZEPHYR_GCC_VARIANT.
You can do this in ~/.zephyrrc, which is sourced by zephyr-env.sh:
$ cat .zephyrrc
Hope this helps,
On Tue, Apr 19, 2016 at 03:46:10PM +0000, Eric Zaluzec wrote:
I apologize if this forum is the wrong place to post this question, I was not sure where else to post.
I am attempting to build the zephyr nanokernel with the Galileo board. I am following the steps here:
I am preparing the boot device, and under the zephyr/samples/hello_world/nanokernel directory, I am running 'make BOARD=galileo', but I get back an error saying ZEPHYR_GCC_VARIANT is not set. I am looking for any help or sources with documentation, which address how to correctly set up a GCC VARIANT for the zephyr kernel.
I am very familiar and actively use the Yocto project for many different build environments. The Linux Foundation class (LFD405) was excellent. I tried to create a package recipe for Yocto to build, but the grub source files had too many variables set to the build's host machine.
Are there any Yocto builds yet that support building the zephyr kernel?
Any input or good sources to read how to set the correct GCC VARIANT for zephyr would greatly be appreciated. I could not find any useful information on the Galileo Gen1/Gen2 page on the zephyrproject.org. https://www.zephyrproject.org/doc/board/galileo.html