diff options
Diffstat (limited to 'package/libcec')
-rw-r--r-- | package/libcec/Makefile | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/package/libcec/Makefile b/package/libcec/Makefile index 68bfcc708..27b1fe6f6 100644 --- a/package/libcec/Makefile +++ b/package/libcec/Makefile @@ -17,7 +17,9 @@ PKG_OPTS:= dev PKG_DEPENDS_RASPBERRY_PI:= bcm2835-vc PKG_BUILDDEP_RASPBERRY_PI:= bcm2835-vc -PKG_SYSTEM_DEPENDS:= raspberry-pi solidrun-imx6 +PKG_DEPENDS_RASPBERRY_PI2:= bcm2835-vc +PKG_BUILDDEP_RASPBERRY_PI2:= bcm2835-vc +PKG_SYSTEM_DEPENDS:= raspberry-pi raspberry-pi2 solidrun-imx6 include $(ADK_TOPDIR)/mk/package.mk @@ -32,6 +34,11 @@ 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 +ifeq ($(ADK_TARGET_SYSTEM_RASPBERRY_PI2),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 |