X-Git-Url: http://git.openwrt.org/?p=feed%2Frouting.git;a=blobdiff_plain;f=cjdns%2FMakefile;h=ebdde413da484af594504270d3206c668b816d79;hp=3253532669588bc8c0144efb11e45cb83350e51b;hb=b1c3bdfbf47003088198bf8ef699a94cc29e3eca;hpb=cd765e581d0061e01d8122687685109e128f4c3e diff --git a/cjdns/Makefile b/cjdns/Makefile index 3253532..ebdde41 100644 --- a/cjdns/Makefile +++ b/cjdns/Makefile @@ -1,12 +1,28 @@ +# +# Copyright (C) 2014,2015 Hyperboria.net +# +# You may redistribute this program and/or modify it under the terms of +# the GNU General Public License as published by the Free Software Foundation, +# either version 3 of the License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . +# + include $(TOPDIR)/rules.mk PKG_NAME:=cjdns PKG_VERSION:=0.16 -PKG_RELEASE:=9 +PKG_RELEASE:=13 -PKG_SOURCE_URL:=https://github.com/cjdelisle/cjdns.git +PKG_SOURCE_URL:=https://github.com/hyperboria/cjdns.git PKG_SOURCE_PROTO:=git -PKG_SOURCE_VERSION:=2138a1f6a94fc009958cde7b002c077a1eee929a +PKG_SOURCE_VERSION:=2303ce6585f62f7e8d3cdb1983c0c8e08385ea68 PKG_LICENSE:=GPL-3.0 PKG_SOURCE:=$(PKG_NAME)-$(PKG_SOURCE_VERSION).tar.bz2 PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_SOURCE_VERSION) @@ -36,8 +52,14 @@ endef define Build/Configure endef +PKG_DO_VARS:= + ifneq ($(CONFIG_KERNEL_SECCOMP_FILTER),y) -PKG_DO_VARS:=Seccomp_NO=1 +PKG_DO_VARS+= Seccomp_NO=1 +endif + +ifneq ($(CONFIG_USE_UCLIBC),) +PKG_DO_VARS+= UCLIBC=1 endif define Build/Compile @@ -47,7 +69,6 @@ define Build/Compile LDFLAGS="$(TARGET_LDFLAGS)" \ SYSTEM="linux" \ TARGET_ARCH="$(CONFIG_ARCH)" \ - UCLIBC=1 \ SSP_SUPPORT="$(CONFIG_SSP_SUPPORT)" \ $(PKG_DO_VARS) \ $(PKG_BUILD_DIR)/do