[OE-core] what's with the loop with "in in" in u-boot.inc?

Robert P. J. Day rpjday at crashcourse.ca
Sat Mar 7 14:04:52 UTC 2015


  based on a recent post to this(?) list, i was curious about the
following loop construct in u-boot.inc:

        for config in ${UBOOT_MACHINE}; do
            for type in in ${UBOOT_CONFIG}; do
                if [ "${type}"x = "in"x ]
                then
                    continue
                fi

  the words "in in" above don't appear to be a typo, as the next
condition explicitly checks for the value "in" and skips it. what's
the rationale for that? i used "git blame" to examine the commit that
introduced that, but it says nothing about that curiosity.

rday

-- 

========================================================================
Robert P. J. Day                                 Ottawa, Ontario, CANADA
                        http://crashcourse.ca

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



More information about the Openembedded-core mailing list