buildrootschalter/package/rpi-userland/rpi-userland.mk
Maarten ter Huurne 7b36de16ea rpi-userland: bump revision and add patch to fix compile with musl
We can not bump to the latest cset, because it breaks weston. So we
add a patch to backport upstream fixes for musl:

  http://lists.busybox.net/pipermail/buildroot/2014-October/109309.html
  https://github.com/raspberrypi/userland/pull/201

[Thomas: adjust commit log as suggested by Yann E. Morin.]

Signed-off-by: Maarten ter Huurne <maarten@treewalker.org>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2014-10-19 16:29:33 +02:00

33 lines
1.1 KiB
Makefile

################################################################################
#
# rpi-userland
#
################################################################################
RPI_USERLAND_VERSION = ba753c1a7f68d7a2e00edaf03364eef001e233ef
RPI_USERLAND_SITE = $(call github,raspberrypi,userland,$(RPI_USERLAND_VERSION))
RPI_USERLAND_LICENSE = BSD-3c
RPI_USERLAND_LICENSE_FILES = LICENCE
RPI_USERLAND_INSTALL_STAGING = YES
RPI_USERLAND_CONF_OPTS = -DVMCS_INSTALL_PREFIX=/usr \
-DCMAKE_C_FLAGS="-DVCFILED_LOCKFILE=\\\"/var/run/vcfiled.pid\\\""
RPI_USERLAND_PROVIDES = libegl libgles libopenmax libopenvg
ifeq ($(BR2_PACKAGE_RPI_USERLAND_START_VCFILED),y)
define RPI_USERLAND_INSTALL_INIT_SYSV
$(INSTALL) -m 0755 -D package/rpi-userland/S94vcfiled \
$(TARGET_DIR)/etc/init.d/S94vcfiled
endef
endif
define RPI_USERLAND_POST_TARGET_CLEANUP
rm -f $(TARGET_DIR)/etc/init.d/vcfiled
rm -f $(TARGET_DIR)/usr/share/install/vcfiled
rmdir --ignore-fail-on-non-empty $(TARGET_DIR)/usr/share/install
rm -Rf $(TARGET_DIR)/usr/src
endef
RPI_USERLAND_POST_INSTALL_TARGET_HOOKS += RPI_USERLAND_POST_TARGET_CLEANUP
$(eval $(cmake-package))