kumquat-buildroot/package/ti-sgx-um/ti-sgx-um.mk
Lothar Felten 994b030749 package/ti-sgx-um: new package
This package adds the userspace libraries for the SGX graphics
accelerator of the following Texas Instruments SoCs: AM335x, AM437x,
AM4430, AM5430 It also adds a config file for the libraries and a
System-V init script.

Signed-off-by: Lothar Felten <lothar.felten@gmail.com>
[Thomas:
 - Add Config.in comment about the ti-sgx-km dependency.
 - Add dependency on glibc since the package consists of pre-built
   libraries that can only work with glibc.
 - Add Config.in comment about thread and glibc dependencies
 - Use tabs for indentation everywhere.
 - Use git:// instead of http:// to clone, since http:// doesn't work.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-07-16 16:37:14 +02:00

39 lines
1.1 KiB
Makefile

################################################################################
#
# ti-sgx-um
#
################################################################################
# This correpsonds to SDK 02.00.00.00
TI_SGX_UM_VERSION = e15f1543bab4de9e8927a2c4934addf3fd16ffcb
TI_SGX_UM_SITE = git://git.ti.com/graphics/omap5-sgx-ddk-um-linux.git
TI_SGX_UM_LICENSE = TI TSPA License
TI_SGX_UM_LICENSE_FILES = OMAP5-Linux-Graphics-DDK-UM-Manifest.doc
TI_SGX_UM_INSTALL_STAGING = YES
# ti-sgx-um is a egl/gles provider only if libdrm is installed
TI_SGX_UM_DEPENDENCIES = libdrm
define TI_SGX_UM_INSTALL_STAGING_CMDS
$(MAKE) -C $(@D) DISCIMAGE=$(STAGING_DIR) install
endef
define TI_SGX_UM_INSTALL_TARGET_CMDS
$(MAKE) -C $(@D) DISCIMAGE=$(TARGET_DIR) install
endef
# libs use the following file for configuration
define TI_SGX_UM_INSTALL_CONF
$(INSTALL) -D -m 0644 package/ti-sgx-um/powervr.ini \
$(TARGET_DIR)/etc/powervr.ini
endef
TI_SGX_UM_POST_INSTALL_TARGET_HOOKS += TI_SGX_UM_INSTALL_CONF
define TI_SGX_UM_INSTALL_INIT_SYSV
$(INSTALL) -D -m 0755 package/ti-sgx-um/S80ti-sgx \
$(TARGET_DIR)/etc/init.d/S80ti-sgx
endef
$(eval $(generic-package))