summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: f3f1557)
raw | patch | inline | side by side (parent: f3f1557)
author | Jianzhong Xu <xuj@ti.com> | |
Thu, 8 Mar 2018 22:40:23 +0000 (17:40 -0500) | ||
committer | Frank Livingston <frank-livingston@ti.com> | |
Mon, 19 Mar 2018 17:37:52 +0000 (12:37 -0500) |
installer_builder/rtsc/Makefile | [new file with mode: 0644] | patch | blob |
installer_builder/rtsc/eclipse/Product.xdc | [new file with mode: 0644] | patch | blob |
installer_builder/rtsc/eclipse/config.bld | [new file with mode: 0644] | patch | blob |
installer_builder/rtsc/eclipse/package.bld | [new file with mode: 0644] | patch | blob |
installer_builder/rtsc/eclipse/package.xdc | [new file with mode: 0644] | patch | blob |
installer_builder/rtsc/readme.txt | [new file with mode: 0644] | patch | blob |
diff --git a/installer_builder/rtsc/Makefile b/installer_builder/rtsc/Makefile
--- /dev/null
@@ -0,0 +1,95 @@
+##\r
+## Copyright (c) 2018, Texas Instruments Incorporated\r
+##\r
+## Redistribution and use in source and binary forms, with or without\r
+## modification, are permitted provided that the following conditions\r
+## are met:\r
+##\r
+## * Redistributions of source code must retain the above copyright\r
+## notice, this list of conditions and the following disclaimer.\r
+##\r
+## * Redistributions in binary form must reproduce the above copyright\r
+## notice, this list of conditions and the following disclaimer in the\r
+## documentation and/or other materials provided with the distribution.\r
+##\r
+## * Neither the name of Texas Instruments Incorporated nor the names of\r
+## its contributors may be used to endorse or promote products derived\r
+## from this software without specific prior written permission.\r
+##\r
+## THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"\r
+## AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,\r
+## THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR\r
+## PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR\r
+## CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,\r
+## EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,\r
+## PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;\r
+## OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,\r
+## WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR\r
+## OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,\r
+## EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\r
+##\r
+\r
+# Path to C6000 compiler tools\r
+ifeq ($(CGTROOT),)\r
+$(call error,ERROR - CGTROOT NOT DEFINED)\r
+endif\r
+\r
+ifeq ($(XDC_DIR),)\r
+$(call error,ERROR - XDC_DIR NOT DEFINED)\r
+endif\r
+\r
+ifeq ($(PASDK_BASE_DIR),)\r
+PASDK_BASE_DIR := $(shell pwd)\r
+endif\r
+\r
+ifeq ($(SRC_PATH),)\r
+SRC_PATH = $(PASDK_BASE_DIR)/pasdk\r
+endif\r
+\r
+\r
+XDCPATH = $(PDK_DIR)/packages;$(OMP_DIR)/packages;$(BIOS_DIR)/packages;$(IPC_DIR)/packages;$(XDAIS_DIR)/packages;$(EDMA3_DIR)/packages;\r
+\r
+XDC=$(XDC_DIR)/xdc\r
+XS=$(XDC_DIR)/xs\r
+XDCPKG=$(XDC_DIR)/bin/xdcpkg\r
+\r
+COMPONENT_NAME = pasdk\r
+VERSION = 1_2_0_0\r
+\r
+ifeq ($(TARGET),SOC_K2G)\r
+target=k2g\r
+else\r
+$(call error, ERROR - TARGET NOT DEFINED. Must specify TARGET=SOC_K2G)\r
+endif\r
+\r
+PACKAGE_NAME = ${COMPONENT_NAME}_${target}_${VERSION}\r
+\r
+all: package\r
+\r
+.lib:\r
+\r
+.eclipse: .exports\r
+ @echo creating product plugin\r
+ $(XDC) clean -P $(PASDK_BASE_DIR)/installer_builder/rtsc/eclipse\r
+ $(XDC) -P $(PASDK_BASE_DIR)/installer_builder/rtsc/eclipse\r
+ $(XS) --xdcpath "$(XDCPATH);$(PASDK_BASE_DIR)/installer_builder/rtsc" xdc.tools.product.plugingen -p exports/$(PACKAGE_NAME) -m eclipse.Product\r
+\r
+.exports:\r
+ @echo "making product directories ..."\r
+ @rm -f exports/$(PACKAGE_NAME).zip\r
+ @rm -rf exports/$(PACKAGE_NAME)\r
+ @mkdir -p exports/$(PACKAGE_NAME)\r
+ @mkdir -p exports/$(PACKAGE_NAME)/packages\r
+ @mkdir -p exports/$(PACKAGE_NAME)/packages/ti/pasdk\r
+\r
+.docs:\r
+\r
+package: .lib .docs .exports .eclipse\r
+ @echo "copying files ..."\r
+ @cp -R $(PASDK_BASE_DIR)/pasdk exports/$(PACKAGE_NAME)/packages/ti\r
+ @cp -R $(PASDK_PAF_DIR) exports/$(PACKAGE_NAME)/packages/ti\r
+ @echo "archive files to tar ball ..."\r
+ @cd exports; zip -q -r $(PACKAGE_NAME).zip $(PACKAGE_NAME)\r
+\r
+clean: \r
+ rm -r exports/$(PACKAGE_NAME); rm exports/$(PACKAGE_NAME).zip\r
diff --git a/installer_builder/rtsc/eclipse/Product.xdc b/installer_builder/rtsc/eclipse/Product.xdc
--- /dev/null
@@ -0,0 +1,69 @@
+/* --COPYRIGHT--,BSD\r
+ * Copyright (c) $(CPYYEAR), Texas Instruments Incorporated\r
+ * All rights reserved.\r
+ *\r
+ * Redistribution and use in source and binary forms, with or without\r
+ * modification, are permitted provided that the following conditions\r
+ * are met:\r
+ *\r
+ * * Redistributions of source code must retain the above copyright\r
+ * notice, this list of conditions and the following disclaimer.\r
+ *\r
+ * * Redistributions in binary form must reproduce the above copyright\r
+ * notice, this list of conditions and the following disclaimer in the\r
+ * documentation and/or other materials provided with the distribution.\r
+ *\r
+ * * Neither the name of Texas Instruments Incorporated nor the names of\r
+ * its contributors may be used to endorse or promote products derived\r
+ * from this software without specific prior written permission.\r
+ *\r
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"\r
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,\r
+ * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR\r
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR\r
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,\r
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,\r
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;\r
+ * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,\r
+ * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR\r
+ * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,\r
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\r
+ * --/COPYRIGHT--*/\r
+\r
+\r
+import xdc.tools.product.IProduct; \r
+\r
+metaonly module Product inherits IProduct {\r
+ \r
+ override config String name = "Performance Audio SDK";\r
+\r
+ override config String id = "com.ti.rtsc.pasdk";\r
+\r
+ override config IProduct.UrlDescriptor updateSite = {\r
+ url:"http://software-dl.ti.com/dsps/dsps_public_sw/sdo_ccstudio/TargetContent/Updates/full/site.xml",\r
+ text:"Target Content Updates"\r
+ };\r
+\r
+ override config String version = "1.02.00.00"; \r
+\r
+ override config String companyName = "Texas Instruments Inc.";\r
+ \r
+ override config String copyRightNotice = "Copyright Texas Instruments 2018";\r
+\r
+ override config IProduct.UrlDescriptor productDescriptor = {\r
+ url: "http://www.ti.com",\r
+ text: "PASDK"\r
+ };\r
+\r
+ override config IProduct.UrlDescriptor licenseDescriptor = {\r
+ text: "Texas Instruments Incorporated - Technology Software Publicly Available license"\r
+ };\r
+\r
+ override config String repositoryArr[] = ["packages"];\r
+\r
+ override config String docsLocArr[] = [\r
+ "docs/doxygen/html"\r
+ ];\r
+\r
+ override config String bundleName = "pasdk";\r
+}\r
diff --git a/installer_builder/rtsc/eclipse/config.bld b/installer_builder/rtsc/eclipse/config.bld
--- /dev/null
@@ -0,0 +1,31 @@
+/* --COPYRIGHT--,BSD\r
+ * Copyright (c) $(CPYYEAR), Texas Instruments Incorporated\r
+ * All rights reserved.\r
+ *\r
+ * Redistribution and use in source and binary forms, with or without\r
+ * modification, are permitted provided that the following conditions\r
+ * are met:\r
+ *\r
+ * * Redistributions of source code must retain the above copyright\r
+ * notice, this list of conditions and the following disclaimer.\r
+ *\r
+ * * Redistributions in binary form must reproduce the above copyright\r
+ * notice, this list of conditions and the following disclaimer in the\r
+ * documentation and/or other materials provided with the distribution.\r
+ *\r
+ * * Neither the name of Texas Instruments Incorporated nor the names of\r
+ * its contributors may be used to endorse or promote products derived\r
+ * from this software without specific prior written permission.\r
+ *\r
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"\r
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,\r
+ * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR\r
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR\r
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,\r
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,\r
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;\r
+ * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,\r
+ * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR\r
+ * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,\r
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\r
+ * --/COPYRIGHT--*/\r
diff --git a/installer_builder/rtsc/eclipse/package.bld b/installer_builder/rtsc/eclipse/package.bld
--- /dev/null
@@ -0,0 +1,31 @@
+/* --COPYRIGHT--,BSD\r
+ * Copyright (c) $(CPYYEAR), Texas Instruments Incorporated\r
+ * All rights reserved.\r
+ *\r
+ * Redistribution and use in source and binary forms, with or without\r
+ * modification, are permitted provided that the following conditions\r
+ * are met:\r
+ *\r
+ * * Redistributions of source code must retain the above copyright\r
+ * notice, this list of conditions and the following disclaimer.\r
+ *\r
+ * * Redistributions in binary form must reproduce the above copyright\r
+ * notice, this list of conditions and the following disclaimer in the\r
+ * documentation and/or other materials provided with the distribution.\r
+ *\r
+ * * Neither the name of Texas Instruments Incorporated nor the names of\r
+ * its contributors may be used to endorse or promote products derived\r
+ * from this software without specific prior written permission.\r
+ *\r
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"\r
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,\r
+ * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR\r
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR\r
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,\r
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,\r
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;\r
+ * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,\r
+ * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR\r
+ * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,\r
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\r
+ * --/COPYRIGHT--*/\r
diff --git a/installer_builder/rtsc/eclipse/package.xdc b/installer_builder/rtsc/eclipse/package.xdc
--- /dev/null
@@ -0,0 +1,43 @@
+/* --COPYRIGHT--,BSD\r
+ * Copyright (c) $(CPYYEAR), Texas Instruments Incorporated\r
+ * All rights reserved.\r
+ *\r
+ * Redistribution and use in source and binary forms, with or without\r
+ * modification, are permitted provided that the following conditions\r
+ * are met:\r
+ *\r
+ * * Redistributions of source code must retain the above copyright\r
+ * notice, this list of conditions and the following disclaimer.\r
+ *\r
+ * * Redistributions in binary form must reproduce the above copyright\r
+ * notice, this list of conditions and the following disclaimer in the\r
+ * documentation and/or other materials provided with the distribution.\r
+ *\r
+ * * Neither the name of Texas Instruments Incorporated nor the names of\r
+ * its contributors may be used to endorse or promote products derived\r
+ * from this software without specific prior written permission.\r
+ *\r
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"\r
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,\r
+ * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR\r
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR\r
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,\r
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,\r
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;\r
+ * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,\r
+ * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR\r
+ * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,\r
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\r
+ * --/COPYRIGHT--*/\r
+/*!\r
+ * ======== eclipse ========\r
+ * Contains templates for CCS/Eclipse integration.\r
+ */\r
+\r
+/*!\r
+ * ======== eclipse ========\r
+ * @_nodoc\r
+ */\r
+package eclipse {\r
+ module Product;\r
+};\r
diff --git a/installer_builder/rtsc/readme.txt b/installer_builder/rtsc/readme.txt
--- /dev/null
@@ -0,0 +1,5 @@
+This folder contains makefile and other files needed to create a RTSC product for PASDK.
+
+Issue the following command from root folder of PASDK:
+make -f installer_builder/rtsc/Makefile TARGET=SOC_K2G
+