Jelajahi Sumber

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

login 2 tahun lalu
induk
melakukan
6b7776d189
1 mengubah file dengan 2 tambahan dan 2 penghapusan
  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