修正smp的makefile中没有替换AS的问题

This commit is contained in:
login
2022-12-23 10:59:15 +08:00
committed by GitHub
parent beb12a188b
commit 6b7776d189

View File

@ -7,7 +7,7 @@ all: apu_boot.o smp.o
apu_boot.o: apu_boot.S
$(CC) -E apu_boot.S > _apu_boot.s # 预处理
as $(ASFLAGS) -o apu_boot.o _apu_boot.s
$(AS) $(ASFLAGS) -o apu_boot.o _apu_boot.s
smp.o: smp.c
$(CC) $(CFLAGS) -c smp.c -o smp.o
$(CC) $(CFLAGS) -c smp.c -o smp.o