Skip to content

Instantly share code, notes, and snippets.

@dhilst
Created June 28, 2016 13:33
Show Gist options
  • Select an option

  • Save dhilst/28f7cf019b716eba8574b21e6f628aa7 to your computer and use it in GitHub Desktop.

Select an option

Save dhilst/28f7cf019b716eba8574b21e6f628aa7 to your computer and use it in GitHub Desktop.
Kernel crosscompile environments
export ARCH=arm
export CROSS_COMPILE=arm-poky-linux-gnueabi-
# u-boot mkimage is inside Yocto's sysroot
# edit acordingly
export PATH=${PATH}:/opt/poky/1.6.2/sysroots/x86_64-pokysdk-linux/usr/bin/arm-poky-linux-gnueabi:/opt/poky/1.6.2/sysroots/x86_64-pokysdk-linux/usr/bin/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment