Browse Source

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

login 2 năm trước cách đây
mục cha
commit
6b7776d189
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  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