Skip to contentSkip to conversation

"_append" error in gdb-cross-canadian.inc?

DISCUSSION Robert P. J. Day 3 participants 6 messages Mar 5, 2015

lore
Share & tools
lore
#0 lore raw
  EXTRA_OECONF_append = "--with-python=${WORKDIR}/python"
                         ^??

does that not require a leading space there?

rday

Signature · 7 lines
========================================================================
Robert P. J. Day                                 Ottawa, Ontario, CANADA
                        http://crashcourse.ca

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================
#1 lore raw
Quoted 5 lines · Robert P. J. Day
  EXTRA_OECONF_append = "--with-python=${WORKDIR}/python"
                         ^??

does that not require a leading space there?

just did a quick scan of other possibilities where a leading space
might be needed where _append is being used to append command-line options, and here's the only other one i could find:

meta/recipes-multimedia/libpng/libpng_1.6.16.bb:EXTRA_OECONF_append_class-target = " ${@bb.utils.contains("TUNE_FEATURES", "neon", "--enable-arm-neon=on", "--enable-arm-neon=off" ,d)}"

i'll let someone else apply those if they're actually needed.

rday

Signature · 7 lines
========================================================================
Robert P. J. Day                                 Ottawa, Ontario, CANADA
                        http://crashcourse.ca

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================
#2 lore raw
Quoted 8 lines · Robert P. J. Day
Quoted 5 lines · Robert P. J. Day
  EXTRA_OECONF_append = "--with-python=${WORKDIR}/python"
                         ^??

does that not require a leading space there?

Quoted 7 lines

just did a quick scan of other possibilities where a leading space
might be needed where _append is being used to append command-line options, and here's the only other one i could find:

meta/recipes-multimedia/libpng/libpng_1.6.16.bb:EXTRA_OECONF_append_class-target = " ${@bb.utils.contains("TUNE_FEATURES", "neon", "--enable-arm-neon=on", "--enable-arm-neon=off" ,d)}"

This one has a leading space.

Quoted 20 lines

i'll let someone else apply those if they're actually needed.

rday

Signature · 13 lines
========================================================================
Robert P. J. Day                                 Ottawa, Ontario, CANADA
                        http://crashcourse.ca

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================

-- 
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core
Signature · 1 line
Martin 'JaMa' Jansa     jabber: [email protected]
#3 lore raw
Quoted 13 lines · Martin Jansa
Quoted 12 lines · Robert P. J. Day
Quoted 5 lines · Robert P. J. Day
  EXTRA_OECONF_append = "--with-python=${WORKDIR}/python"
                         ^??

does that not require a leading space there?

just did a quick scan of other possibilities where a leading space
might be needed where _append is being used to append command-line options, and here's the only other one i could find:

Quoted 5 lines
Quoted 3 lines

meta/recipes-multimedia/libpng/libpng_1.6.16.bb:EXTRA_OECONF_append_class-target = " ${@bb.utils.contains("TUNE_FEATURES", "neon", "--enable-arm-neon=on", "--enable-arm-neon=off" ,d)}"

This one has a leading space.

whoops, you're right, i didn't look far enough back.

rday

Signature · 7 lines
========================================================================
Robert P. J. Day                                 Ottawa, Ontario, CANADA
                        http://crashcourse.ca

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================
#4 lore raw
In reply to Robert P. J. Day
Quoted 5 lines · Robert P. J. Day
   EXTRA_OECONF_append = "--with-python=${WORKDIR}/python"
                          ^??

does that not require a leading space there?

It is required, this one doesn't cause error is because in gdb-common.inc:

EXTRA_OECONF = "[snip] \
                --disable-rpath \
               "

If:

EXTRA_OECONF = "[snip] \
--disable-rpath"

Then there would be errors.

// Robert

Quoted 3 lines

rday

#5 lore raw
Quoted 13 lines · Robert Yang
Quoted 5 lines · Robert P. J. Day
   EXTRA_OECONF_append = "--with-python=${WORKDIR}/python"
                          ^??

does that not require a leading space there?

It is required, this one doesn't cause error is because in gdb-common.inc:

EXTRA_OECONF = "[snip] \
               --disable-rpath \
               "
Quoted 6 lines

If:

EXTRA_OECONF = "[snip] \
--disable-rpath"

Then there would be errors.

yeah ... that's not the sort of luck i'd like to count on on a
regular basis. :-)

rday

Signature · 7 lines
========================================================================
Robert P. J. Day                                 Ottawa, Ontario, CANADA
                        http://crashcourse.ca

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================