index 4772c5cb8e5939e3ac607dfea00be6e0cb1f7c84..47f1ce8d8a827e6d1cc5a2b85d2fcae0e51579ba 100644 (file)
/*
- * Copyright (c) 2011-2013, Texas Instruments Incorporated
+ * Copyright (c) 2011-2014, Texas Instruments Incorporated
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
Pkg.attrs.exportSrc = false;
Pkg.attrs.exportCfg = true;
Pkg.otherFiles = [
+ "ServiceMgr.c",
"ServiceMgr.h",
"rpmsg_omx.h",
- "omx_packet.h"
+ "omx_packet.h",
+ "package.bld"
];
/* list of libraries to build */
for (var j = 0; j < Build.targets.length; j++) {
var targ = Build.targets[j];
+ /*
+ * Only devices with an rpmsg-enabled HLOS and a slave would need this
+ * library. Skip targets that will never need this.
+ */
+ if (!((targ.isa.match(/^64T$/)) || (targ.isa.match(/^66(|e)$/)) ||
+ (targ.isa.match(/^674$/)) || (targ.isa.match(/^v7M(|4)$/)))) {
+ continue;
+ }
+
/* skip target if it does not generate code for the given isa */
if ("isas" in lib) {
var skipTarget = true;