diff src/cs/layer1/tpu_drivers/tpu_drivers.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/layer1/tpu_drivers/tpu_drivers.def	Fri Oct 16 06:23:26 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