From 35bbcde75c2cb0b0d4a823b67f7fb82f305762ca Mon Sep 17 00:00:00 2001 From: Adam Duskett Date: Wed, 17 Jun 2020 15:21:59 -0700 Subject: [PATCH] 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 --- package/open-plc-utils/open-plc-utils.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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)) -- 2.30.2