All of lore.kernel.org
 help / color / mirror / Atom feed
* sdk created with arago fido contains hardcoded paths to build system in setup script
@ 2016-03-23 12:12 Thomas Kaufmann
  2016-04-14 17:33 ` Denys Dmytriyenko
  0 siblings, 1 reply; 4+ messages in thread
From: Thomas Kaufmann @ 2016-03-23 12:12 UTC (permalink / raw)
  To: meta-arago@arago-project.org

[-- Attachment #1: Type: text/plain, Size: 1361 bytes --]

Hi I tried to get an answer to this from the TI e2e community, but so far without luck:

https://e2e.ti.com/support/embedded/linux/f/354/p/500188/1811754#1811754

My issue is this:

When I create a SDK for my target platform using arago with the populate_sdk command in bitbake. I receive a self extracting shell script, which unpacks all the rootfs, compilers, libraries and everything. Basically the SDK is working and I am able to develop for my target with it.

One thing bothers me:

in the environment-setup-cortexa8hf-vfp-non-linux-gnueabi file which needs to be sourced before using the SDK, there are some hardcoded paths which point to the linaro toolchain as it is installed on the original system, where I actually build the SDK,

e.g.: export CFLAGS=" -isystem/home/tkaufmann/gcc-linaro-4.9-2015.05-x86_64_arm-linux-gnueabihf/arm-linux-gnueabihf/include  -fstack-protector -O2 -pipe -g -feliminate-unused-debug-types"

similar things are in CFLAGS, CXXFLAGS, LDFLAGS and CPPFLAGS

The plan was to use the compiler and sysroot as it is available in the SDK. This is working so far for sinple projects without separately installing the linaro toolchain. Why are these linaro based paths in the environment-setup script and how do I get rid of this to not confuse the users of the SDK?

I appreciate your feedback

Regards Thomas

[-- Attachment #2: Type: text/html, Size: 4742 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2016-04-25 13:01 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-03-23 12:12 sdk created with arago fido contains hardcoded paths to build system in setup script Thomas Kaufmann
2016-04-14 17:33 ` Denys Dmytriyenko
2016-04-22 16:26   ` Thomas Kaufmann
2016-04-25 13:00   ` Thomas Kaufmann

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.