> -----Original Message-----
> From: Dmytriyenko, Denys
> Sent: Wednesday, March 04, 2015 2:20 PM
> To: Cooper Jr., Franklin
> Cc: [email protected]
> Subject: Re: [meta-arago] [PATCH 2/3] stream: Add append for TISDK
> customizations
> 
> On Wed, Mar 04, 2015 at 02:05:15PM -0600, Franklin S. Cooper Jr wrote:
> > From: "Franklin S. Cooper Jr" <[email protected]>
> >
> > * Use an SDK branch that slightly tweaks the makefile to include generic
> >   optimizations that should be used by all TI platforms.
> > * Also manually set certain variables to insure no additional/unexpected
> >   compiler optimization are pulled in.
> >
> > Signed-off-by: Franklin S. Cooper Jr <[email protected]>
> > ---
> >  .../recipes-benchmark/stream/stream_git.bbappend   |   10 ++++++++++
> >  1 file changed, 10 insertions(+)
> >  create mode 100644
> > meta-arago-distro/recipes-benchmark/stream/stream_git.bbappend
> >
> > diff --git
> > a/meta-arago-distro/recipes-benchmark/stream/stream_git.bbappend
> > b/meta-arago-distro/recipes-benchmark/stream/stream_git.bbappend
> > new file mode 100644
> > index 0000000..83adfb6
> > --- /dev/null
> > +++ b/meta-arago-distro/recipes-
> benchmark/stream/stream_git.bbappend
> > @@ -0,0 +1,10 @@
> > +PR_append = "-arago0"
> > +
> > +BRANCH = "sdk"
> > +SRCREV = "cfd73a33c0ceef1f8532ce6a71de3bcf9435f6a2"
> > +
> > +do_compile_prepend() {
> > +    #Explicitly set some variables to insure no unexpected optimizations 
> > are
> being passed in.
> > +    export CFLAGS="-
> isystem${EXTERNAL_TOOLCHAIN}/${ELT_TARGET_SYS}/include"
> > +    export LDFLAGS="-L${EXTERNAL_TOOLCHAIN}/${ELT_TARGET_SYS}/lib -
> Wl,-rpath-link,${EXTERNAL_TOOLCHAIN}/${ELT_TARGET_SYS}/lib"
> 
> NAK, this assumes external Linaro toolchain. Can you make it more generic?
> Why can't you use the sysroots?
[Franklin] Oops didn't notice that. I simply looked at the bitbake env 
variables and stripped away what I didn't need from CFLAGS and LDFLAGS. I'll 
send a v2 shortly.
> --
> Denys
_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago

Reply via email to