[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Problem with makefile
From: |
Paul Smith |
Subject: |
Re: Problem with makefile |
Date: |
Wed, 06 Mar 2013 14:18:06 -0500 |
On Wed, 2013-03-06 at 18:30 +0000, Hiebert, Darren (IS) wrote:
> $(foreach index,$($(1)_TARGET_NUMBERS),$(call
> target_assignments,$(1),BIN$(index)))
This line is quoted incorrectly. You need to write:
$$($(1)_TARGET_NUMBERS)
^^
Otherwise this variable is expanded the first time, when the call is
invoked, before the eval has run, and the value of SAMPLE_TARGET_NUMBERS
is not set until the eval is running so it evaluates to the empty
string.