]> rtime.felk.cvut.cz Git - coffee/buildroot.git/commitdiff
lzip: use $(HOST_DIR) as prefix instead of DESTDIR
authorArnout Vandecappelle <arnout@mind.be>
Wed, 5 Jul 2017 11:14:42 +0000 (13:14 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Wed, 5 Jul 2017 14:06:41 +0000 (16:06 +0200)
... and remove the /usr prefix

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/lzip/lzip.mk

index 04c83f11331c6fea958341601ae42804d0dc10fd..cb8803737e16daaa6349115623c1a2e13d421e81 100644 (file)
@@ -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