sysmodule: remove manager

This commit is contained in:
souldbminersmwc
2025-12-03 19:15:10 -05:00
parent 21d315d0a4
commit a7d7945a4b
212 changed files with 34620 additions and 50263 deletions

View File

@@ -0,0 +1,30 @@
#---------------------------------------------------------------------------------
# Ultrahand Library Configuration
# Auto-detects libultrahand directory location
#---------------------------------------------------------------------------------
# Assume TOPDIR is the root project directory where you run make
TOPDIR ?= $(CURDIR)
# Get the absolute path of this .mk file directory
ULTRA_ABS := $(patsubst %/,%,$(dir $(lastword $(MAKEFILE_LIST))))
# Convert absolute path to relative path from TOPDIR
ULTRA_DIR := $(subst $(TOPDIR)/,,$(ULTRA_ABS))
# If ULTRA_DIR equals ULTRA_ABS, then ULTRA_ABS is outside TOPDIR,
# fallback to just ULTRA_ABS (rare case)
ifeq ($(ULTRA_DIR),$(ULTRA_ABS))
ULTRA_DIR := $(ULTRA_ABS)
endif
# Now add folder paths relative to TOPDIR (or absolute if fallback)
SOURCES += \
$(ULTRA_DIR)/common \
$(ULTRA_DIR)/libultra/source
INCLUDES += \
$(ULTRA_DIR)/common \
$(ULTRA_DIR)/libultra/include \
$(ULTRA_DIR)/libtesla/include