📄 package.xs
字号:
/* * Copyright 2006 by Texas Instruments Incorporated. * * All rights reserved. Property of Texas Instruments Incorporated. * Restricted rights to use, duplicate or disclose this code are * granted through contract. * *//* * ======== package.xs ======== * Implementation of the xdc.IPackage interface. *//* * ======== getLibs ======== * Determine the name of the library to use, based on the program * configuration (prog). */function getLibs(prog){ var name = ""; /* * Note that this package demonstrates several different ways to * build, including CCS projects, GNU makefiles and XDC Builds. * The location of the libraries, however are always in the same place. * As a result, this getLibs function is relatively simple. */ if (this.profile == "debug") { /* "mangle" program build attrs into an appropriate directory name */ name = "lib/debug/videnc1_copy.a" + prog.build.target.suffix; } else { name = "lib/videnc1_copy.a" + prog.build.target.suffix; } /* and dump a helpful breadcrumb */ print(" will link with " + this.$name + ":" + name); return (name);}/* * @(#) ti.xdais.dm.examples.videnc1_copy; 1,0,0,7; 10-18-2006 19:12:30; /db/wtree/library/trees/dais-g07x/src/ */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -