From 97dffd387272b6aeccc1f9ad017c6a25fe289860 Mon Sep 17 00:00:00 2001 From: Florian Fainelli Date: Sat, 8 Mar 2014 00:57:14 +0000 Subject: [PATCH] openrrcp: allow passing our CFLAGS and LDFLAGS Signed-off-by: Florian Fainelli SVN-Revision: 39815 --- net/openrrcp/Makefile | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) 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) \ -- 2.30.2