original files of m241
This commit is contained in:
@@ -0,0 +1,80 @@
|
||||
#############################################################################
|
||||
# TSN.MK
|
||||
#
|
||||
# 25apr16,pdr backport Vx7 to Vx6.9
|
||||
#
|
||||
#############################################################################
|
||||
|
||||
|
||||
#############################################################################
|
||||
# PRODUCT
|
||||
###########################################################################
|
||||
|
||||
IPPROD ?= TSN
|
||||
|
||||
|
||||
#############################################################################
|
||||
# DEFINE
|
||||
###########################################################################
|
||||
|
||||
IPDEFINE += -DTSN
|
||||
#IPDEFINE += -DIPCRYPTO_USE_TYPE_MAPPING
|
||||
#IPDEFINE += -UHAVE_CONFIG_H
|
||||
|
||||
#IPLIBDEFINE += -DIPCRYPTO_USE_TYPE_MAPPING
|
||||
#IPLIBDEFINE += -std=c99
|
||||
|
||||
#############################################################################
|
||||
# INCLUDE
|
||||
###########################################################################
|
||||
|
||||
IPINCLUDE += -I$(TSN_ROOT)/config
|
||||
IPINCLUDE += -I$(TSN_ROOT)/include
|
||||
|
||||
IPLIBINCLUDE += -I$(TSN_ROOT)/src
|
||||
IPLIBINCLUDE += -I$(VXCOREIP_ROOT)/include
|
||||
|
||||
#############################################################################
|
||||
# OBJECTS
|
||||
###########################################################################
|
||||
|
||||
# config files
|
||||
|
||||
|
||||
# TSN Main objects
|
||||
|
||||
ifeq ($(_WRS_CONFIG_TSN_QAVQBV),y)
|
||||
IPLIBOBJECTS += qav_qbv.o
|
||||
endif
|
||||
|
||||
ifeq ($(_WRS_CONFIG_TSN_CLOCK),y)
|
||||
IPLIBOBJECTS += tsnClkLib.o
|
||||
endif
|
||||
|
||||
|
||||
# Compiles the xxx_config.o if the $SKIP_CONFIG macro is either not defined
|
||||
# or set to anything other than true.
|
||||
ifneq ($(SKIP_CONFIG),true)
|
||||
IPLIBOBJECTS += $(IPLIBOBJECTS_C)
|
||||
endif
|
||||
|
||||
|
||||
#############################################################################
|
||||
# SOURCE
|
||||
###########################################################################
|
||||
|
||||
IPSRCDIRS += $(TSN_ROOT)/src
|
||||
IPSRCDIRS += $(TSN_ROOT)/config
|
||||
IPSRCDIRS += $(TSN_ROOT)/src/clock
|
||||
IPSRCDIRS += $(TSN_ROOT)/src/qavqbv
|
||||
|
||||
#############################################################################
|
||||
# LIB
|
||||
###########################################################################
|
||||
|
||||
IPLIBS += $(IPLIBROOT)/libTSN.a
|
||||
|
||||
|
||||
###########################################################################
|
||||
# END OF TSN.MK
|
||||
###########################################################################
|
||||
Reference in New Issue
Block a user