[Buildroot] Question: := vs = in package *.mk files

Peter Korsgaard jacmet at uclibc.org
Wed Oct 5 20:40:01 UTC 2011


>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni at free-electrons.com> writes:

Hi,

 Thomas> In package definition, Peter has said that he preferred the usage of
 Thomas> '=' except when it would create a noticeable performance problem. So
 Thomas> for all package definitions such as _SITE, _VERSION, _SOURCE,
 Thomas> _AUTORECONF, _INSTALL_STAGING, etc. the '=' sign is the one to choose.

Indeed. And the reason for this is that it fixes ordering issues because
of the late bindings, so you don't need to be careful about using
"outside" variables within a package .mk

-- 
Bye, Peter Korsgaard


More information about the buildroot mailing list