Skip to content

Commit

Permalink
kcptun package compatible with armv6 (such like K3)
Browse files Browse the repository at this point in the history
coolsnowwolf committed Oct 29, 2018

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent 3a80522 commit 02d375d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions package/lean/kcptun/Makefile
Original file line number Diff line number Diff line change
@@ -46,7 +46,7 @@ endef

define Build/Prepare
tar -xzvf $(DL_DIR)/$(PKG_SOURCE) -C $(PKG_BUILD_DIR)
[ -f $(PKG_BUILD_DIR)/client_linux_arm6 ] mv $(PKG_BUILD_DIR)/client_linux_arm6 $(PKG_BUILD_DIR)/client_linux_arm
if [ -f $(PKG_BUILD_DIR)/client_linux_arm6 ]; then mv -f $(PKG_BUILD_DIR)/client_linux_arm6 $(PKG_BUILD_DIR)/client_linux_arm; fi
endef

define Build/Configure
@@ -60,4 +60,4 @@ define Package/$(PKG_NAME)/install
$(INSTALL_BIN) $(PKG_BUILD_DIR)/client_linux_$(PKG_ARCH_KCPTUN) $(1)/usr/bin/ssr-kcptun
endef

$(eval $(call BuildPackage,$(PKG_NAME)))
$(eval $(call BuildPackage,$(PKG_NAME)))

0 comments on commit 02d375d

Please sign in to comment.