소스 검색

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

login 2 년 전
부모
커밋
6b7776d189
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  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