[Buildroot] [git commit] opkg-utils: use $(HOST_DIR) as PREFIX instead of DESTDIR

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Wed Jul 5 14:06:42 UTC 2017


commit: https://git.buildroot.net/buildroot/commit/?id=fe8495ffc5bd32614c39217be1b2c20f15721a6b
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master

... and remove the /usr prefix

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout at mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>
---
 package/opkg-utils/opkg-utils.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/package/opkg-utils/opkg-utils.mk b/package/opkg-utils/opkg-utils.mk
index 6f4e64e..df20222 100644
--- a/package/opkg-utils/opkg-utils.mk
+++ b/package/opkg-utils/opkg-utils.mk
@@ -15,7 +15,7 @@ define HOST_OPKG_UTILS_BUILD_CMDS
 endef
 
 define HOST_OPKG_UTILS_INSTALL_CMDS
-	$(MAKE) -C $(@D) DESTDIR=$(HOST_DIR) PREFIX=/usr install
+	$(MAKE) -C $(@D) PREFIX=$(HOST_DIR) install
 endef
 
 $(eval $(host-generic-package))


More information about the buildroot mailing list