1 Star 0 Fork 110

aisv / dim-sum

forked from baoyou.xie / dim-sum 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
Makefile 828 Bytes
一键复制 编辑 原始数据 按行查看 历史
Sourcelink 提交于 2020-07-30 11:25 . dim-sum:clean指定ARCH
CWD = $(shell pwd)
all: kernel run
devel:
sh ./script/devel.sh
deps:
sh ./script/deps.sh
.PHONY: deps
kernel:
cd src; make ARCH=arm64 EXTRA_CFLAGS="-g -D__LINUX_ARM_ARCH__=8 -DCONFIG_QEMU=1" CROSS_COMPILE=`pwd`/../toolchains/gcc-linaro-5.3-2016.02-x86_64_aarch64-elf/bin/aarch64-elf- Image dtbs
run:
cd src; sudo -S qemu-system-aarch64 -machine virt -cpu cortex-a53 -smp 4 -m 1024 -serial stdio -kernel arch/arm64/boot/Image -drive file=./dim-sum.img,if=none,id=blk -device virtio-blk-device,drive=blk -device virtio-net-device,netdev=network0,mac=52:54:00:4a:1e:d4 -netdev tap,id=network0,ifname=tap0 --append "earlyprintk console=ttyAMA0 root=/dev/vda rootfstype=ext3 init=/bin/ash rw ip=10.0.0.10::10.0.0.1:255.255.255.0:::off"
clean:
cd src; make ARCH=arm64 clean
distclean:
cd src; make ARCH=arm64 distclean
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C
1
https://gitee.com/aisv/dim-sum.git
git@gitee.com:aisv/dim-sum.git
aisv
dim-sum
dim-sum
master

搜索帮助

344bd9b3 5694891 D2dac590 5694891