Hi,

How to copy binary to target filesystem
(openwrt/staging_dir/target-xxx/root-xxx/usr/bin)?


I have tried following code but it copies that file into
'openwrt/build_dir/target-xxx/my_package/ipkg-install/usr/bin/'

snippet from my_package Makefile:

define Package/my_package/install
   $(INSTALL_DIR) $(1)/usr/bin
   $(CP) $(PKG_BUILD_DIR)/some_binary $(1)/usr/bin
endef
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Reply via email to