mirror of
https://github.com/kiddin9/op-packages.git
synced 2026-10-29 15:15:13 +08:00
Update Makefile
This commit is contained in:
1 parent
2ee3cec8e0
commit
4e805be387
1 file changed
+7
@@ -126,6 +126,13 @@ GO_PKG_TAGS:=$(subst $(space),$(comma),$(strip \
|
|||||||
define Package/sing-box/conffiles
|
define Package/sing-box/conffiles
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
define Build/Compile
|
||||||
|
$(call GoPackage/Build/Compile)
|
||||||
|
ifneq ($(filter arm mipsel mips,$(ARCH)),)
|
||||||
|
$(STAGING_DIR_HOST)/bin/upx --lzma --best $(GO_PKG_BUILD_BIN_DIR)/sing-box
|
||||||
|
endif
|
||||||
|
endef
|
||||||
|
|
||||||
define Package/sing-box/install
|
define Package/sing-box/install
|
||||||
$(call GoPackage/Package/Install/Bin,$(1))
|
$(call GoPackage/Package/Install/Bin,$(1))
|
||||||
endef
|
endef
|
||||||
|
|||||||
Reference in new issue
Block a user