From: Adam Duskett Date: Wed, 17 Jun 2020 22:21:59 +0000 (-0700) Subject: package/open-plc-utils: install packages to /usr/bin X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=35bbcde75c2cb0b0d4a823b67f7fb82f305762ca;p=buildroot.git package/open-plc-utils: install packages to /usr/bin By default, open-plc-utils installs all of the compiled binaries to /usr/local/bin which is not in the default path provided by Buildroot. Passing BIN="$(TARGET_DIR)/usr/bin" to make install forces open-plc-utils to install the compiled binaries to /usr/bin. Signed-off-by: Adam Duskett Signed-off-by: Yann E. MORIN --- diff --git a/package/open-plc-utils/open-plc-utils.mk b/package/open-plc-utils/open-plc-utils.mk index e1e66bf7e0..3030301f7d 100644 --- a/package/open-plc-utils/open-plc-utils.mk +++ b/package/open-plc-utils/open-plc-utils.mk @@ -26,7 +26,8 @@ define OPEN_PLC_UTILS_BUILD_CMDS endef define OPEN_PLC_UTILS_INSTALL_TARGET_CMDS - $(TARGET_MAKE_ENV) $(MAKE) ROOTFS=$(TARGET_DIR) -C $(@D) install + $(TARGET_MAKE_ENV) $(MAKE) ROOTFS=$(TARGET_DIR) \ + BIN="$(TARGET_DIR)/usr/bin" -C $(@D) install endef $(eval $(generic-package))