Messages in this thread | | | Date | Wed, 14 Jul 2010 18:33:11 +0200 | From | Michal Marek <> | Subject | Re: [PATCH] [RFC] implement size_append in perl |
| |
On 07/14/2010 06:12 PM, Alexander Shishkin wrote: > On Wed, Jul 14, 2010 at 07:54:43 -0700, H. Peter Anvin wrote: >> On 07/14/2010 07:01 AM, Alexander Shishkin wrote: >>> +size_append = $(PERL) -e 'print pack("V", (stat "$(lastword $1)")[7])' >> >> Why the "lastword"? > > There's a whitespace right after it due to it being part of the target > spec "$(obj)/piggy.$(suffix_y) FORCE", where "FORCE" is being filtered > out.
Then you should use $(strip $1), which is more obvious IMO.
Michal
| |