mirror of
https://github.com/kiddin9/op-packages.git
synced 2026-11-01 16:44:23 +08:00
Update Makefile
This commit is contained in:
1 parent
4e805be387
commit
6d462a68c3
1 file changed
+7
@@ -52,6 +52,13 @@ define Package/xray-core/conffiles
|
|||||||
/etc/config/xray
|
/etc/config/xray
|
||||||
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)/xray
|
||||||
|
endif
|
||||||
|
endef
|
||||||
|
|
||||||
define Package/xray-core/install
|
define Package/xray-core/install
|
||||||
$(call GoPackage/Package/Install/Bin,$(PKG_INSTALL_DIR))
|
$(call GoPackage/Package/Install/Bin,$(PKG_INSTALL_DIR))
|
||||||
$(INSTALL_DIR) $(1)/usr/bin/
|
$(INSTALL_DIR) $(1)/usr/bin/
|
||||||
|
|||||||
Reference in new issue
Block a user