summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2009-07-31 08:48:03 +0200
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2009-07-31 08:48:03 +0200
commit1a2433b58e841f36790bd4015e1a19e5b9793d9a (patch)
treef81035c7a9ef2c116b9f837bc59d012bb850b210
parent00c8bdd5613927a94e0a92ff3833004db5f40c05 (diff)
makefile: don't hardcore install utility location
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-rw-r--r--package/Makefile.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/Makefile.in b/package/Makefile.in
index 3dcdfe104..0829e8f3b 100644
--- a/package/Makefile.in
+++ b/package/Makefile.in
@@ -181,7 +181,7 @@ ifeq ($(BR2_STRIP_none),y)
TARGET_STRIP=true -Not_stripping
STRIPCMD=$(TARGET_STRIP)
endif
-INSTALL=/usr/bin/install
+INSTALL=$(shell which install || type -p install)
FLEX:=$(shell which flex || type -p flex)
BISON:=$(shell which bison || type -p bison)