openrrcp: allow passing our CFLAGS and LDFLAGS

Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/packages@39815 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
florian 2014-03-08 00:57:14 +00:00
parent 856a4c271f
commit 8bd3d69e8e

View File

@ -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) \