summaryrefslogtreecommitdiff
path: root/core/src/tbox/makefile
diff options
context:
space:
mode:
authorruki <[email protected]>2021-06-29 00:22:45 +0800
committerruki <[email protected]>2021-06-29 00:22:45 +0800
commit4ebd2c47cf301f7d21ccdb5f8354bc01929b0dc1 (patch)
treec2d02477b8aee8c3441bc8f36e571830cc0acfa5 /core/src/tbox/makefile
parentdfafd3cf0e433ddf6322474ae6133d59b2b67a14 (diff)
seperate tbox
Diffstat (limited to 'core/src/tbox/makefile')
-rw-r--r--core/src/tbox/makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/core/src/tbox/makefile b/core/src/tbox/makefile
index 1de99cd28..f24303eb1 100644
--- a/core/src/tbox/makefile
+++ b/core/src/tbox/makefile
@@ -302,6 +302,11 @@ tbox_INC_DIRS += \
tbox/src \
inc/$(PLAT)
+# use system tbox library?
+tbox_C_FILES := $(if $(findstring tbox,$(base_LIBNAMES)),,$(tbox_C_FILES))
+tbox_M_FILES := $(if $(findstring tbox,$(base_LIBNAMES)),,$(tbox_M_FILES))
+tbox_INC_FILES := $(if $(findstring tbox,$(base_LIBNAMES)),,$(tbox_INC_FILES))
+
# suffix
include $(PRO_DIR)/suffix.mak