domoticz: enable GPIO support
When cross-compiling Domoticz on a system without GPIO, the WITH_GPIO flag is not set by cmake, and GPIO support is disabled as a result. Enabling GPIO support by adding the flag to TARGET_CXXFLAGS. Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
This commit is contained in:
parent
322b949416
commit
9e265cfa1b
|
@ -11,7 +11,7 @@ PKG_NAME:=domoticz
|
||||||
PKG_VERSION_MAJOR:=3
|
PKG_VERSION_MAJOR:=3
|
||||||
PKG_VERSION_PATCH:=8153
|
PKG_VERSION_PATCH:=8153
|
||||||
PKG_VERSION:=$(PKG_VERSION_MAJOR).$(PKG_VERSION_PATCH)
|
PKG_VERSION:=$(PKG_VERSION_MAJOR).$(PKG_VERSION_PATCH)
|
||||||
PKG_RELEASE:=2
|
PKG_RELEASE:=3
|
||||||
|
|
||||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||||
PKG_SOURCE_URL:=https://github.com/domoticz/domoticz/archive/$(PKG_VERSION)/$(PKG_SOURCE)
|
PKG_SOURCE_URL:=https://github.com/domoticz/domoticz/archive/$(PKG_VERSION)/$(PKG_SOURCE)
|
||||||
|
@ -62,6 +62,8 @@ CMAKE_OPTIONS += \
|
||||||
-DUSE_STATIC_OPENZWAVE=no \
|
-DUSE_STATIC_OPENZWAVE=no \
|
||||||
-DUSE_PYTHON=no
|
-DUSE_PYTHON=no
|
||||||
|
|
||||||
|
TARGET_CXXFLAGS+=-DWITH_GPIO
|
||||||
|
|
||||||
define Build/Prepare
|
define Build/Prepare
|
||||||
$(call Build/Prepare/Default)
|
$(call Build/Prepare/Default)
|
||||||
# Fix APPVERSION to suppress update popup
|
# Fix APPVERSION to suppress update popup
|
||||||
|
|
Loading…
Reference in New Issue