diff options
author | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2012-07-02 04:21:14 +0000 |
---|---|---|
committer | Peter Korsgaard <jacmet@sunsite.dk> | 2012-07-02 20:22:50 +0200 |
commit | 91123a6fab2770ced312fc54a69f4d83f3a2e1e5 (patch) | |
tree | 8e139888c9b27c2bc2b335ff8a36a13437404392 | |
parent | 69b236024113da1eadc0b7d2d297308cec48bf65 (diff) | |
download | buildroot-novena-91123a6fab2770ced312fc54a69f4d83f3a2e1e5.tar.gz buildroot-novena-91123a6fab2770ced312fc54a69f4d83f3a2e1e5.zip |
Ensure DESTDIR will not confuse the build
Having DESTDIR defined will confuse the build of certain packages, so
we ensure that it is undefined from the environment when Buildroot
starts.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
-rw-r--r-- | Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -168,6 +168,10 @@ export HOSTCC_NOCCACHE HOSTCXX_NOCCACHE # Make sure pkg-config doesn't look outside the buildroot tree unexport PKG_CONFIG_PATH +# Having DESTDIR set in the environment confuses the installation +# steps of some packages. +unexport DESTDIR + # bash prints the name of the directory on 'cd <dir>' if CDPATH is # set, so unset it here to not cause problems. Notice that the export # line doesn't affect the environment of $(shell ..) calls, so |