On Tue, Jul 25, 2017 at 04:06:39PM -0500, Ivan Pang wrote: > This recipe specifically installs the 7.x.x series of TI CGT6x. > > Signed-off-by: Ivan Pang <i-p...@ti.com> > --- > recipes-ti/devtools/ti-cgt6x-7-native_7.4.16.bb | 37 > +++++++++++++++++++++++++ > 1 file changed, 37 insertions(+) > create mode 100644 recipes-ti/devtools/ti-cgt6x-7-native_7.4.16.bb > > diff --git a/recipes-ti/devtools/ti-cgt6x-7-native_7.4.16.bb > b/recipes-ti/devtools/ti-cgt6x-7-native_7.4.16.bb > new file mode 100644 > index 0000000..335e0ae > --- /dev/null > +++ b/recipes-ti/devtools/ti-cgt6x-7-native_7.4.16.bb > @@ -0,0 +1,37 @@ > +DESCRIPTION = "TI DSP Code Generation Tools"
Use SUMMARY for short one-line descriptions. > +HOMEPAGE = > "https://www-a.ti.com/downloads/sds_support/TICodegenerationTools/download.htm" > +LICENSE = "TI" Please use the proper name for the license: http://arago-project.org/git/?p=meta-ti.git;a=tree;f=licenses;hb=refs/heads/morty > +LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=b6311962635a4f15630e36ec2d875eca" > + > +PE = "0" > +PR = "r0" These are the defaults, please drop them, especially PE. > +S = "${WORKDIR}/c6000_7.4.16" > + > +inherit native > +require recipes-ti/includes/ti-paths.inc > +require recipes-ti/includes/ti-unpack.inc > + > +BINFILE = "ti_cgt_c6000_7.4.16_linux_installer_x86.bin" > +BINFILE_NAME = "cgt6x_7.4.16_x86_installer" > +TI_BIN_UNPK_ARGS = "--prefix ${WORKDIR} --mode unattended" > +TI_BIN_UNPK_CMDS="" > + > +SRC_URI = "http://install.source.dir.local/${BINFILE};name=${BINFILE_NAME}" > + > +SRC_URI[cgt6x_7.4.16_x86_installer.md5sum] = > "21ca55c5b1f6b2d8d4fb7570d5eb5513" > +SRC_URI[cgt6x_7.4.16_x86_installer.sha256sum] = > "baa0d1ef20397383f99f45068a6d160963a01419d42fbbb851263b54c91df82f" > + > +do_install() { > + install -d ${D}/${TI_CGT6X_7_INSTALL_DIR_RECIPE} > + cp -r ${WORKDIR}/c6000_7.4.16/. ${D}/${TI_CGT6X_7_INSTALL_DIR_RECIPE} This will give you host contamination warnings. Please adjust "cp" args accordingly to not preserve ownership of files, e.g.: cp -rP --preserve=mode,links,timestamps --no-preserve=ownership > +} > + > +FILES_${PN} += "${TI_CGT6X_7_INSTALL_DIR_RECIPE}" > + > +INSANE_SKIP_${PN} += "arch staticdev" > + > +INHIBIT_PACKAGE_STRIP = "1" > +INHIBIT_SYSROOT_STRIP = "1" > +INHIBIT_PACKAGE_DEBUG_SPLIT = "1" > -- > 1.9.1 > > -- > _______________________________________________ > meta-ti mailing list > meta-ti@yoctoproject.org > https://lists.yoctoproject.org/listinfo/meta-ti -- _______________________________________________ meta-ti mailing list meta-ti@yoctoproject.org https://lists.yoctoproject.org/listinfo/meta-ti