From b0c2835c305ce90c6197f2200b002e0791f6d54b Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Thu, 18 Jun 2026 08:50:34 +0800 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20Sync=202026-06-18=2008:50:34?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- proot/Makefile | 40 ++++++++++++++++++++++++++++++++++++++++ quectel_MHI/Makefile | 2 +- 2 files changed, 41 insertions(+), 1 deletion(-) create mode 100644 proot/Makefile mode change 100644 => 100755 quectel_MHI/Makefile diff --git a/proot/Makefile b/proot/Makefile new file mode 100644 index 000000000..65ed456a4 --- /dev/null +++ b/proot/Makefile @@ -0,0 +1,40 @@ +# package/proot/Makefile для OpenWrt +include $(TOPDIR)/rules.mk + +PKG_NAME:=proot +PKG_VERSION:=5.4.0 +PKG_RELEASE:=1 + +PKG_SOURCE_PROTO:=git +PKG_SOURCE_URL:=https://github.com/proot-me/proot.git +PKG_SOURCE_VERSION:=704a4ab7a41cf5a8bc1f66b0ebdc58cafa72d88c + +include $(INCLUDE_DIR)/package.mk +include $(TOPDIR)/feeds/packages/lang/python/python3-version.mk + +define Package/proot + SECTION:=utils + CATEGORY:=Utilities + TITLE:=PRoot - chroot, mount --bind, and binfmt_misc + DEPENDS:=+libc +libgcc +libstdcpp +libtalloc +libarchive +libpython3 +endef + +define Package/proot/description + PRoot is a user-space implementation of chroot, mount --bind, and binfmt_misc. +endef + +define Build/Compile + $(MAKE) -C $(PKG_BUILD_DIR)/src \ + CC=$(TARGET_CC) \ + CFLAGS="$(TARGET_CFLAGS)" \ + LDFLAGS="$(TARGET_LDFLAGS) -ltalloc -lpython$(PYTHON3_VERSION)" \ + WITH_PYTHON=yes \ + proot +endef + +define Package/proot/install + $(INSTALL_DIR) $(1)/usr/bin + $(INSTALL_BIN) $(PKG_BUILD_DIR)/src/proot $(1)/usr/bin/ +endef + +$(eval $(call BuildPackage,proot)) diff --git a/quectel_MHI/Makefile b/quectel_MHI/Makefile old mode 100644 new mode 100755 index bd815fe7d..431b114e2 --- a/quectel_MHI/Makefile +++ b/quectel_MHI/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=pcie_mhi PKG_VERSION:=1.3.8 -PKG_RELEASE:=17 +PKG_RELEASE:=18 include $(INCLUDE_DIR)/kernel.mk include $(INCLUDE_DIR)/package.mk