Cosmo Communicator >> Debian

Build Kernel 4.4.146


參考資訊:
1. oesf
2. modules

步驟如下:

$ sudo apt install build-essential libncurses-dev bison flex libssl-dev libelf-dev bc git gcc-aarch64-linux-gnu libfdt-dev clang
$ mkdir cosmo
$ cd cosmo
$ mkdir KERNEL_OUT

$ git clone https://github.com/gemian/cosmo-linux-kernel-4.4.git
$ cd cosmo-linux-kernel-4.4/
$ vim Makefile
  KBUILD_CFLAGS   := -w -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs \

$ make O=../KERNEL_OUT ARCH=arm64 k71v1_64_bsp_defconfig
$ make O=../KERNEL_OUT ARCH=arm64 CC=clang CLANG_TRIPLE=aarch64-linux-gnu- CROSS_COMPILE=aarch64-linux-gnu- menuconfig
$ make O=../KERNEL_OUT ARCH=arm64 CC=clang CLANG_TRIPLE=aarch64-linux-gnu- CROSS_COMPILE=aarch64-linux-gnu- all


返回上一頁