2011年1月14日 星期五

Commands for build linux kernel

make CROSS_COMPILE=arm-none-linux-gnueabi- distclean
make CROSS_COMPILE=arm-none-linux-gnueabi- ARCH=arm ema3530_lks_defconfig
make CROSS_COMPILE=arm-none-linux-gnueabi- ARCH=arm omap3_beagle_defconfig

make CROSS_COMPILE=arm-none-linux-gnueabi- ARCH=arm
make CROSS_COMPILE=arm-none-linux-gnueabi- ARCH=arm uImage
make CROSS_COMPILE=arm-none-linux-gnueabi- ARCH=arm modules
sudo make CROSS_COMPILE=arm-none-linux-gnueabi- ARCH=arm INSTALL_MOD_PATH=../modules_2.6.32 modules_install

cp ./arch/arm/boot/uImage /media/LABEL1
sudo cp -r ../modules_2.6.32/lib/modules/* /media/LABEL2/lib/modules

沒有留言: