Patchwork [1/2] Revert "dependencies: ensure that DESTDIR isn't set when running Buildroot"

login
register
mail settings
Submitter Thomas Petazzoni
Date July 2, 2012, 2:21 p.m.
Message ID <1341238874-1309-1-git-send-email-thomas.petazzoni@free-electrons.com>
Download mbox | patch
Permalink /patch/168601/
State Accepted
Commit 69b236024113da1eadc0b7d2d297308cec48bf65
Headers show

Comments

Thomas Petazzoni - July 2, 2012, 2:21 p.m.
We should instead simply unset it at runtime, like we do for
PKG_CONFIG_PATH.

This reverts commit 9910eba33adb2b783b0df5d90a857816e82fbd55.
---
 support/dependencies/dependencies.sh |    6 ------
 1 file changed, 6 deletions(-)
Peter Korsgaard - July 2, 2012, 6:54 p.m.
>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni@free-electrons.com> writes:

 Thomas> We should instead simply unset it at runtime, like we do for
 Thomas> PKG_CONFIG_PATH.

Committed both, thanks.

Patch

diff --git a/support/dependencies/dependencies.sh b/support/dependencies/dependencies.sh
index 43ec3cc..c47ffcf 100755
--- a/support/dependencies/dependencies.sh
+++ b/support/dependencies/dependencies.sh
@@ -48,12 +48,6 @@  if test -n "$PERL_MM_OPT" ; then
     exit 1
 fi
 
-if test -n "$DESTDIR" ; then
-    /bin/echo -e "\nYou have the DESTDIR environment variable set. Please"
-    /bin/echo -e "unset it so that Buildroot can work properly."
-    exit 1
-fi
-
 # Verify that which is installed
 if ! which which > /dev/null ; then
 	/bin/echo -e "\nYou must install 'which' on your build machine\n";