From eaa7a3474e0c740763ede30592da13185862c0be Mon Sep 17 00:00:00 2001 From: florian Date: Sat, 8 Mar 2014 00:56:57 +0000 Subject: [PATCH] jtg: pass our CFLAGS Remove the custom Build/Compile as the default is providing the same thing but make sure that our CFLAGS are correctly used. Signed-off-by: Florian Fainelli git-svn-id: svn://svn.openwrt.org/openwrt/packages@39808 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- net/jtg/Makefile | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/net/jtg/Makefile b/net/jtg/Makefile index 4498e851d..d156f78be 100644 --- a/net/jtg/Makefile +++ b/net/jtg/Makefile @@ -1,5 +1,5 @@ # -# Copyright (C) 2006-2009 OpenWrt.org +# Copyright (C) 2006-2014 OpenWrt.org # # This is free software, licensed under the GNU General Public License v2. # See /LICENSE for more information. @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=jtg PKG_VERSION:=1.95 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_SOURCE:=$(PKG_NAME)-v$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=http://www.netlab.tkk.fi/~jmanner/jtg @@ -25,7 +25,7 @@ define Package/jtg URL:=https://hoslab.cs.helsinki.fi/savane/projects/jtg/ endef -define Package/wing/Description +define Package/jtg/Description The JTG generator is a simple, yet powerful and, if required, accurate traffic generator. jtg differs from other traffic generators in that one instance of a jtg process only sends one stream (e.g. MGEN can send tens @@ -37,10 +37,8 @@ define Package/wing/Description is the binary for IPv6 networks. endef -define Build/Compile - $(MAKE) $(TARGET_CONFIGURE_OPTS) \ - -C $(PKG_BUILD_DIR) -endef +MAKE_VARS += \ + CFLAGS="$(TARGET_CFLAGS) -DLinuxTCP" define Package/jtg/install $(INSTALL_DIR) $(1)/usr/bin