Ver código fonte

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

login 2 anos atrás
pai
commit
6b7776d189
1 arquivos alterados com 2 adições e 2 exclusões
  1. 2 2
      kernel/src/smp/Makefile

+ 2 - 2
kernel/src/smp/Makefile

@@ -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