From 39bc3614d60e364830fb8ea15c7fab9534959a2f Mon Sep 17 00:00:00 2001 From: Arnout Vandecappelle Date: Wed, 5 Jul 2017 13:14:42 +0200 Subject: [PATCH] lzip: use $(HOST_DIR) as prefix instead of DESTDIR ... and remove the /usr prefix Signed-off-by: Arnout Vandecappelle (Essensium/Mind) Signed-off-by: Thomas Petazzoni --- package/lzip/lzip.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package/lzip/lzip.mk b/package/lzip/lzip.mk index 04c83f1133..cb8803737e 100644 --- a/package/lzip/lzip.mk +++ b/package/lzip/lzip.mk @@ -15,7 +15,7 @@ define LZIP_CONFIGURE_CMDS endef define HOST_LZIP_CONFIGURE_CMDS - (cd $(@D); $(HOST_MAKE_ENV) ./configure --prefix=/usr \ + (cd $(@D); $(HOST_MAKE_ENV) ./configure --prefix=$(HOST_DIR) \ $(HOST_CONFIGURE_OPTS) ) endef @@ -32,7 +32,7 @@ define LZIP_INSTALL_TARGET_CMDS endef define HOST_LZIP_INSTALL_CMDS - $(HOST_MAKE_ENV) $(MAKE) -C $(@D) DESTDIR=$(HOST_DIR) install + $(HOST_MAKE_ENV) $(MAKE) -C $(@D) install endef # It's not autotools-based -- 2.30.2