Linus, things still fail for me even with the $(strip ...) construct
you added works properly.

For some reason things like $(call cc-option-yn...) still fail.

My make version 3.81beta4 has the space problem, and with your
change it just returns a space. :-)  Without your change it
gives the problematic " y" string.

A running theory of mine is that it's a "$(call)" within a
$(call) which generates the space.  So I wrote a little
make.test:

define test1
  $(shell echo "str1")
endef

define test2
  $(call test1)
endef

FOO := A$(call test2)B

all:
        echo A$(FOO)B

If I run "make -f make.test" I get:

[EMAIL PROTECTED]:~/src/GIT/net-2.6$ make -f make.test
echo AA    str1BB
AA str1BB
[EMAIL PROTECTED]:~/src/GIT/net-2.6$

Hmmm...  but I just checked on a proper "GNU Make 3.81" and that
prints the space in the example above too.

Weird...

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to