commit 7fc57a998aa441f62884a0593456b9d5c0eb00c5
parent 5c0a27a6c113b048b024d0983c418dbff115d39e
Author: sin <sin@2f30.org>
Date: Sun, 2 Mar 2014 20:45:52 +0000
Build kernel with our cross-compiler
Diffstat:
2 files changed, 1 insertion(+), 2 deletions(-)
diff --git a/TODO b/TODO
@@ -11,4 +11,3 @@ Packages
* Create an hwclock service file.
* Create a tinyalsa service file.
* Build musl from source.
- * Build kernel with our cross-compiler.
diff --git a/pkgs/kernel b/pkgs/kernel
@@ -5,7 +5,7 @@ build: crossmusl kernel_headers
cp "$top/stuff/kernel-config-$arch" .config
#make menuconfig
make oldconfig
- make bzImage -j$nprocs
+ make CC=$CC bzImage -j$nprocs
cp arch/x86/boot/bzImage "$root/boot"
cp .config "$root/boot/bzImage.config"
cp System.map "$root/boot"