kernel: add some basic features
+ feat list: + * gdt/idt + * brokie pmm
This commit is contained in:
parent
a1e27c2730
commit
89bb8c8a4b
31 changed files with 854 additions and 23 deletions
|
@ -57,6 +57,13 @@ override CFLAGS += \
|
|||
-ffunction-sections \
|
||||
-fdata-sections
|
||||
|
||||
ifeq ($(CC_IS_CLANG), 1)
|
||||
# Force Clang to use it's own linker instead of the host's one, since it
|
||||
# might be used for cross-compilation.
|
||||
override LDFLAGS += \
|
||||
-fuse-ld=lld
|
||||
endif
|
||||
|
||||
# Internal C preprocessor flags that should not be changed by the user.
|
||||
override CPPFLAGS := \
|
||||
-I src \
|
||||
|
@ -66,12 +73,6 @@ override CPPFLAGS := \
|
|||
-MMD \
|
||||
-MP
|
||||
|
||||
ifeq ($(ARCH),x86_64)
|
||||
# Internal nasm flags that should not be changed by the user.
|
||||
override NASMFLAGS += \
|
||||
-Wall
|
||||
endif
|
||||
|
||||
# Architecture specific internal flags.
|
||||
ifeq ($(ARCH),x86_64)
|
||||
ifeq ($(CC_IS_CLANG),1)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue