Rasp Linux 核心編譯
1. Get Kernel source
git clone https://github.com/raspberrypi/linux.git
cd linux
git checkout rpi-3.15.y
2. Prepare the build and get kernel config:
# zcat /proc/config.gz > .config
# make mrproer
3. Update Makefile
198 ARCH = arm
199 CROSS_COMPILE = arm-linux-gnueabihf-
4. Make the source
# make clean
# make
From: http://elinux.org/RPi_Kernel_Compilation
留言
張貼留言