Fix kernel makefile formatting
This commit is contained in:
@ -8,15 +8,15 @@ PUTCHAR_ ?= fb
|
|||||||
CFLAGS := -ffreestanding -Wall -Wextra -g -fcommon -nostdinc
|
CFLAGS := -ffreestanding -Wall -Wextra -g -fcommon -nostdinc
|
||||||
|
|
||||||
CFLAGS += -I. \
|
CFLAGS += -I. \
|
||||||
-I$(ROOT)/limine \
|
-I$(ROOT)/limine \
|
||||||
-I./std/include \
|
-I./std/include \
|
||||||
-I./flanterm/src \
|
-I./flanterm/src \
|
||||||
-DPRINTF_INCLUDE_CONFIG_H=1 \
|
-DPRINTF_INCLUDE_CONFIG_H=1 \
|
||||||
-DLFS_NO_ASSERT \
|
-DLFS_NO_ASSERT \
|
||||||
-DLFS_NO_DEBUG \
|
-DLFS_NO_DEBUG \
|
||||||
-DLFS_NO_WARN \
|
-DLFS_NO_WARN \
|
||||||
-DLFS_NO_ERROR \
|
-DLFS_NO_ERROR \
|
||||||
-DUACPI_BAREBONES_MODE
|
-DUACPI_BAREBONES_MODE
|
||||||
|
|
||||||
ifeq ($(ARCH),x86_64)
|
ifeq ($(ARCH),x86_64)
|
||||||
CFLAGS += -Ihal/x86_64/uACPI/include
|
CFLAGS += -Ihal/x86_64/uACPI/include
|
||||||
@ -36,28 +36,28 @@ LDFLAGS += -nostdlib -static -T arch/$(ARCH)/link.ld $(shell $(CC) -print-libgcc
|
|||||||
SRCFILES :=
|
SRCFILES :=
|
||||||
|
|
||||||
SRCFILES += $(call GRABSRC, \
|
SRCFILES += $(call GRABSRC, \
|
||||||
printf \
|
printf \
|
||||||
bitmap \
|
bitmap \
|
||||||
pmm \
|
pmm \
|
||||||
bootinfo \
|
bootinfo \
|
||||||
spinlock \
|
spinlock \
|
||||||
term \
|
term \
|
||||||
vmm \
|
vmm \
|
||||||
dlmalloc \
|
dlmalloc \
|
||||||
vfs \
|
vfs \
|
||||||
storedev \
|
storedev \
|
||||||
util \
|
util \
|
||||||
fs/kvfs \
|
fs/kvfs \
|
||||||
fs/littlefs \
|
fs/littlefs \
|
||||||
fs/portlfs \
|
fs/portlfs \
|
||||||
baseimg \
|
baseimg \
|
||||||
proc \
|
proc \
|
||||||
hal \
|
hal \
|
||||||
hal/$(ARCH) \
|
hal/$(ARCH) \
|
||||||
std \
|
std \
|
||||||
flanterm/src \
|
flanterm/src \
|
||||||
flanterm/src/flanterm_backends \
|
flanterm/src/flanterm_backends \
|
||||||
)
|
)
|
||||||
|
|
||||||
ifeq ($(ARCH),x86_64)
|
ifeq ($(ARCH),x86_64)
|
||||||
SRCFILES += $(call GRABSRC, hal/x86_64/uACPI/source)
|
SRCFILES += $(call GRABSRC, hal/x86_64/uACPI/source)
|
||||||
|
Reference in New Issue
Block a user