[Buildroot] [PATCH] Makefile: unset MAKEFLAGS
thomas.petazzoni at free-electrons.com
Thu Jul 11 11:01:13 UTC 2013
Dear Thomas De Schampheleire,
On Thu, 11 Jul 2013 11:37:10 +0200, Thomas De Schampheleire wrote:
> What is the strategy with respect to cleaning up the user's
> environment when building buildroot?
> Because there are a number of other variables that users can have (and
> do have) that corrupt the build, for example:
> In the twisted environments that I'm working in, I'm unsetting these
> from a wrapper around buildroot make. However, it seems that there
> already are a number of cleanups done inside buildroot itself, so it
> makes sense to add the above variables to the list.
> What do you think?
We have are a bit inconsistent on this. Some variables are unset from
the main Makefile, and a bunch of others are checked in
support/dependencies/dependencies.sh. For example, LD_LIBRARY_PATH
which you mentioned get checked in support/dependencies/dependencies.sh.
Looks like a bit of cleanup in this area might be useful.
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
More information about the buildroot