mirror of
https://github.com/DragonOS-Community/DragonOS.git
synced 2025-06-21 14:23:39 +00:00
wrench: 更新Makefile
This commit is contained in:
13
kernel/smp/Makefile
Normal file
13
kernel/smp/Makefile
Normal file
@ -0,0 +1,13 @@
|
||||
|
||||
CFLAGS += -I .
|
||||
|
||||
|
||||
all: apu_boot.o smp.o
|
||||
|
||||
|
||||
apu_boot.o: apu_boot.S
|
||||
gcc -E apu_boot.S > apu_boot.s # 预处理
|
||||
as $(ASFLAGS) -o apu_boot.o apu_boot.s
|
||||
|
||||
smp.o: smp.c
|
||||
gcc $(CFLAGS) -c smp.c -o smp.o
|
Reference in New Issue
Block a user