[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <1170943920.15584.234.camel@kdsk1.austin.ibm.com>
Date: Thu, 08 Feb 2007 08:12:00 -0600
From: Michal Ostrowski <mostrows@...son.ibm.com>
To: David Miller <davem@...emloft.net>
Cc: paulus@...ba.org, linuxppc-dev@...abs.org, olecom@...wer.upol.cz,
torvalds@...ux-foundation.org, linux-kernel@...r.kernel.org
Subject: Re: Kbuild change breaks the ppc64 build
Isn't the extra space there because you've included it in the definition
of "test"? The attempt at introducing indentation introduces the extra
space character. Defining test without the internal indentation should
produce the results you are looking for.
--
Michal Ostrowski <mostrows@...son.ibm.com>
On Thu, 2007-02-08 at 04:00 -0800, David Miller wrote:
> For some reason $(call ...) invocations add spaces. I tried
> another test case:
>
> define test
> $(shell echo -n)
> endef
>
> VAR:=$(call test)
>
> all:
> @echo "\'$(VAR)\'"
>
> And this always prints:
>
> ' TEST'
>
> even with GNU Make version 3.81
>
> If I put a $(strip ...) around the define, the space is
> still there. If I put the $(strip ...) around VAR's
> $(call), the space goes away.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists