opkg-utils: use $(HOST_DIR) as PREFIX instead of DESTDIR

... 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>
This commit is contained in:
Arnout Vandecappelle 2017-07-05 13:14:43 +02:00 committed by Thomas Petazzoni
parent 39bc3614d6
commit fe8495ffc5

View File

@ -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))