From: Arnout Vandecappelle Date: Wed, 5 Jul 2017 11:14:42 +0000 (+0200) Subject: lzip: use $(HOST_DIR) as prefix instead of DESTDIR X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=39bc3614d60e364830fb8ea15c7fab9534959a2f;p=buildroot.git 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 --- 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