kumquat-buildroot/package/opkg-utils/opkg-utils.mk
Peter Korsgaard 8c3c741439 package/opkg-utils: actually install to target
Commit b9bf1c6535 (package/opkg-utils: add opkg-utils as target pkg)
misspelled the macro to install to target, most probably as a bad
copy-paste from the host macro.

Fix that.

Reported-by: Michael Hacker <mh@superbox.one>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2023-09-30 21:03:24 +02:00

30 lines
794 B
Makefile

################################################################################
#
# opkg-utils
#
################################################################################
OPKG_UTILS_VERSION = 0.4.5
OPKG_UTILS_SITE = https://git.yoctoproject.org/git/opkg-utils
OPKG_UTILS_SITE_METHOD = git
OPKG_UTILS_LICENSE = GPL-2.0+
OPKG_UTILS_LICENSE_FILES = COPYING
HOST_OPKG_UTILS_DEPENDENCIES = \
$(BR2_PYTHON3_HOST_DEPENDENCY) \
host-lz4 \
host-xz
# Nothing to build; only scripts to install.
define OPKG_UTILS_INSTALL_TARGET_CMDS
$(MAKE) -C $(@D) PREFIX=$(TARGET_DIR) install-utils
endef
# Nothing to build; only scripts to install.
define HOST_OPKG_UTILS_INSTALL_CMDS
$(MAKE) -C $(@D) PREFIX=$(HOST_DIR) install-utils
endef
$(eval $(generic-package))
$(eval $(host-generic-package))