Tool/software: TI-RTOS
Hello All,
I have added new files in a new directory created in ..\ti_components\drivers\pdk_01_08_01_06\packages\ti\drv
The new files are use to support the EEPROM read write function from vsdk use case. The files are working as expected. (when these files are placed in boards folder and added in the make file )
Now I want have a new directory with these files in the path .\ti_components\drivers\pdk_01_08_01_06\packages\ti\drv , so that when vision sdk is built (gmake -s -j depend), the newly added files are also build.
I have taken reference of boards folder inside vps folder and made changes in build system, but still it does not build the files and shows the message as "Nothing to be done for <new component>.
I have attached the <component.mk> file here in. Please let me know if any document i can refer to integrate the new directory in the build system.
I am using Processor_SDK_3.02
regards
Hrishikesh
# File: vps_component.mk # This file is component include make file of VPS library. # List of variables set in this file and their purpose: # <mod>_RELPATH - This is the relative path of the module, typically from # top-level directory of the package # <mod>_PATH - This is the absolute path of the module. It derives from # absolute path of the top-level directory (set in env.mk) # and relative path set above # <mod>_INCLUDE - This is the path that has interface header files of the # module. This can be multiple directories (space separated) # <mod>_PKG_LIST - Names of the modules (and sub-modules) that are a part # part of this module, including itself. # <mod>_BOARD_DEPENDENCY - "yes": means the code for this module depends on # platform and the compiled obj/lib has to be kept # under <platform> directory # "no" or "" or if this variable is not defined: means # this module has no platform dependent code and hence # the obj/libs are not kept under <platform> dir. # <mod>_CORE_DEPENDENCY - "yes": means the code for this module depends on # core and the compiled obj/lib has to be kept # under <core> directory # "no" or "" or if this variable is not defined: means # this module has no core dependent code and hence # the obj/libs are not kept under <core> dir. # <mod>_APP_STAGE_FILES - List of source files that belongs to the module # <mod>, but that needs to be compiled at application # build stage (in the context of the app). This is # primarily for link time configurations or if the # source file is dependent on options/defines that are # application dependent. This can be left blank or # not defined at all, in which case, it means there # no source files in the module <mod> that are required # to be compiled in the application build stage. # ifeq ($(ffcsensor_component_make_include), ) ffcsensor_default_SOCLIST = tda2px ffcsensor_default_tda2xx_CORELIST = a15_0 ipu1_0 c66x arp32_1 ffcsensor_default_tda2px_CORELIST = ipu1_0 ffcsensor_default_tda2ex_CORELIST = a15_0 c66x ipu1_0 ffcsensor_default_tda3xx_CORELIST = ipu1_0 c66x arp32_1 ffcsensor_app_default_tda2xx_CORELIST = a15_0 ipu1_0 ffcsensor_app_default_tda2px_CORELIST = ipu1_0 ffcsensor_app_default_tda2ex_CORELIST = a15_0 ipu1_0 ffcsensor_app_default_tda3xx_CORELIST = ipu1_0 ############################ # firewall_l3l4 package # List of components included under firewall_l3l4 # The components included here are built and will be part of firewall_l3l4 lib ############################ ffcsensor_LIB_LIST = ffc_boards ffcsensor_EXAMPLE_LIST = # # # ffcsensor Firewall LIB ffcsensor_COMP_LIST = ffc_boards ffcsensor_RELPATH = ti/drv/ffc_sensor ffcsensor_PATH = $(PDK_FFCSENSOR_COMP_PATH) ffcsensor_LIBNAME = ffc_boards ffcsensor_LIBPATH = $(PDK_FFCSENSOR_COMP_PATH)/lib ffcsensor_MAKEFILE = -fsrc/makefile export ffcsensor_MAKEFILE export ffcsensor_LIBNAME export ffcsensor_LIBPATH ffcsensor_BOARD_DEPENDENCY = no ffcsensor_CORE_DEPENDENCY = no export ffcsensor_COMP_LIST export ffcsensor_BOARD_DEPENDENCY export ffcsensor_CORE_DEPENDENCY ffcsensor_PKG_LIST = ffc_boards ffcsensor_INCLUDE = $(ffcsensor_PATH) ffcsensor_SOCLIST = $(ffcsensor_default_SOCLIST) export ffcsensor_SOCLIST ffcsensor_$(SOC)_CORELIST = $(ffcsensor_default_$(SOC)_CORELIST) export ffcsensor_$(SOC)_CORELIST # # Firewall Examples # # L4 Firewall Example #drv_firewall_l4_test_app_COMP_LIST = drv_firewall_l4_test_app #drv_firewall_l4_test_app_RELPATH = ti/drv/fw_l3l4/examples/l4_firewall #drv_firewall_l4_test_app_PATH = $(PDK_FIREWALL_L3L4_COMP_PATH)/examples/l4_firewall #drv_firewall_l4_test_app_BOARD_DEPENDENCY = no #drv_firewall_l4_test_app_CORE_DEPENDENCY = yes #export drv_firewall_l4_test_app_COMP_LIST #export drv_firewall_l4_test_app_BOARD_DEPENDENCY #export drv_firewall_l4_test_app_CORE_DEPENDENCY #drv_firewall_l4_test_app_PKG_LIST = drv_firewall_l4_test_app #drv_firewall_l4_test_app_INCLUDE = $(drv_firewall_l4_test_app_PATH) #drv_firewall_l4_test_app_SOCLIST = $(firewall_l3l4_default_SOCLIST) #export drv_firewall_l4_test_app_SOCLIST #drv_firewall_l4_test_app_$(SOC)_CORELIST = $(firewall_l3l4_app_default_$(SOC)_CORELIST) #export drv_firewall_l4_test_app_$(SOC)_CORELIST #firewall_l3l4_EXAMPLE_LIST += drv_firewall_l4_test_app # # Firewall Examples # # L3 Firewall Example #drv_firewall_l3_test_app_COMP_LIST = drv_firewall_l3_test_app #drv_firewall_l3_test_app_RELPATH = ti/drv/fw_l3l4/examples/l3_firewall #drv_firewall_l3_test_app_PATH = $(PDK_FIREWALL_L3L4_COMP_PATH)/examples/l3_firewall #drv_firewall_l3_test_app_BOARD_DEPENDENCY = no #drv_firewall_l3_test_app_CORE_DEPENDENCY = yes #export drv_firewall_l3_test_app_COMP_LIST #export drv_firewall_l3_test_app_BOARD_DEPENDENCY #export drv_firewall_l3_test_app_CORE_DEPENDENCY #drv_firewall_l3_test_app_PKG_LIST = drv_firewall_l3_test_app #drv_firewall_l3_test_app_INCLUDE = $(drv_firewall_l3_test_app_PATH) #drv_firewall_l3_test_app_SOCLIST = $(firewall_l3l4_default_SOCLIST) #export drv_firewall_l3_test_app_SOCLIST #drv_firewall_l3_test_app_$(SOC)_CORELIST = $(firewall_l3l4_app_default_$(SOC)_CORELIST) #export drv_firewall_l3_test_app_$(SOC)_CORELIST #firewall_l3l4_EXAMPLE_LIST += drv_firewall_l3_test_app export ffcsensor_LIB_LIST #export ffcsensor_EXAMPLE_LIST ffcsensor_component_make_include := 1 endif