diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2014-01-23 08:13:59 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2014-01-23 08:13:59 +0100 |
commit | 17a6468b3f0fae577b1aaad51b56bdefe15a25c1 (patch) | |
tree | 2e0ccfed1a6a8afb24c2547ca97ae5d8c450b717 /package/libcec/Makefile | |
parent | 2548d641ca7adfe3dcf31d09bb2f9b047b186a0f (diff) | |
parent | c66e4117d3ac4d561718a8b17066dc8b04a02027 (diff) |
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'package/libcec/Makefile')
-rw-r--r-- | package/libcec/Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/package/libcec/Makefile b/package/libcec/Makefile index e085df139..dcf6e2580 100644 --- a/package/libcec/Makefile +++ b/package/libcec/Makefile @@ -14,7 +14,9 @@ PKG_URL:= http://libcec.pulse-eight.com/ PKG_SITES:= http://www.openadk.org/distfiles PKG_OPTS:= dev -PKG_SYSTEM_DEPENDS:= raspberry-pi +PKG_DEPENDS_RASPBERRY_PI:= bcm2835-vc +PKG_BUILDDEP_RASPBERRY_PI:= bcm2835-vc +PKG_SYSTEM_DEPENDS:= raspberry-pi ibm-x40 PKG_LIBC_DEPENDS:= eglibc glibc musl include $(TOPDIR)/mk/package.mk @@ -22,9 +24,11 @@ include $(TOPDIR)/mk/package.mk $(eval $(call PKG_template,LIBCEC,libcec,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS})) AUTOTOOL_STYLE:= autoreconf +ifeq ($(ADK_TARGET_SYSTEM_RASPBERRY_PI),y) CONFIGURE_ARGS+= --enable-rpi \ --with-rpi-include-path=$(STAGING_TARGET_DIR)/opt/vc/include \ --with-rpi-lib-path=$(STAGING_TARGET_DIR)/opt/vc/lib +endif libcec-install: $(INSTALL_DIR) $(IDIR_LIBCEC)/usr/lib |