Finished implementing paging init and long mode switch
This commit is contained in:
5
Makefile
5
Makefile
@@ -15,6 +15,11 @@ SRC_DIRS := core
|
||||
KERNEL_C_FILES := $(foreach dir,$(SRC_DIRS),$(wildcard $(dir)/*.c))
|
||||
KERNEL_OBJ := $(addprefix $(BUILDDIR)/,$(KERNEL_C_FILES:.c=.o))
|
||||
|
||||
BUILD_ID := $(shell tools/generate_build_id.py --arch $(ARCH))
|
||||
|
||||
CFLAGS := -DBUILD_ID=\"$(BUILD_ID)\"
|
||||
ASMFLAGS := -DBUILD_ID=\"$(BUILD_ID)\"
|
||||
|
||||
$(BUILDDIR)/$(KERNEL_EXEC): $(KERNEL_OBJ) $(ARCH_OBJ)
|
||||
@echo " \033[1;36mLINK\033[0m \033[1m$@\033[0m"
|
||||
@mkdir -p $(@D)
|
||||
|
||||
Reference in New Issue
Block a user