libcap: use $(HOST_DIR) as prefix instead of DESTDIR
... 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>
diff --git a/package/libcap/libcap.mk b/package/libcap/libcap.mk
index 35a6a97..48c2cb3 100644
--- a/package/libcap/libcap.mk
+++ b/package/libcap/libcap.mk
@@ -63,8 +63,8 @@
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))