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 <Aduskett@gmail.com> Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
This commit is contained in:
parent
316c144e27
commit
35bbcde75c
@ -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))
|
||||
|
Loading…
Reference in New Issue
Block a user