From: florian Date: Sat, 8 Mar 2014 00:57:14 +0000 (+0000) Subject: openrrcp: allow passing our CFLAGS and LDFLAGS X-Git-Url: http://207.154.207.93/?a=commitdiff_plain;h=8bd3d69e8eccef7bafbd896a19841a86fbfa5e14;p=packages.git openrrcp: allow passing our CFLAGS and LDFLAGS Signed-off-by: Florian Fainelli git-svn-id: svn://svn.openwrt.org/openwrt/packages@39815 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- diff --git a/net/openrrcp/Makefile b/net/openrrcp/Makefile index dad1f1f9d..9e8988794 100644 --- a/net/openrrcp/Makefile +++ b/net/openrrcp/Makefile @@ -1,5 +1,5 @@ # -# Copyright (C) 2008 OpenWrt.org +# Copyright (C) 2008-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:=openrrcp PKG_VERSION:=0.2.1 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=http://nording.ru/projects/download/openrrcp/stable @@ -28,11 +28,9 @@ define Package/openrrcp/description OpenRRCP toolset for managing RRCP-capable Ethernet switches endef -define Build/Compile - $(call Build/Compile/Default, \ - PREFIX="/usr" \ - ) -endef +MAKE_VARS += \ + PREFIX="/usr" \ + $(TARGET_CONFIGURE_OPTS) define Package/openrrcp/install $(MAKE) -C $(PKG_BUILD_DIR) \