open2300: make sure we pass our CFLAGS
Signed-off-by: Florian Fainelli <florian@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/packages@39818 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
69655efc99
commit
f2dc632982
@ -10,7 +10,7 @@ include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=open2300
|
||||
PKG_VERSION:=1.12
|
||||
PKG_RELEASE:=2
|
||||
PKG_RELEASE:=3
|
||||
|
||||
PKG_SOURCE_PROTO:=svn
|
||||
PKG_SOURCE_URL:=http://www.lavrsen.dk/svn/open2300/trunk
|
||||
@ -33,6 +33,9 @@ define Package/open2300/description
|
||||
This is an utility suite used to communicate with and collect data from a WS23XX wheather station.
|
||||
endef
|
||||
|
||||
MAKE_FLAGS += \
|
||||
CFLAGS="$(TARGET_CFLAGS) -DVERSION=\"$(PKG_VERSION)\""
|
||||
|
||||
define Package/open2300/install
|
||||
$(INSTALL_DIR) $(1)/usr/bin
|
||||
$(INSTALL_BIN) $(PKG_BUILD_DIR)/bin2300 $(1)/usr/bin/
|
||||
|
Loading…
x
Reference in New Issue
Block a user