autotools: add escaping when using HOST_MAKE_ENV and TARGET_MAKE_ENV
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sat, 24 Dec 2011 12:07:03 +0000 (13:07 +0100)
committerPeter Korsgaard <jacmet@sunsite.dk>
Mon, 2 Jan 2012 22:02:33 +0000 (23:02 +0100)
commit43695a98920a8b2856f8973b8afac2c012cf0f45
treee99fbefda633a1c45fa37268945717f7081186b4
parentb12dfaf15cd9c1df55eed225754389303f76b013
autotools: add escaping when using HOST_MAKE_ENV and TARGET_MAKE_ENV

Without this escaping, the evaluation of HOST_MAKE_ENV and
TARGET_MAKE_ENV is done when the AUTOTARGETS_INNER macro is defined,
not when it is instantiated by the various packages. The result is
that the $(PKG_CONFIG_HOST_BINARY) variable, used in $(HOST_MAKE_ENV)
gets expanded before it is defined.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
package/Makefile.autotools.in