summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorTony Theodore <tonyt@logyst.com>2013-09-12 07:25:13 (GMT)
committerTony Theodore <tonyt@logyst.com>2013-09-12 07:25:13 (GMT)
commitbc6104ccca368b715022542bb5ba4c51f5961ad0 (patch)
tree51e64c14c37d7783536c7303a3dcb0719f34d671 /Makefile
parentc50e6911b180351c4762461e4723d291d01caadc (diff)
downloadmxe-bc6104ccca368b715022542bb5ba4c51f5961ad0.zip
mxe-bc6104ccca368b715022542bb5ba4c51f5961ad0.tar.gz
mxe-bc6104ccca368b715022542bb5ba4c51f5961ad0.tar.bz2
Makefile: move config.guess install from binutils
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 8a9d9e3..09dba06 100644
--- a/Makefile
+++ b/Makefile
@@ -41,6 +41,10 @@ BUILD := $(shell '$(TOP_DIR)/tools/config.guess')
BUILD_PKGS := $(shell grep -l 'BUILD_$$(BUILD)' '$(TOP_DIR)/src/'*.mk | $(SED) -n 's,.*src/\(.*\)\.mk,\1,p')
PATH := $(PREFIX)/$(BUILD)/bin:$(PREFIX)/bin:$(PATH)
+# install config.guess for general use
+$(INSTALL) -d '$(PREFIX)/bin'
+$(INSTALL) -m755 '$(TOP_DIR)/tools/config.guess' '$(PREFIX)/bin/'
+
# use a minimal whitelist of safe environment variables
ENV_WHITELIST := PATH LANG MAKE% MXE% %PROXY %proxy
unexport $(filter-out $(ENV_WHITELIST),$(shell env | cut -d '=' -f1))