Created
December 4, 2016 05:13
-
-
Save cleverca22/ce6013cd57512bdedcb671136cf86913 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[nix-shell:~/rpi/linux]$ make bcm2709_defconfig | |
[nix-shell:~/rpi/linux]$ make gconfig | |
[nix-shell:~/rpi/linux]$ time make CROSS_COMPILE=arm-none-eabi- -j 8 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
with import <nixpkgs> {}; | |
let | |
pkgs2 = import <nixpkgs> { | |
crossSystem = { | |
config = "arm-none-eabi"; | |
libc = null; | |
}; | |
}; | |
in runCommand "kernel" { | |
buildInputs = [ pkgs2.binutilsCross pkgs2.gccCrossStageStatic gcc ncurses pkgconfig gtk2 glib gnome2.libglade bc ]; | |
ARCH = "arm"; | |
} "" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment