Files
lk/top/rules.mk
Travis Geiselbrecht 04b88750b3 [debug] remove lib/debug and move to the top/ module
Most of the functions for this was declared in a top level lk/ include
space, so go ahead and move it there.

A few exceptions:
- Moved spin() over to platform/time.h and platform/time.c since the
function more logically belongs to platform/time.h.  Any users of
spin() will need to update their headers to include platform/time.h
instead.

- Renamed spin_cycles() to arm_cm_spin_cycles() and moved over into
arm/cm.h since it is currently defined in arch/arm-m and only used for
targets that implicitly are for arm-m.
2025-10-01 20:56:06 -07:00

21 lines
270 B
Makefile

LOCAL_DIR := $(GET_LOCAL_DIR)
MODULE := $(LOCAL_DIR)
MODULE_DEPS := \
app \
arch \
dev \
kernel \
platform \
target
MODULE_SRCS := \
$(LOCAL_DIR)/debug.c \
$(LOCAL_DIR)/init.c \
$(LOCAL_DIR)/main.c \
MODULE_OPTIONS := extra_warnings
include make/module.mk