Skip to content

Commit

Permalink
domoticz: enable GPIO support
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
stintel committed Sep 20, 2017
1 parent 322b949 commit 9e265cf
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion utils/domoticz/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ PKG_NAME:=domoticz
PKG_VERSION_MAJOR:=3
PKG_VERSION_PATCH:=8153
PKG_VERSION:=$(PKG_VERSION_MAJOR).$(PKG_VERSION_PATCH)
PKG_RELEASE:=2
PKG_RELEASE:=3

PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=https://github.com/domoticz/domoticz/archive/$(PKG_VERSION)/$(PKG_SOURCE)
Expand Down Expand Up @@ -62,6 +62,8 @@ CMAKE_OPTIONS += \
-DUSE_STATIC_OPENZWAVE=no \
-DUSE_PYTHON=no

TARGET_CXXFLAGS+=-DWITH_GPIO

define Build/Prepare
$(call Build/Prepare/Default)
# Fix APPVERSION to suppress update popup
Expand Down

0 comments on commit 9e265cf

Please sign in to comment.