From: Thomas Petazzoni Date: Fri, 31 Jul 2009 06:48:03 +0000 (+0200) Subject: makefile: don't hardcore install utility location X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1a2433b58e841f36790bd4015e1a19e5b9793d9a;p=buildroot.git makefile: don't hardcore install utility location Signed-off-by: Thomas Petazzoni --- diff --git a/package/Makefile.in b/package/Makefile.in index 3dcdfe104f..0829e8f3bb 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)