mirror of
https://github.com/fw876/helloworld.git
synced 2026-12-06 00:01:06 +00:00
xray-core: use selected Go toolchain for ARM64 EIP93 overlay
Signed-off-by: coolsnowwolf <coolsnowwolf@gmail.com>
This commit is contained in:
1 parent
676e99c921
commit
bb3bf448f4
1 file changed
+3
-2
+3
-2
@@ -2,7 +2,7 @@ include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=xray-core
|
||||
PKG_VERSION:=26.10.21
|
||||
PKG_RELEASE:=1
|
||||
PKG_RELEASE:=2
|
||||
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||
PKG_SOURCE_URL:=https://codeload.github.com/XTLS/Xray-core/tar.gz/v$(PKG_VERSION)?
|
||||
@@ -60,9 +60,10 @@ ifeq ($(CONFIG_XRAY_CORE_NAIVE),y)
|
||||
endif
|
||||
|
||||
# Apply only to this package; runtime DT detection restricts use to AN7581.
|
||||
# Resolve Go through the same versioned PATH and environment as the build.
|
||||
ifeq ($(GO_ARCH),arm64)
|
||||
define Build/Compile
|
||||
python3 $(PKG_BUILD_DIR)/tools/eip93/overlay.py --go $(STAGING_DIR_HOSTPKG)/bin/go --out $(PKG_BUILD_DIR)/.eip93-overlay
|
||||
$(GO_PKG_VARS) python3 $(PKG_BUILD_DIR)/tools/eip93/overlay.py --go go --out $(PKG_BUILD_DIR)/.eip93-overlay
|
||||
$(call GoPackage/Build/Compile,-overlay=$(PKG_BUILD_DIR)/.eip93-overlay/overlay.json)
|
||||
endef
|
||||
endif
|
||||
|
||||
Reference in new issue
Block a user