diff src/cs/layer1/tpu_drivers/tpu_drivers.def @ 0:92470e5d0b9e

src: partial import from FC Selenite
author Mychaela Falconia <falcon@freecalypso.org>
date Fri, 15 May 2020 01:28:16 +0000
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/cs/layer1/tpu_drivers/tpu_drivers.def	Fri May 15 01:28:16 2020 +0000
@@ -0,0 +1,20 @@
+########################################
+# LIBRARIES / MODULES definition       #
+########################################
+
+# to avoid multiple drivers.def (import + include) 
+ifndef TPU_DRIVERS_DEF
+   TPU_DRIVERS_DEF = 1
+
+TPU_DRIVERS_LIB_DIR = $(OUT_LIB_DIR)
+TPU_DRIVERS_LIB     = $(TPU_DRIVERS_LIB_DIR)/tpudrv_$(CUST)_$(RF_FAM)_$(CHIPSET)_$(ANLG_FAM)_$(DSP)_$(BOARD)_$(LONG_JUMP)_$(TESTMODE).lib
+
+TI_LIBS += $(TPU_DRIVERS_LIB)
+MODULES += $(TPU_DRIVERS_DIR)
+
+TI_BSS_LIBS   += $(TPU_DRIVERS_LIB) (.bss)
+TI_CONST_LIBS += $(TPU_DRIVERS_LIB) (.const, .text)
+
+export TPU_DRIVERS_LIB
+
+endif
\ No newline at end of file