summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 28e3e9a)
raw | patch | inline | side by side (parent: 28e3e9a)
author | Sivaraj R <sivaraj@ti.com> | |
Wed, 10 Jun 2020 08:26:45 +0000 (13:56 +0530) | ||
committer | Sujith Shivalingappa <a0393175@ti.com> | |
Thu, 11 Jun 2020 07:01:21 +0000 (02:01 -0500) |
Signed-off-by: Sivaraj R <sivaraj@ti.com>
55 files changed:
diff --git a/.gitignore b/.gitignore
index ffe09bca24fc41b5bb4d2602b98e36287bfef808..b15f1085ca05b39161575cab9414a200faf37ce7 100755 (executable)
--- a/.gitignore
+++ b/.gitignore
packages/ti/drv/pmic/
packages/ti/drv/sa/
packages/ti/drv/vhwa/
+packages/ti/*/lib
+packages/ti/*/*/lib
+packages/ti/*/*/*/lib
+
diff --git a/packages/ti/board/examples/ddr_thermal_test_app/makefile b/packages/ti/board/examples/ddr_thermal_test_app/makefile
index 53932c07c3b2888b75970053ad7a6de335289f2b..2917eabc3adeabf904fb9ee25924cbaf7f86c42c 100644 (file)
COMP_LIST_COMMON += csl_init osal_nonos sciclient board uart i2c
# Enable copy of vectors
- SRCDIR += $(PDK_VECT_COPY_PATH)
- SRCS_ASM_COMMON += utilsCopyVecs2ATcm.asm
+ COMP_LIST_COMMON += copyvecs
endif
endif
index b0c7aeca810f03ac282b5a306f2b20e9525ab6bc..9db889abf3276fec6bab443af8ddfcb1323ac799 100644 (file)
export PDK_MCBSP_COMP_PATH = $(PDK_MCBSP_ROOT_PATH)/ti/drv/mcbsp
PDK_PROFILING_ROOT_PATH ?= $(pdk_PATH)
export PDK_PROFILING_COMP_PATH = $(PDK_PROFILING_ROOT_PATH)/ti/utils/profiling
+PDK_COPYVECS_ROOT_PATH ?= $(pdk_PATH)
+export PDK_COPYVECS_COMP_PATH = $(PDK_COPYVECS_ROOT_PATH)/ti/utils/copyVecs2Atcm
PDK_TRACE_ROOT_PATH ?= $(pdk_PATH)
export PDK_TRACE_COMP_PATH = $(PDK_TRACE_ROOT_PATH)/ti/utils/trace
PDK_VECT_COPY_ROOT_PATH ?= $(pdk_PATH)
index b9d00f982c45a806cdc2e54dd0228c170173ab84..08b9c6067f2bf039eab50b60e2d3b4ca3e301945 100644 (file)
ifneq ($(profiling_EXAMPLE_LIST),)
pdk_EXAMPLE_LIST += $(profiling_EXAMPLE_LIST)
endif
+# - used to ignore include if component not present
+-include $(PDK_COPYVECS_COMP_PATH)/copyvecs_component.mk
+ifneq ($(copyvecs_LIB_LIST),)
+ pdk_LIB_LIST += $(copyvecs_LIB_LIST)
+endif
# - used to ignore include if component not present
-include $(PDK_TRACE_COMP_PATH)/trace_component.mk
diff --git a/packages/ti/drv/cal/examples/cal_capture_test/makefile.mk b/packages/ti/drv/cal/examples/cal_capture_test/makefile.mk
index 25871f181601c8c92f9cd4baf619d91045846667..35f061d6fb27de8c8010493124936241ad115e0b 100644 (file)
# Enable copy of vectors
ifeq ($(ISA),$(filter $(ISA), r5f))
- SRCDIR += $(PDK_VECT_COPY_PATH)
- SRCS_ASM_COMMON += utilsCopyVecs2ATcm.asm
+ COMP_LIST_COMMON += copyvecs
endif
endif
diff --git a/packages/ti/drv/cal/examples/cal_loopback_test/makefile.mk b/packages/ti/drv/cal/examples/cal_loopback_test/makefile.mk
index cfde4cd9623ee0c2ba74587aa8ba8ce8707ec855..9f66f6ed1cac992f84ff3a310cbfbc7201ee35b4 100644 (file)
# Enable copy of vectors
ifeq ($(ISA),$(filter $(ISA), r5f))
- SRCDIR += $(PDK_VECT_COPY_PATH)
- SRCS_ASM_COMMON += utilsCopyVecs2ATcm.asm
+ COMP_LIST_COMMON += copyvecs
endif
endif
index 3d25c8110e5e118b50aa3e9dda9f67088025aa81..edde607da81e3cc2fec070ff24263e24bb9b3557 100644 (file)
ifneq ($(SOC),$(filter $(SOC), tpr12))
# Enable copy of vectors
ifeq ($(ISA),$(filter $(ISA), r5f))
- SRCDIR += $(PDK_VECT_COPY_PATH)
- SRCS_ASM_COMMON += utilsCopyVecs2ATcm.asm
+ COMP_LIST_COMMON += copyvecs
endif
endif
diff --git a/packages/ti/drv/dss/examples/dss_colorbar_test/makefile b/packages/ti/drv/dss/examples/dss_colorbar_test/makefile
index 059f5c09eb51ced39db044ff483f0aa385995d03..49694bb76af163a576ce91034276391bcb152735 100755 (executable)
CFLAGS_LOCAL_COMMON += $(PDK_CFLAGS) $(DSS_CFLAGS)
ifeq ($(ISA),$(filter $(ISA), r5f))
- SRCDIR += $(PDK_VECT_COPY_PATH)
- SRCS_ASM_COMMON += utilsCopyVecs2ATcm.asm
+ COMP_LIST_COMMON += copyvecs
endif
# Core/SoC/platform specific source files and CFLAGS
diff --git a/packages/ti/drv/dss/examples/dss_display_test/makefile.mk b/packages/ti/drv/dss/examples/dss_display_test/makefile.mk
index fdc56febdca6b3afe62eedc0b1581943ca712ef6..bb0bfd300a9cb7486ac80ddb0fd6f23d76629582 100755 (executable)
XDC_CFG_UPDATE_$(CORE) = dss_display_test_prf.cfg
ifeq ($(ISA),$(filter $(ISA), r5f))
- SRCDIR += $(PDK_VECT_COPY_PATH)
- SRCS_ASM_COMMON += utilsCopyVecs2ATcm.asm
+ COMP_LIST_COMMON += copyvecs
endif
endif
diff --git a/packages/ti/drv/emac/test/EmacLoopbackTest/am65xx/cpsw/makefile b/packages/ti/drv/emac/test/EmacLoopbackTest/am65xx/cpsw/makefile
index 5177505d9ca29c65958899b1183176b7188e1e42..7dbd606af48aa3a202f77a59044f8bd5f299164c 100644 (file)
# Enable copy of vectors
ifeq ($(ISA),$(filter $(ISA), r5f))
- SRCDIR += $(PDK_VECT_COPY_PATH)
- SRCS_ASM_COMMON += utilsCopyVecs2ATcm.asm
+ COMP_LIST_COMMON += copyvecs
endif
# List all the external components/interfaces, whose interface header files
diff --git a/packages/ti/drv/emac/test/EmacLoopbackTest/am65xx/icssg/makefile_dualmac b/packages/ti/drv/emac/test/EmacLoopbackTest/am65xx/icssg/makefile_dualmac
index eb263e2aafb2c58b6c034d1d55b70236f4c3729a..dda043964e52d2f79021bc751381f1063cccbcdb 100644 (file)
# Enable copy of vectors
ifeq ($(ISA),$(filter $(ISA), r5f))
- SRCDIR += $(PDK_VECT_COPY_PATH)
- SRCS_ASM_COMMON += utilsCopyVecs2ATcm.asm
+ COMP_LIST_COMMON += copyvecs
endif
# List all the external components/interfaces, whose interface header files
diff --git a/packages/ti/drv/emac/test/EmacLoopbackTest/am65xx/icssg/makefile_without_ddr b/packages/ti/drv/emac/test/EmacLoopbackTest/am65xx/icssg/makefile_without_ddr
index 6d785cd2d1d7ce63d2c6934422175b3db4021df9..ee593e9f6beda290ff9fe833e3e78f372f4b642e 100644 (file)
# Enable copy of vectors
ifeq ($(ISA),$(filter $(ISA), r5f))
- SRCDIR += $(PDK_VECT_COPY_PATH)
- SRCS_ASM_COMMON += utilsCopyVecs2ATcm.asm
+ COMP_LIST_COMMON += copyvecs
endif
# List all the external components/interfaces, whose interface header files
diff --git a/packages/ti/drv/emac/test/EmacLoopbackTest/j721e/cpsw/makefile b/packages/ti/drv/emac/test/EmacLoopbackTest/j721e/cpsw/makefile
index 7fc6e8e948563a7bd1e3bf311478d1067b03dcf4..00390bb33d14c3129493c78c4afe06ae2d8717e0 100644 (file)
# Enable copy of vectors
ifeq ($(ISA),$(filter $(ISA), r5f))
- SRCDIR += $(PDK_VECT_COPY_PATH)
- SRCS_ASM_COMMON += utilsCopyVecs2ATcm.asm
+ COMP_LIST_COMMON += copyvecs
endif
# Include common make files
diff --git a/packages/ti/drv/emac/test/EmacLoopbackTest/j721e/icssg/makefile_dualmac b/packages/ti/drv/emac/test/EmacLoopbackTest/j721e/icssg/makefile_dualmac
index 23c86f7ee06376c4282d4cc70cd144c840126a8f..2d709fbdc9dd0ddb4a26186601fdeb287dbe4538 100644 (file)
# Enable copy of vectors
ifeq ($(ISA),$(filter $(ISA), r5f))
- SRCDIR += $(PDK_VECT_COPY_PATH)
- SRCS_ASM_COMMON += utilsCopyVecs2ATcm.asm
+ COMP_LIST_COMMON += copyvecs
endif
# Include common make files
diff --git a/packages/ti/drv/gpio/test/led_blink/makefile b/packages/ti/drv/gpio/test/led_blink/makefile
index 8c57ba8664911196b4ffad76b01d92eddc665915..cf33fbb04edd10f4e16a626ba00c9ae48979ed37 100644 (file)
ifneq ($(SOC),$(filter $(SOC), tpr12))
# Enable copy of vectors
ifeq ($(ISA),$(filter $(ISA), r5f))
- SRCDIR += $(PDK_VECT_COPY_PATH)
- SRCS_ASM_COMMON += utilsCopyVecs2ATcm.asm
+ COMP_LIST_COMMON += copyvecs
endif
endif
diff --git a/packages/ti/drv/i2c/test/eeprom_read/makefile b/packages/ti/drv/i2c/test/eeprom_read/makefile
index 779681bac0f2f440d229209865f606eb8164d08e..7310ce2e0f5b386718b904e06fef1b7faf51a4e1 100644 (file)
ifneq ($(SOC),$(filter $(SOC), tpr12))
# Enable copy of vectors
ifeq ($(ISA),$(filter $(ISA), r5f))
- SRCDIR += $(PDK_VECT_COPY_PATH)
- SRCS_ASM_COMMON += utilsCopyVecs2ATcm.asm
+ COMP_LIST_COMMON += copyvecs
endif
endif
diff --git a/packages/ti/drv/i2c/test/master_slave/makefile b/packages/ti/drv/i2c/test/master_slave/makefile
index 229b0ef01980e07f2ff8cfa3528fe963d3c8b900..c4cbac3ccf21186e2dbfb3a1f15468c4da459fd2 100644 (file)
ifneq ($(SOC),$(filter $(SOC), tpr12))
# Enable copy of vectors
ifeq ($(ISA),$(filter $(ISA), r5f))
- SRCDIR += $(PDK_VECT_COPY_PATH)
- SRCS_ASM_COMMON += utilsCopyVecs2ATcm.asm
+ COMP_LIST_COMMON += copyvecs
endif
endif
diff --git a/packages/ti/drv/mailbox/examples/mailbox_msg_testapp/makefile b/packages/ti/drv/mailbox/examples/mailbox_msg_testapp/makefile
index ba47b4954cfe4da0aa30293955f366ec8351588b..ea43136e8a39079c75d1093d25afacbf6f341d03 100644 (file)
ifneq ($(SOC),$(filter $(SOC), tpr12))
# Enable copy of vectors
ifeq ($(ISA),$(filter $(ISA), r5f))
- SRCDIR += $(PDK_VECT_COPY_PATH)
- SRCS_ASM_COMMON += utilsCopyVecs2ATcm.asm
+ COMP_LIST_COMMON += copyvecs
endif
endif
diff --git a/packages/ti/drv/mcasp/example/MCASP_AudioDCAnalogLoopback_TestApp/makefile b/packages/ti/drv/mcasp/example/MCASP_AudioDCAnalogLoopback_TestApp/makefile
index 2ac87ca4fb312e9a3c37cf1bc46a16237a044567..5509aa8987113ec557a93eb1b871cd963d5b89a2 100755 (executable)
# Enable copy of vectors
ifeq ($(ISA),$(filter $(ISA), r5f))
- SRCDIR += $(PDK_VECT_COPY_PATH)
- SRCS_ASM_COMMON += utilsCopyVecs2ATcm.asm
+ COMP_LIST_COMMON += copyvecs
endif
# Core/SoC/platform specific source files and CFLAGS
diff --git a/packages/ti/drv/mcasp/example/MCASP_AudioDCDigitalLoopback_TestApp/makefile b/packages/ti/drv/mcasp/example/MCASP_AudioDCDigitalLoopback_TestApp/makefile
index 28c0ae67d97533e0e1bd4e82d39cf403f15a14b5..4483ec8a98a02c37939c96a9765740e4b3f056cc 100755 (executable)
# Enable copy of vectors
ifeq ($(ISA),$(filter $(ISA), r5f))
- SRCDIR += $(PDK_VECT_COPY_PATH)
- SRCS_ASM_COMMON += utilsCopyVecs2ATcm.asm
+ COMP_LIST_COMMON += copyvecs
endif
# Core/SoC/platform specific source files and CFLAGS
diff --git a/packages/ti/drv/mcasp/example/MCASP_AudioLoopback_TestApp/makefile b/packages/ti/drv/mcasp/example/MCASP_AudioLoopback_TestApp/makefile
index b42323c68e6fcbbd91c5c5cdcc663793619cebf6..675d5203f95325a7e4496aef6f843a0f8eee02b9 100644 (file)
# Enable copy of vectors
ifeq ($(ISA),$(filter $(ISA), r5f))
- SRCDIR += $(PDK_VECT_COPY_PATH)
- SRCS_ASM_COMMON += utilsCopyVecs2ATcm.asm
+ COMP_LIST_COMMON += copyvecs
endif
# Core/SoC/platform specific source files and CFLAGS
diff --git a/packages/ti/drv/mcasp/example/MCASP_DeviceLoopback_TestApp/makefile b/packages/ti/drv/mcasp/example/MCASP_DeviceLoopback_TestApp/makefile
index b54d850550f6c110eee1f088d0e751b3dc46cecc..2421c68d79511ecb4993cc0e6ec1fd5118fd4a33 100644 (file)
# Enable copy of vectors
ifeq ($(ISA),$(filter $(ISA), r5f))
- SRCDIR += $(PDK_VECT_COPY_PATH)
- SRCS_ASM_COMMON += utilsCopyVecs2ATcm.asm
+ COMP_LIST_COMMON += copyvecs
endif
# Core/SoC/platform specific source files and CFLAGS
diff --git a/packages/ti/drv/mmcsd/test/MMCSD_DMA_TestApp/makefile b/packages/ti/drv/mmcsd/test/MMCSD_DMA_TestApp/makefile
index e6161dd53a664f0ff2c0f5fa2b848e946cb3a394..5fe00933905d447ecb5824fa5fe346ed8d45ed65 100644 (file)
# Enable copy of vectors
ifeq ($(ISA),$(filter $(ISA), r5f))
- SRCDIR += $(PDK_VECT_COPY_PATH)
- SRCS_ASM_COMMON += utilsCopyVecs2ATcm.asm
+ COMP_LIST_COMMON += copyvecs
endif
# Core/SoC/platform specific source files and CFLAGS
diff --git a/packages/ti/drv/mmcsd/test/MMCSD_DMA_TestProject/makefile b/packages/ti/drv/mmcsd/test/MMCSD_DMA_TestProject/makefile
index 14becae4a7939d559e479f4eb82b37ceca3c69ad..c084a22bbc84e1385f106daf03abeedcf2e11857 100644 (file)
# Enable copy of vectors
ifeq ($(ISA),$(filter $(ISA), r5f))
- SRCDIR += $(PDK_VECT_COPY_PATH)
- SRCS_ASM_COMMON += utilsCopyVecs2ATcm.asm
+ COMP_LIST_COMMON += copyvecs
endif
# Core/SoC/platform specific source files and CFLAGS
diff --git a/packages/ti/drv/mmcsd/test/MMCSD_EMMC_DMA_TestApp/makefile b/packages/ti/drv/mmcsd/test/MMCSD_EMMC_DMA_TestApp/makefile
index 37b57ad4e21459c48c02d01e881c9b981e35d6ee..41db45f2b2e2770176134c5eb3459c4ac4a080d8 100644 (file)
# Enable copy of vectors
ifeq ($(ISA),$(filter $(ISA), r5f))
- SRCDIR += $(PDK_VECT_COPY_PATH)
- SRCS_ASM_COMMON += utilsCopyVecs2ATcm.asm
+ COMP_LIST_COMMON += copyvecs
endif
# Core/SoC/platform specific source files and CFLAGS
diff --git a/packages/ti/drv/mmcsd/test/MMCSD_EMMC_DMA_TestProject/makefile b/packages/ti/drv/mmcsd/test/MMCSD_EMMC_DMA_TestProject/makefile
index b06e227af635661d2e1720d11facfbb31711de00..a021521269b7601ed641866f0c46748d49096fe9 100644 (file)
# Enable copy of vectors
ifeq ($(ISA),$(filter $(ISA), r5f))
- SRCDIR += $(PDK_VECT_COPY_PATH)
- SRCS_ASM_COMMON += utilsCopyVecs2ATcm.asm
+ COMP_LIST_COMMON += copyvecs
endif
# Core/SoC/platform specific source files and CFLAGS
diff --git a/packages/ti/drv/mmcsd/test/MMCSD_EMMC_Regression_TestApp/makefile b/packages/ti/drv/mmcsd/test/MMCSD_EMMC_Regression_TestApp/makefile
index f672f2b0d2ed3265c0f67a47d70450b7d73654be..81199395aecd30c7afdd14860e0ede3be3c1be0c 100644 (file)
# Enable copy of vectors
ifeq ($(ISA),$(filter $(ISA), r5f))
- SRCDIR += $(PDK_VECT_COPY_PATH)
- SRCS_ASM_COMMON += utilsCopyVecs2ATcm.asm
+ COMP_LIST_COMMON += copyvecs
endif
# Core/SoC/platform specific source files and CFLAGS
diff --git a/packages/ti/drv/mmcsd/test/MMCSD_EMMC_TestApp/makefile b/packages/ti/drv/mmcsd/test/MMCSD_EMMC_TestApp/makefile
index f990788feeb077cb283f8d3a7745dc05f277c176..d7b6f25fe00f189336002bba9fe4a1561534ae7a 100644 (file)
# Enable copy of vectors
ifeq ($(ISA),$(filter $(ISA), r5f))
- SRCDIR += $(PDK_VECT_COPY_PATH)
- SRCS_ASM_COMMON += utilsCopyVecs2ATcm.asm
+ COMP_LIST_COMMON += copyvecs
endif
# Core/SoC/platform specific source files and CFLAGS
diff --git a/packages/ti/drv/mmcsd/test/MMCSD_EMMC_TestProject/makefile b/packages/ti/drv/mmcsd/test/MMCSD_EMMC_TestProject/makefile
index cf461e106feb666fce4d4bfd345cc227e3965c29..3bda6e82dd5a05e9ee845359ddfe4188e621ae68 100644 (file)
# Enable copy of vectors
ifeq ($(ISA),$(filter $(ISA), r5f))
- SRCDIR += $(PDK_VECT_COPY_PATH)
- SRCS_ASM_COMMON += utilsCopyVecs2ATcm.asm
+ COMP_LIST_COMMON += copyvecs
endif
# Core/SoC/platform specific source files and CFLAGS
diff --git a/packages/ti/drv/mmcsd/test/MMCSD_Regression_TestApp/makefile b/packages/ti/drv/mmcsd/test/MMCSD_Regression_TestApp/makefile
index 8ea61914d268dbca9ab9b230aad7efb964895a80..3ed1baf13102ff084ef4fbd62cf346c4554ef500 100644 (file)
# Enable copy of vectors
ifeq ($(ISA),$(filter $(ISA), r5f))
- SRCDIR += $(PDK_VECT_COPY_PATH)
- SRCS_ASM_COMMON += utilsCopyVecs2ATcm.asm
+ COMP_LIST_COMMON += copyvecs
endif
# Core/SoC/platform specific source files and CFLAGS
diff --git a/packages/ti/drv/mmcsd/test/MMCSD_TestApp/makefile b/packages/ti/drv/mmcsd/test/MMCSD_TestApp/makefile
index b927d045b6cbe6072ce1a2120ae4f7be38f35d2b..577ac890405c49035c1bf09755abcf886acee954 100644 (file)
# Enable copy of vectors
ifeq ($(ISA),$(filter $(ISA), r5f))
- SRCDIR += $(PDK_VECT_COPY_PATH)
- SRCS_ASM_COMMON += utilsCopyVecs2ATcm.asm
+ COMP_LIST_COMMON += copyvecs
endif
# Core/SoC/platform specific source files and CFLAGS
diff --git a/packages/ti/drv/mmcsd/test/MMCSD_TestProject/makefile b/packages/ti/drv/mmcsd/test/MMCSD_TestProject/makefile
index 0e4346310140406817a4814dcffea9f412db66fe..d108db8cd94e0a1ed4c05a5680e8b7b4855c605c 100644 (file)
# Enable copy of vectors
ifeq ($(ISA),$(filter $(ISA), r5f))
- SRCDIR += $(PDK_VECT_COPY_PATH)
- SRCS_ASM_COMMON += utilsCopyVecs2ATcm.asm
+ COMP_LIST_COMMON += copyvecs
endif
# Core/SoC/platform specific source files and CFLAGS
diff --git a/packages/ti/drv/pcie/example/sample/makefile b/packages/ti/drv/pcie/example/sample/makefile
index 91bd9dcbb41a7cb3c1bdb5c67e2aa0becb4e8b79..62f1a2ff9b741e3dabe28a4d18d9a7a6eb6f80e9 100644 (file)
# Enable copy of vectors
ifeq ($(ISA),$(filter $(ISA), r5f))
- SRCDIR += $(PDK_VECT_COPY_PATH)
- SRCS_ASM_COMMON += utilsCopyVecs2ATcm.asm
+ COMP_LIST_COMMON += copyvecs
endif
diff --git a/packages/ti/drv/sciclient/examples/sciclient_fw_testapp/makefile b/packages/ti/drv/sciclient/examples/sciclient_fw_testapp/makefile
index 019c01c1f749587d28aaa313b1debf0eda1c65c3..e7e8739fd16918c835a97162f20142bca2151f1a 100755 (executable)
\r
# Enable copy of vectors\r
ifeq ($(ISA),$(filter $(ISA), r5f))\r
- SRCDIR += $(PDK_VECT_COPY_PATH)\r
- SRCS_ASM_COMMON += utilsCopyVecs2ATcm.asm\r
+ COMP_LIST_COMMON += copyvecs\r
endif\r
\r
# ifeq ($(CORE),mpu1_0)\r
diff --git a/packages/ti/drv/sciclient/examples/sciclient_rtos_app/makefile b/packages/ti/drv/sciclient/examples/sciclient_rtos_app/makefile
index 2193a9cdccce2f47201dcb2b1d1f896e4fd13aec..c1939651ef48f1417d4cae863b3466823bba9a8f 100755 (executable)
# Enable copy of vectors
ifeq ($(ISA),$(filter $(ISA), r5f))
- SRCDIR += $(PDK_VECT_COPY_PATH)
- SRCS_ASM_COMMON += utilsCopyVecs2ATcm.asm
+ COMP_LIST_COMMON += copyvecs
endif
# Core/SoC/platform specific source files and CFLAGS
diff --git a/packages/ti/drv/sciclient/examples/sciclient_unit_testapp/makefile b/packages/ti/drv/sciclient/examples/sciclient_unit_testapp/makefile
index 4823cbee9e19c87852884ae9cc8d32527d84ed48..63345140750bbc13cc89fd22c7ae3e2e7ffb1c84 100755 (executable)
\r
# Enable copy of vectors\r
ifeq ($(ISA),$(filter $(ISA), r5f))\r
- SRCDIR += $(PDK_VECT_COPY_PATH)\r
- SRCS_ASM_COMMON += utilsCopyVecs2ATcm.asm\r
+ COMP_LIST_COMMON += copyvecs\r
endif\r
\r
# CONFIG_BLD_LNK_r5f = $(PDK_INSTALL_PATH)/ti/drv/sciclient/examples/$(APP_NAME)/linker_r5.lds\r
diff --git a/packages/ti/drv/spi/example/mcspi_slavemode/makefile b/packages/ti/drv/spi/example/mcspi_slavemode/makefile
index ef0f0f8ab76d5a6b4494f2f274e08ddd87a28f5b..74bdf0d1114798fb1c7b2d595256933c50de0822 100644 (file)
EXTERNAL_LNKCMD_FILE_LOCAL = $(PDK_INSTALL_PATH)/ti/drv/spi/example/mcspi_slavemode/j721e/linker_mcu_sysbios.lds
# Enable copy of vectors
ifeq ($(ISA),$(filter $(ISA), r5f))
- SRCDIR += $(PDK_VECT_COPY_PATH)
- SRCS_ASM_COMMON += utilsCopyVecs2ATcm.asm
+ COMP_LIST_COMMON += copyvecs
endif
endif
diff --git a/packages/ti/drv/spi/test/ospi_flash/makefile b/packages/ti/drv/spi/test/ospi_flash/makefile
index 6b0ffa44045b094ead6f60d46809772994dfdb0e..805b02f1f10a05efe9a94070d6c1f03bf77aaaea 100644 (file)
# Enable copy of vectors
ifeq ($(ISA),$(filter $(ISA), r5f))
- SRCDIR += $(PDK_VECT_COPY_PATH)
- SRCS_ASM_COMMON += utilsCopyVecs2ATcm.asm
+ COMP_LIST_COMMON += copyvecs
endif
endif
index e67fa420dc5a1f3fba71c3bc5914bcc26be68d58..c72cecf7a77675c032764f71ba315945847f3d26 100644 (file)
ifneq ($(SOC),$(filter $(SOC), tpr12))
# Enable copy of vectors
ifeq ($(ISA),$(filter $(ISA), r5f))
- SRCDIR += $(PDK_VECT_COPY_PATH)
- SRCS_ASM_COMMON += utilsCopyVecs2ATcm.asm
+ COMP_LIST_COMMON += copyvecs
endif
endif
diff --git a/packages/ti/drv/udma/examples/udma_adc_test/makefile b/packages/ti/drv/udma/examples/udma_adc_test/makefile
index 878dd898a3b7e2c8f99fbc651d41d0905fe84460..9627d4bafa70a9f7d3228e8b92578b4b197cbbe4 100644 (file)
# Enable copy of vectors
ifeq ($(ISA),$(filter $(ISA), r5f))
- SRCDIR += $(PDK_VECT_COPY_PATH)
- SRCS_ASM_COMMON += utilsCopyVecs2ATcm.asm
+ COMP_LIST_COMMON += copyvecs
endif
# Core/SoC/platform specific source files and CFLAGS
diff --git a/packages/ti/drv/udma/examples/udma_chaining_test/makefile b/packages/ti/drv/udma/examples/udma_chaining_test/makefile
index c57897612c769b29d8765d017748ae72e2841ace..98ad89c6685c945d351a3ad8d6b12525e203a899 100644 (file)
# Enable copy of vectors
ifeq ($(ISA),$(filter $(ISA), r5f))
- SRCDIR += $(PDK_VECT_COPY_PATH)
- SRCS_ASM_COMMON += utilsCopyVecs2ATcm.asm
+ COMP_LIST_COMMON += copyvecs
endif
# Core/SoC/platform specific source files and CFLAGS
diff --git a/packages/ti/drv/udma/examples/udma_crc_test/makefile b/packages/ti/drv/udma/examples/udma_crc_test/makefile
index e50510b7030dfe8dee0fe0e086b61ea2466f9c62..113d6341b2e44d53f9831ccff41142c27ec6d86a 100644 (file)
# Enable copy of vectors
ifeq ($(ISA),$(filter $(ISA), r5f))
- SRCDIR += $(PDK_VECT_COPY_PATH)
- SRCS_ASM_COMMON += utilsCopyVecs2ATcm.asm
+ COMP_LIST_COMMON += copyvecs
endif
# Core/SoC/platform specific source files and CFLAGS
diff --git a/packages/ti/drv/udma/examples/udma_dru_direct_tr_test/makefile b/packages/ti/drv/udma/examples/udma_dru_direct_tr_test/makefile
index 921f74b7646a9d0940add8839232085d0cf2a037..e9c7e018484643e8d4366baab4c4fcac8efd37ea 100644 (file)
# Enable copy of vectors
ifeq ($(ISA),$(filter $(ISA), r5f))
- SRCDIR += $(PDK_VECT_COPY_PATH)
- SRCS_ASM_COMMON += utilsCopyVecs2ATcm.asm
+ COMP_LIST_COMMON += copyvecs
endif
# Core/SoC/platform specific source files and CFLAGS
diff --git a/packages/ti/drv/udma/examples/udma_dru_test/makefile b/packages/ti/drv/udma/examples/udma_dru_test/makefile
index f1f20b92a524fee4051fe54f8359cf2396800da9..d28d9d4a9186f2da903c5d4490a5a1e1da08ab6f 100644 (file)
# Enable copy of vectors
ifeq ($(ISA),$(filter $(ISA), r5f))
- SRCDIR += $(PDK_VECT_COPY_PATH)
- SRCS_ASM_COMMON += utilsCopyVecs2ATcm.asm
+ COMP_LIST_COMMON += copyvecs
endif
# Core/SoC/platform specific source files and CFLAGS
diff --git a/packages/ti/drv/udma/examples/udma_memcpy_test/makefile.mk b/packages/ti/drv/udma/examples/udma_memcpy_test/makefile.mk
index c317043329143329c3e3c43296c7ce0cd2bea1e2..41a7da367f21e8e72a6204ac329e6a86a0c7bd57 100644 (file)
ifeq ($(SOC),$(filter $(SOC), am65xx j721e))
ifeq ($(ISA),$(filter $(ISA), r5f))
- SRCDIR += $(PDK_VECT_COPY_PATH)
- SRCS_ASM_COMMON += utilsCopyVecs2ATcm.asm
+ COMP_LIST_COMMON += copyvecs
endif
endif
diff --git a/packages/ti/drv/udma/unit_test/udma_ut/makefile b/packages/ti/drv/udma/unit_test/udma_ut/makefile
index e0893c906fca13ff0abe7a831a0da9681dda9003..e98ba7fc96d00adb5ea28162b853d211c1ea41ef 100755 (executable)
# Enable copy of vectors
ifeq ($(ISA),$(filter $(ISA), r5f))
- SRCDIR += $(PDK_VECT_COPY_PATH)
- SRCS_ASM_COMMON += utilsCopyVecs2ATcm.asm
+ COMP_LIST_COMMON += copyvecs
endif
endif
diff --git a/packages/ti/fs/fatfs/example/console/makefile b/packages/ti/fs/fatfs/example/console/makefile
index 146ddc121a11b33b45dcaeb1239df06e841454c7..f8b8b2499a8bb3aeaff075c9aea3c2e542bbaec3 100644 (file)
# Enable copy of vectors
ifeq ($(ISA),$(filter $(ISA), r5f))
- SRCDIR += $(PDK_VECT_COPY_PATH)
- SRCS_ASM_COMMON += utilsCopyVecs2ATcm.asm
+ COMP_LIST_COMMON += copyvecs
endif
endif
diff --git a/packages/ti/osal/test/sysbios_unit_test/makefile b/packages/ti/osal/test/sysbios_unit_test/makefile
index cd5f57bd50526ded57bf68a9786a67944f7eb89d..db6ad96d77e0474bef5c903a05408202b3015d84 100644 (file)
ifneq ($(SOC),$(filter $(SOC), tpr12))
# Enable copy of vectors
ifeq ($(ISA),$(filter $(ISA), r5f))
- SRCDIR += $(PDK_VECT_COPY_PATH)
- SRCS_ASM_COMMON += utilsCopyVecs2ATcm.asm
+ COMP_LIST_COMMON += copyvecs
endif
endif
diff --git a/packages/ti/transport/ndk/nimu/example/am65xx/cpsw/makefile b/packages/ti/transport/ndk/nimu/example/am65xx/cpsw/makefile
index 37be789ece265556891dea3364dcff3710a85e5f..b11a4bde49d01619113de4bba1caf8728801fc3a 100644 (file)
# Enable copy of vectors
ifeq ($(ISA),$(filter $(ISA), r5f))
- SRCDIR += $(PDK_VECT_COPY_PATH)
- SRCS_ASM_COMMON += utilsCopyVecs2ATcm.asm
+ COMP_LIST_COMMON += copyvecs
endif
# List all the external components/interfaces, whose interface header files
diff --git a/packages/ti/transport/ndk/nimu/example/am65xx/icssg/makefile b/packages/ti/transport/ndk/nimu/example/am65xx/icssg/makefile
index fe75709ad942bb3f4c5922e8aea1fdbb43aeefe5..1ed35ea033028c7f55d3309382f2d69a4b0456ad 100644 (file)
# Enable copy of vectors
ifeq ($(ISA),$(filter $(ISA), r5f))
- SRCDIR += $(PDK_VECT_COPY_PATH)
- SRCS_ASM_COMMON += utilsCopyVecs2ATcm.asm
+ COMP_LIST_COMMON += copyvecs
endif
# List all the external components/interfaces, whose interface header files
diff --git a/packages/ti/transport/ndk/nimu/example/ftpApp/am65xx/cpsw/makefile b/packages/ti/transport/ndk/nimu/example/ftpApp/am65xx/cpsw/makefile
index 4d45e1eedd989208f78c30310da4eeef37c7d30d..75edd44b5b8f24027d299fb9ac0e2fbf6626622e 100644 (file)
# Enable copy of vectors
ifeq ($(ISA),$(filter $(ISA), r5f))
- SRCDIR += $(PDK_VECT_COPY_PATH)
- SRCS_ASM_COMMON += utilsCopyVecs2ATcm.asm
+ COMP_LIST_COMMON += copyvecs
endif
# List all the external components/interfaces, whose interface header files
diff --git a/packages/ti/transport/ndk/nimu/example/ftpApp/am65xx/icssg/makefile b/packages/ti/transport/ndk/nimu/example/ftpApp/am65xx/icssg/makefile
index dd39bbfaeb8037d5a552606b6883fd1fc79bcb6c..f82ac04300ad90d5f5de4871b020685bc9897781 100644 (file)
# Enable copy of vectors
ifeq ($(ISA),$(filter $(ISA), r5f))
- SRCDIR += $(PDK_VECT_COPY_PATH)
- SRCS_ASM_COMMON += utilsCopyVecs2ATcm.asm
+ COMP_LIST_COMMON += copyvecs
endif
# List all the external components/interfaces, whose interface header files
diff --git a/packages/ti/utils/copyVecs2Atcm/build/makefile.mk b/packages/ti/utils/copyVecs2Atcm/build/makefile.mk
--- /dev/null
@@ -0,0 +1,60 @@
+#
+# Copyright (c) 2016 - 2018, Texas Instruments Incorporated
+# All rights reserved.
+#
+# Redistribution and use in source and binary forms, with or without
+# modification, are permitted provided that the following conditions
+# are met:
+#
+# * Redistributions of source code must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# * Redistributions in binary form must reproduce the above copyright
+# notice, this list of conditions and the following disclaimer in the
+# documentation and/or other materials provided with the distribution.
+#
+# * Neither the name of Texas Instruments Incorporated nor the names of
+# its contributors may be used to endorse or promote products derived
+# from this software without specific prior written permission.
+#
+# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
+# THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
+# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+# EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+#
+
+include $(PDK_INSTALL_PATH)/ti/build/Rules.make
+
+MODULE_NAME = copyvecs
+
+SRCDIR = .
+INCDIR = .
+
+# Common source files across all platforms and cores
+SRCS_ASM_COMMON += utilsCopyVecs2ATcm.asm
+
+# List all the external components/interfaces, whose interface header files
+# need to be included for this component
+INCLUDE_EXTERNAL_INTERFACES = pdk
+
+PACKAGE_SRCS_COMMON = makefile copyvecs_component.mk build utilsCopyVecs2ATcm.asm
+
+# Include common make files
+ifeq ($(MAKERULEDIR), )
+#Makerule path not defined, define this and assume relative path from ROOTDIR
+ MAKERULEDIR := $(ROOTDIR)/ti/build/makerules
+ export MAKERULEDIR
+endif
+include $(MAKERULEDIR)/common.mk
+
+# OBJs and libraries are built by using rule defined in rules_<target>.mk
+# and need not be explicitly specified here
+
+# Nothing beyond this point
diff --git a/packages/ti/utils/copyVecs2Atcm/copyvecs_component.mk b/packages/ti/utils/copyVecs2Atcm/copyvecs_component.mk
--- /dev/null
@@ -0,0 +1,104 @@
+#
+# Copyright (c) 2020, Texas Instruments Incorporated
+# All rights reserved.
+#
+# Redistribution and use in source and binary forms, with or without
+# modification, are permitted provided that the following conditions
+# are met:
+#
+# * Redistributions of source code must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# * Redistributions in binary form must reproduce the above copyright
+# notice, this list of conditions and the following disclaimer in the
+# documentation and/or other materials provided with the distribution.
+#
+# * Neither the name of Texas Instruments Incorporated nor the names of
+# its contributors may be used to endorse or promote products derived
+# from this software without specific prior written permission.
+#
+# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
+# THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
+# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+# EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+#
+
+# File: copyvecs_component.mk
+# This file is component include make file of copy vector asm utils 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
+# board and the compiled obj/lib has to be kept
+# under <board> directory
+# "no" or "" or if this variable is not defined: means
+# this module has no board dependent code and hence
+# the obj/libs are not kept under <board> 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 ($(copyvecs_component_make_include), )
+
+# under other list
+drvcopyvecs_SOCLIST = am65xx j721e am64x
+
+############################
+# copyvecs package
+# List of components included under copyvecs lib
+# The components included here are built and will be part of copyvecs lib
+############################
+copyvecs_LIB_LIST = copyvecs
+drvcopyvecs_LIB_LIST = $(copyvecs_LIB_LIST)
+
+#
+# copyvecs Modules
+#
+
+# copyvecs LIB
+export copyvecs_COMP_LIST = copyvecs
+copyvecs_RELPATH = ti/utils/copyVecs2Atcm
+copyvecs_PATH = $(PDK_COPYVECS_COMP_PATH)
+export copyvecs_LIBNAME = ti.utils.copyvecs
+export copyvecs_LIBPATH = $(copyvecs_PATH)/lib
+export copyvecs_MAKEFILE = -f build/makefile.mk
+export copyvecs_BOARD_DEPENDENCY = no
+export copyvecs_CORE_DEPENDENCY = no
+export copyvecs_SOC_DEPENDENCY = yes
+copyvecs_PKG_LIST = copyvecs
+copyvecs_INCLUDE = $(copyvecs_PATH)
+export copyvecs_SOCLIST = $(drvcopyvecs_SOCLIST)
+export copyvecs_$(SOC)_CORELIST = mcu1_0
+
+export drvcopyvecs_LIB_LIST
+export copyvecs_LIB_LIST
+export copyvecs_EXAMPLE_LIST
+
+copyvecs_component_make_include := 1
+endif
diff --git a/packages/ti/utils/copyVecs2Atcm/makefile b/packages/ti/utils/copyVecs2Atcm/makefile
--- /dev/null
@@ -0,0 +1,45 @@
+#
+# Copyright (c) 2016, Texas Instruments Incorporated
+# All rights reserved.
+#
+# Redistribution and use in source and binary forms, with or without
+# modification, are permitted provided that the following conditions
+# are met:
+#
+# * Redistributions of source code must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# * Redistributions in binary form must reproduce the above copyright
+# notice, this list of conditions and the following disclaimer in the
+# documentation and/or other materials provided with the distribution.
+#
+# * Neither the name of Texas Instruments Incorporated nor the names of
+# its contributors may be used to endorse or promote products derived
+# from this software without specific prior written permission.
+#
+# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
+# THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
+# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+# EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+#
+
+ifeq ($(RULES_MAKE), )
+include $(PDK_INSTALL_PATH)/ti/build/Rules.make
+else
+include $(RULES_MAKE)
+endif
+
+COMP = drvcopyvecs
+
+lib_$(COMP)_BUILD_DEPENDENCY = soc
+
+$(COMP)_DOXYGEN_SUPPORT = no
+
+include $(PDK_INSTALL_PATH)/ti/build/comp_top.mk