Browse Source

updated openwrt makefile (#712)

pull/715/head
small_5 3 years ago
committed by GitHub
parent
commit
d8c383eb95
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      packages/openwrt/Makefile
  2. 11
      packages/openwrt/patches/001-fix-cc.patch

4
packages/openwrt/Makefile

@ -6,7 +6,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=n2n PKG_NAME:=n2n
PKG_SOURCE_URL:=https://github.com/ntop/n2n.git PKG_SOURCE_URL:=https://github.com/ntop/n2n.git
PKG_SOURCE_VERSION:=53e930db105df0e1103d8b6de9d5cb223c744d49 PKG_SOURCE_VERSION:=701befe6df8eaa43e94384a234fa962fd74ff70e
PKG_VERSION:=2.9.0_dev_git$(PKG_SOURCE_VERSION) PKG_VERSION:=2.9.0_dev_git$(PKG_SOURCE_VERSION)
PKG_RELEASE:=1 PKG_RELEASE:=1
@ -34,7 +34,7 @@ endef
define Package/n2n-edge define Package/n2n-edge
$(call Package/n2n/Default) $(call Package/n2n/Default)
TITLE+= client (edge node) TITLE+= client (edge node)
DEPENDS+=+kmod-tun +resolveip +libopenssl DEPENDS+=+kmod-tun
endef endef
define Package/n2n-supernode define Package/n2n-supernode

11
packages/openwrt/patches/001-fix-cc.patch

@ -0,0 +1,11 @@
--- a/configure.seed
+++ b/configure.seed
@@ -13,8 +13,6 @@
GIT_RELEASE=${N2N_VERSION_SHORT}
fi
-CC=gcc
-AR=ar
N2N_LIBS=
AC_PROG_CC
Loading…
Cancel
Save