summaryrefslogtreecommitdiff
path: root/package/bcm2835-vc/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2013-11-10 16:42:11 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2013-11-10 16:42:11 +0100
commit2e7d502c6344dcc949d64a7c9d689ff90e3bbb10 (patch)
treee1630ced2ef1e91b0ceb60e2c977084987c7981f /package/bcm2835-vc/Makefile
parenta7df43ea27675ee1b2a9137eb6a541f394f724b9 (diff)
use cmake-host
Diffstat (limited to 'package/bcm2835-vc/Makefile')
-rw-r--r--package/bcm2835-vc/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/package/bcm2835-vc/Makefile b/package/bcm2835-vc/Makefile
index 97c818199..f36b241d6 100644
--- a/package/bcm2835-vc/Makefile
+++ b/package/bcm2835-vc/Makefile
@@ -6,11 +6,12 @@ include ${TOPDIR}/rules.mk
PKG_NAME:= bcm2835-vc
# actually f65a4eef05ee436976f9be219d3db841d3d6b8ec from 05.10.2013
PKG_VERSION:= 0.3
-PKG_RELEASE:= 1
+PKG_RELEASE:= 2
PKG_MD5SUM:= 027d42d1ba803fabdc6bc4ec78d52e67
PKG_DESCR:= vc tools for raspberry pi (bcm2835)
PKG_SECTION:= base
PKG_DEPENDS:= libpthread
+PKG_BUILDDEP:= cmake-host
PKG_SITES:= http://openadk.org/distfiles/
PKG_SYSTEM_DEPENDS:= raspberry-pi
@@ -22,7 +23,7 @@ $(eval $(call PKG_template,BCM2835_VC,bcm2835-vc,${PKG_VERSION}-${PKG_RELEASE},$
CONFIG_STYLE:= manual
do-configure:
- (cd $(WRKBUILD) && cmake -DCMAKE_SYSTEM_NAME=Linux .)
+ (cd $(WRKBUILD) && PATH='${TARGET_PATH}' cmake -DCMAKE_SYSTEM_NAME=Linux .)
bcm2835-vc-install:
$(INSTALL_DIR) ${IDIR_BCM2835_VC}/opt/vc/{bin,lib}