[OpenWrt-Devel] [PATCH] netifd: install binary from ipkg-install
Rosen Penev
rosenp at gmail.com
Wed Feb 19 22:43:31 EST 2020
This works with CMAKE_BINARY_SUBDIR.
Signed-off-by: Rosen Penev <rosenp at gmail.com>
---
package/network/config/netifd/Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/package/network/config/netifd/Makefile b/package/network/config/netifd/Makefile
index 8a1bab8c44..29fd517e93 100644
--- a/package/network/config/netifd/Makefile
+++ b/package/network/config/netifd/Makefile
@@ -38,7 +38,7 @@ CMAKE_OPTIONS += \
define Package/netifd/install
$(INSTALL_DIR) $(1)/sbin
- $(INSTALL_BIN) $(PKG_BUILD_DIR)/netifd $(1)/sbin/
+ $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/netifd $(1)/sbin/
$(CP) ./files/* $(1)/
$(CP) $(PKG_BUILD_DIR)/scripts/* $(1)/lib/netifd/
endef
--
2.24.1
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel
More information about the openwrt-devel
mailing list