diff src/cs/os/nucleus/nucleus.def @ 0:4e78acac3d88

src/{condat,cs,gpf,nucleus}: import from Selenite
author Mychaela Falconia <falcon@freecalypso.org>
date Fri, 16 Oct 2020 06:23:26 +0000
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/cs/os/nucleus/nucleus.def	Fri Oct 16 06:23:26 2020 +0000
@@ -0,0 +1,22 @@
+########################################
+# LIBRARIES / MODULES definition       #
+########################################
+
+# to avoid multiple nucleus.def (import + include) 
+ifndef NUCLEUS_DEF
+   NUCLEUS_DEF = 1
+
+### Nucleus libraries
+###########################
+
+  ifeq ($(OP_L1_STANDALONE),1)
+    OUT_OS_LIB_DIR = $(OUT_LIB_DIR)
+  endif
+
+  export OS_FLASH_LIB     = $(OUT_OS_LIB_DIR)/nucleus_flash.lib
+  export OS_INT_RAM_LIB   = $(OUT_OS_LIB_DIR)/nucleus_int_ram.lib
+  export OS_LIB          := $(OS_FLASH_LIB) $(OS_INT_RAM_LIB)
+
+  MODULES     += $(OS_NUC_DIR)
+
+endif