blob: 24f9e5d40edb9d6d53a690e76fc08bd275dc4431 [file] [log] [blame]
LOCAL_DIR := $(GET_LOCAL_DIR)
MODULE := $(LOCAL_DIR)
CPU := generic
MODULE_DEPS += \
lib/cbuf \
ifeq ($(ARCH), x86)
MODULE_SRCS += \
$(LOCAL_DIR)/interrupts.c \
$(LOCAL_DIR)/platform.c \
$(LOCAL_DIR)/timer.c \
$(LOCAL_DIR)/debug.c \
$(LOCAL_DIR)/console.c \
$(LOCAL_DIR)/keyboard.c \
$(LOCAL_DIR)/pci.c \
$(LOCAL_DIR)/ide.c \
$(LOCAL_DIR)/uart.c \
else
MODULE_SRCS += \
$(LOCAL_DIR)/interrupts.c \
$(LOCAL_DIR)/platform.c \
$(LOCAL_DIR)/timer.c \
$(LOCAL_DIR)/debug.c \
$(LOCAL_DIR)/console.c \
$(LOCAL_DIR)/keyboard.c \
$(LOCAL_DIR)/uart.c \
endif
LK_HEAP_IMPLEMENTATION ?= dlmalloc
LINKER_SCRIPT += \
$(BUILDDIR)/kernel.ld
include make/module.mk