mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-24 11:46:30 +00: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 35bbcde75c2cb0b0d4a823b67f7fb82f305762ca) Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
parent
27a437ef0c
commit
37b4bffac5
@ -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…
x
Reference in New Issue
Block a user