aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Embedded_SW/Embedded/debug_w_pmr/configPkg/package.xs
blob: 373d44f5eaa45681f4cbd97a726c6a12364aca6d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/* THIS IS A GENERATED FILE -- DO NOT EDIT */

/* return the names of the generated config objects */
function getLibs(prog) {
    /* for programs, push the generated config object file into the
     * generated linker command file.
     */
    /* replace the last period in the name by an underscore */
    var name = "package/cfg/" + prog.name.replace(/\.([^.]*)$/, "_$1");
    /* base is a hack until we add cfgName to Program */
    var base = "package/cfg/" + prog.name.replace(/\.([^.]*)$/, "");
    var suffix = prog.build.target.suffix;

    var libs = [
//        name + '.o' + suffix, 
        base + '_p' + suffix + '.o' + suffix
    ];

    return libs.join(';');
}