From 7fc57a998aa441f62884a0593456b9d5c0eb00c5 Mon Sep 17 00:00:00 2001 From: sin Date: Sun, 2 Mar 2014 20:45:52 +0000 Subject: [PATCH] Build kernel with our cross-compiler --- TODO | 1 - pkgs/kernel | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/TODO b/TODO index e076b75..c0b74a8 100644 --- 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 index 707cb70..16f0fa7 100644 --- 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"