summaryrefslogtreecommitdiff
path: root/package/bcm28xx-vc/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbrodkorb@conet.de>2015-03-10 12:54:35 +0100
committerWaldemar Brodkorb <wbrodkorb@conet.de>2015-03-10 12:54:35 +0100
commitb135101d3298102a90e19be56d812279136852f0 (patch)
tree33eaff0fa005696a9a9e259f18d8b4e70351605f /package/bcm28xx-vc/Makefile
parent4d3fa8814212ac64b381586b8c28cbb2437532fe (diff)
add missing debug library for vcdbg
Diffstat (limited to 'package/bcm28xx-vc/Makefile')
-rw-r--r--package/bcm28xx-vc/Makefile10
1 files changed, 9 insertions, 1 deletions
diff --git a/package/bcm28xx-vc/Makefile b/package/bcm28xx-vc/Makefile
index 173eb90e0..49917a48c 100644
--- a/package/bcm28xx-vc/Makefile
+++ b/package/bcm28xx-vc/Makefile
@@ -13,11 +13,13 @@ PKG_BUILDDEP:= cmake-host
PKG_URL:= https://github.com/raspberrypi/userland
PKG_SITES:= https://github.com/raspberrypi/userland.git
-PKG_SUBPKGS:= BCM28XX_VC_TOOLS BCM28XX_VC_LIBS BCM28XX_VC_GL_LIBS
+PKG_SUBPKGS:= BCM28XX_VC_TOOLS BCM28XX_VC_LIBS BCM28XX_VC_GL_LIBS BCM28XX_VC_DEBUG
PKGSS_BCM28XX_VC_TOOLS:=bcm28XX-vc-libs
PKGSC_BCM28XX_VC_TOOLS:=sys/hw
PKGSD_BCM28XX_VC_TOOLS:=videocore tool vcgencmd
PKGSC_BCM28XX_VC_LIBS:= libs/misc
+PKGSC_BCM28XX_VC_DEBUG:=libs/misc
+PKGSD_BCM28XX_VC_DEBUG:=videocore debug library
PKGSC_BCM28XX_VC_GL_LIBS:=libs/video
PKG_SYSTEM_DEPENDS:= raspberry-pi raspberry-pi2
@@ -26,6 +28,7 @@ include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,BCM28XX_VC_TOOLS,bcm28xx-vc-tools,$(PKG_VERSION)-$(PKG_RELEASE),$(PKGSS_BCM28XX_VC_TOOLS),$(PKG_DESCR),$(PKGSC_BCM28XX_VC_TOOLS)))
$(eval $(call PKG_template,BCM28XX_VC_LIBS,bcm28xx-vc-libs,$(PKG_VERSION)-$(PKG_RELEASE),$(PKG_DEPENDS),$(PKG_DESCR),$(PKG_SECTION)))
+$(eval $(call PKG_template,BCM28XX_VC_DEBUG,bcm28xx-vc-debug,$(PKG_VERSION)-$(PKG_RELEASE),$(PKG_DEPENDS),$(PKG_DESCR),$(PKG_SECTION)))
$(eval $(call PKG_template,BCM28XX_VC_GL_LIBS,bcm28xx-vc-gl-libs,$(PKG_VERSION)-$(PKG_RELEASE),$(PKG_DEPENDS),$(PKG_DESCR),$(PKG_SECTION)))
CONFIG_STYLE:= cmake
@@ -35,6 +38,11 @@ bcm28xx-vc-tools-install:
$(INSTALL_BIN) $(WRKINST)/opt/vc/bin/vcgencmd \
$(IDIR_BCM28XX_VC_TOOLS)/opt/vc/bin
+bcm28xx-vc-debug-install:
+ $(INSTALL_DIR) $(IDIR_BCM28XX_VC_DEBUG)/opt/vc/lib
+ $(CP) $(WRKINST)/opt/vc/lib/libdebug_sym.so \
+ $(IDIR_BCM28XX_VC_DEBUG)/opt/vc/lib
+
bcm28xx-vc-libs-install:
$(INSTALL_DIR) $(IDIR_BCM28XX_VC_LIBS)/opt/vc/lib
$(CP) $(WRKINST)/opt/vc/lib/libvcos.so \