libcap: use $(HOST_DIR) as prefix instead of DESTDIR
authorArnout Vandecappelle <arnout@mind.be>
Wed, 5 Jul 2017 11:14:41 +0000 (13:14 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Wed, 5 Jul 2017 14:06:40 +0000 (16:06 +0200)
... and also 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/libcap/libcap.mk

index 35a6a971342d3f19ed2f10b5341b4786eb960102..48c2cb345693e4af657aba5ce519197c5815e59d 100644 (file)
@@ -63,8 +63,8 @@ define HOST_LIBCAP_BUILD_CMDS
 endef
 
 define HOST_LIBCAP_INSTALL_CMDS
-       $(HOST_MAKE_ENV) $(MAKE) -C $(@D) DESTDIR=$(HOST_DIR) \
-               RAISE_SETFCAP=no prefix=/usr lib=lib install
+       $(HOST_MAKE_ENV) $(MAKE) -C $(@D) prefix=$(HOST_DIR) \
+               RAISE_SETFCAP=no lib=lib install
 endef
 
 $(eval $(generic-package))