mirror of
https://github.com/Mathewnd/Astral.git
synced 2026-10-27 12:48:22 +00:00
kernel: add missing sym table generation steps
Adds missing symbol table generation steps that were not commited alongside previous work. Also bumps astral.
This commit is contained in:
+13
-1
@@ -23,6 +23,10 @@ endif
|
||||
ASFLAGS=-felf64
|
||||
DEPS=$(CSOURCES:.c=.d)
|
||||
|
||||
ifeq ($(TARGET),x86-64)
|
||||
KERNEL_BASE=0xffffffff80000000
|
||||
endif
|
||||
|
||||
.PHONY: all
|
||||
all:
|
||||
# build build.h file
|
||||
@@ -33,7 +37,15 @@ all:
|
||||
echo "#endif" >> include/build.h
|
||||
make astral
|
||||
|
||||
astral: $(OBJS)
|
||||
astral.tmp: $(OBJS)
|
||||
@echo [LD] $@
|
||||
@$(LD) $(LDFLAGS) -o $@ $^
|
||||
|
||||
astral.sym.o: astral.tmp
|
||||
@echo [GEN] $@
|
||||
@python3 gen_fn_sym.py $< $(KERNEL_BASE) $(shell pwd)/ $@
|
||||
|
||||
astral: $(OBJS) astral.sym.o
|
||||
@echo [LD] $@
|
||||
@$(LD) $(LDFLAGS) -o $@ $^
|
||||
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
name=astral
|
||||
revision=36
|
||||
revision=37
|
||||
from_source=astral
|
||||
imagedeps="build-essential nasm"
|
||||
hostdeps="xgcc xbinutils limine"
|
||||
|
||||
Reference in New Issue
Block a user