1LOCAL_DIR := $(GET_LOCAL_DIR)
2
3MODULE := $(LOCAL_DIR)
4
5ARCH := m68k
6LK_HEAP_IMPLEMENTATION ?= dlmalloc
7
8MODULE_DEPS += lib/cbuf
9MODULE_DEPS += dev/virtio/block
10MODULE_DEPS += dev/virtio/gpu
11MODULE_DEPS += dev/virtio/net
12
13MODULE_SRCS += $(LOCAL_DIR)/goldfish_rtc.c
14MODULE_SRCS += $(LOCAL_DIR)/goldfish_tty.c
15MODULE_SRCS += $(LOCAL_DIR)/pic.c
16MODULE_SRCS += $(LOCAL_DIR)/platform.c
17
18MEMBASE ?= 0x00000000
19MEMSIZE ?= 0x08000000 # default to 128MB
20
21# we can revert to a poll based uart spin routine
22GLOBAL_DEFINES += PLATFORM_SUPPORTS_PANIC_SHELL=1
23
24# our timer supports one shot mode
25GLOBAL_DEFINES += PLATFORM_HAS_DYNAMIC_TIMER=1
26
27include make/module.mk
28