From 1a2433b58e841f36790bd4015e1a19e5b9793d9a Mon Sep 17 00:00:00 2001 From: Thomas Petazzoni Date: Fri, 31 Jul 2009 08:48:03 +0200 Subject: makefile: don't hardcore install utility location Signed-off-by: Thomas Petazzoni --- package/Makefile.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'package') 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) -- cgit v1.2.3