1 Star 0 Fork 0

冰雪不语 / IceBoot

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
Makefile 567 Bytes
一键复制 编辑 原始数据 按行查看 历史
root 提交于 2015-08-09 16:16 . IceBoot
OBJS := start.o main.o boot.o dev/dev.o lib/lib.o net/net.o
CFLAGS := -fno-builtin -I$(shell pwd)/include
export CFLAGS
ice-boot.bin : ice-boot.elf
arm-linux-objcopy -O binary $^ $@
ice-boot.elf : $(OBJS)
arm-linux-ld -Tice-boot.lds -o $@ $^
%.o : %.S
arm-linux-gcc -g -c $^ -o $@
%.o : %.c
arm-linux-gcc -g -c $(CFLAGS) $^ -o $@
dev/dev.o:
make -C dev all
net/net.o:
make -C net all
lib/lib.o:
make -C lib all
.PHONY: clean
clean:
rm *.o *.bin *.elf
make -C dev clean
make -C net clean
make -C lib clean
C
1
https://gitee.com/icemute/IceBoot.git
git@gitee.com:icemute/IceBoot.git
icemute
IceBoot
IceBoot
master

搜索帮助