Skip to content

Instantly share code, notes, and snippets.

@lheckemann
Created January 13, 2017 16:06
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lheckemann/8c0968598b777d894765a3dadcd77383 to your computer and use it in GitHub Desktop.
Save lheckemann/8c0968598b777d894765a3dadcd77383 to your computer and use it in GitHub Desktop.
let
# TODO: fix EABI/OABI discrepancy
kernelConfig = "imx_v6_v7_defconfig";
pkgs = import ./. {
crossSystem = {
config = "arm-linux-gnueabihf";
bigEndian = false;
arch = "arm";
float = "hard";
withTLS = true;
libc = "uclibc";
platform = {
name = "kobo";
kernelMajor = "2.6";
kernelBaseConfig = kernelConfig;
kernelHeadersBaseConfig = kernelConfig;
uboot = null;
kernelArch = "arm";
kernelAutoModules = false;
kernelTarget = "vmlinux.bin";
};
openssl.system = "linux-generic32";
gcc.arch = "armv7-a";
};
};
in
pkgs.gcc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment