1 Star 0 Fork 4

Jason / k210-linux-nommu

forked from 极地战狼 / k210-linux-nommu 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
prepare_k210_bin.sh 573 Bytes
一键复制 编辑 原始数据 按行查看 历史
提交于 2020-02-16 19:10 . prepare_k210_bin.sh: add build kernel script
#!/usr/bin/env sh
export PATH=/opt/riscv64-uclibc/bin:$(pwd)/riscv64-nommu-buildroot/output/host/bin:$PATH
export PROJ_ROOT="$(pwd)"
export ROOTFS="$(pwd)/rootfs_k210"
export KERNEL="$(pwd)/linux-kernel"
# safe check
[ -d "linux-kernel" ] && echo "Directory linux-kernel exists." || echo "Error: Directory linux-kernel does not exists, please cd to project root."
cd $PROJ_ROOT
if [ ! -d "rootfs_k210" ] ; then
sh prepare_k210_cpio.sh
fi
cd $KERNEL
make ARCH=riscv CROSS_COMPILE=riscv64-linux- nommu_k210_defconfig
make ARCH=riscv CROSS_COMPILE=riscv64-linux- -j
1
https://gitee.com/WengJunFeng/k210-linux-nommu.git
git@gitee.com:WengJunFeng/k210-linux-nommu.git
WengJunFeng
k210-linux-nommu
k210-linux-nommu
master

搜索帮助