mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-30 22:11:59 -09:00
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>
(cherry picked from commit 35bbcde75c)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
committed by
Peter Korsgaard
parent
27a437ef0c
commit
37b4bffac5
@@ -26,7 +26,8 @@ define OPEN_PLC_UTILS_BUILD_CMDS
|
|||||||
endef
|
endef
|
||||||
|
|
||||||
define OPEN_PLC_UTILS_INSTALL_TARGET_CMDS
|
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
|
endef
|
||||||
|
|
||||||
$(eval $(generic-package))
|
$(eval $(generic-package))
|
||||||
|
|||||||
Reference in New Issue
Block a user