diff options
author | Sam Nelson <sam.nelson@ti.com> | 2019-10-05 09:34:40 -0400 |
---|---|---|
committer | Sam Nelson <sam.nelson@ti.com> | 2019-10-08 15:50:40 -0400 |
commit | ce07b5e28af0494012bc67dfd6a1e3f32e99acd2 (patch) | |
tree | d3d15bd9141306d7c1afb02d67423962b7cb0ed3 | |
parent | ba5e3e8f57ba7a7b4549ed22c9215bc83123520a (diff) | |
download | ipc-ce07b5e28af0494012bc67dfd6a1e3f32e99acd2.tar.gz |
build: Remove deprecated --gcc option
With the --gcc option the current gcc compiler gives warning and hence
removed
Signed-off-by: Sam Nelson <sam.nelson@ti.com>
-rw-r--r-- | packages/ti/ipc/transports/package.bld | 6 | ||||
-rw-r--r-- | packages/ti/sdo/ipc/Build.xs | 9 |
2 files changed, 1 insertions, 14 deletions
diff --git a/packages/ti/ipc/transports/package.bld b/packages/ti/ipc/transports/package.bld index 39518cd..46b103c 100644 --- a/packages/ti/ipc/transports/package.bld +++ b/packages/ti/ipc/transports/package.bld @@ -58,12 +58,6 @@ for (var i = 0; i < Build.targets.length; i++) { continue; } - if (targ.$name.match(/^ti\.targets\./)) { - myCopts = "--gcc"; /* Rpmsg.h requires gcc-isms */ - } else { - myCopts = ""; - } - for (var profile in targ.profiles) { /* For all targets, build a rpmsg-upstream-compatible lib */ diff --git a/packages/ti/sdo/ipc/Build.xs b/packages/ti/sdo/ipc/Build.xs index 4caed1e..4728e5b 100644 --- a/packages/ti/sdo/ipc/Build.xs +++ b/packages/ti/sdo/ipc/Build.xs @@ -353,15 +353,8 @@ function module$validate() */ function getCCOpts(target) { - var ccOpts = ""; - if (target.$name.match(/^ti\.targets\./)) { - if (("ti.ipc.rpmsg" in xdc.om) || ("ti.ipc.transports" in xdc.om)) { - ccOpts += " --gcc"; - } - } - - return (Build.customCCOpts + ccOpts); + return (Build.customCCOpts); } /* |