mirror of
https://git.busybox.net/buildroot.git
synced 2024-12-11 14:23:52 +08:00
45e497b7bb
Signed-off-by: Peter Seiderer <ps.report@gmx.net> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
46 lines
1.3 KiB
Makefile
46 lines
1.3 KiB
Makefile
################################################################################
|
|
#
|
|
# rpi-userland
|
|
#
|
|
################################################################################
|
|
|
|
RPI_USERLAND_VERSION = 45a0022ac64b4d0788def3c5230c972430f6fc23
|
|
RPI_USERLAND_SITE = $(call github,raspberrypi,userland,$(RPI_USERLAND_VERSION))
|
|
RPI_USERLAND_LICENSE = BSD-3-Clause
|
|
RPI_USERLAND_LICENSE_FILES = LICENCE
|
|
RPI_USERLAND_INSTALL_STAGING = YES
|
|
RPI_USERLAND_CONF_OPTS = -DVMCS_INSTALL_PREFIX=/usr
|
|
|
|
RPI_USERLAND_PROVIDES = libegl libgles libopenmax libopenvg
|
|
|
|
ifeq ($(BR2_PACKAGE_RPI_USERLAND_HELLO),y)
|
|
|
|
RPI_USERLAND_CONF_OPTS += -DALL_APPS=ON
|
|
|
|
define RPI_USERLAND_EXTRA_LIBS_TARGET
|
|
$(INSTALL) -m 0644 -D \
|
|
$(@D)/build/lib/libilclient.so \
|
|
$(TARGET_DIR)/usr/lib/libilclient.so
|
|
endef
|
|
RPI_USERLAND_POST_INSTALL_TARGET_HOOKS += RPI_USERLAND_EXTRA_LIBS_TARGET
|
|
|
|
define RPI_USERLAND_EXTRA_LIBS_STAGING
|
|
$(INSTALL) -m 0644 -D \
|
|
$(@D)/build/lib/libilclient.so \
|
|
$(STAGING_DIR)/usr/lib/libilclient.so
|
|
endef
|
|
RPI_USERLAND_POST_INSTALL_STAGING_HOOKS += RPI_USERLAND_EXTRA_LIBS_STAGING
|
|
|
|
else
|
|
|
|
RPI_USERLAND_CONF_OPTS += -DALL_APPS=OFF
|
|
|
|
endif # BR2_PACKAGE_RPI_USERLAND_HELLO
|
|
|
|
define RPI_USERLAND_POST_TARGET_CLEANUP
|
|
rm -Rf $(TARGET_DIR)/usr/src
|
|
endef
|
|
RPI_USERLAND_POST_INSTALL_TARGET_HOOKS += RPI_USERLAND_POST_TARGET_CLEANUP
|
|
|
|
$(eval $(cmake-package))
|