summaryrefslogtreecommitdiff
path: root/package/libcec
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2015-06-04 05:18:51 -0500
committerWaldemar Brodkorb <wbx@openadk.org>2015-06-04 05:34:08 -0500
commitdb8d181364a4cb096a7deee6e3af95712b2a82c4 (patch)
tree020ade3480ae85eef477152ec07fc83cce48267a /package/libcec
parent43da0f55c344a0e54f6d837b03ebd3251a9b90d7 (diff)
fix rpi compile
Diffstat (limited to 'package/libcec')
-rw-r--r--package/libcec/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/package/libcec/Makefile b/package/libcec/Makefile
index 71a50b3c4..080fc1406 100644
--- a/package/libcec/Makefile
+++ b/package/libcec/Makefile
@@ -5,7 +5,7 @@ include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= libcec
PKG_VERSION:= 185559110dc88aeca0915a90b3b369d2d42c0f7c
-PKG_RELEASE:= 1
+PKG_RELEASE:= 2
PKG_DESCR:= control your device with your tv remote control
PKG_SECTION:= libs/video
PKG_DEPENDS:= libudev libplatform
@@ -26,6 +26,11 @@ $(eval $(call PKG_template,LIBCEC,libcec,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEP
WRKBUILD= $(WRKDIR)/$(PKG_NAME)-obj
TARGET_LDFLAGS+= -ltinfo
+TARGET_CXXFLAGS+= -I$(STAGING_TARGET_DIR)/opt/vc/include \
+ -I$(STAGING_TARGET_DIR)/opt/vc/include/interface/vcos/pthreads \
+ -I$(STAGING_TARGET_DIR)/opt/vc/include/interface/vmcs_host/linux \
+ -I$(STAGING_TARGET_DIR)/opt/vc/include/interface/vmcs_host \
+ -L$(STAGING_TARGET_DIR)/opt/vc/lib
CONFIG_STYLE:= cmake
CMAKE_FLAGS+= -DSKIP_PYTHON_WRAPPER=1 -DBUILD_SHARED_LIBS=1