2016-07-14 14:04:46 +02:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# ti-sgx-um
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2019-11-15 13:49:58 +01:00
|
|
|
# This correpsonds to SDK 06.00.00.07 plus one pull request
|
|
|
|
TI_SGX_UM_VERSION = 2a2e5bb090ced870d73ed4edbc54793e952cc6d8
|
|
|
|
TI_SGX_UM_SITE = http://git.ti.com/git/graphics/omap5-sgx-ddk-um-linux.git
|
|
|
|
TI_SGX_UM_SITE_METHOD = git
|
2016-07-14 14:04:46 +02:00
|
|
|
TI_SGX_UM_LICENSE = TI TSPA License
|
2019-11-15 13:49:58 +01:00
|
|
|
TI_SGX_UM_LICENSE_FILES = TI-Linux-Graphics-DDK-UM-Manifest.doc
|
2016-07-14 14:04:46 +02:00
|
|
|
TI_SGX_UM_INSTALL_STAGING = YES
|
2019-11-15 13:49:58 +01:00
|
|
|
TI_SGX_UM_TARGET=ti335x
|
2016-07-14 14:04:46 +02:00
|
|
|
|
|
|
|
# ti-sgx-um is a egl/gles provider only if libdrm is installed
|
2019-11-15 13:49:58 +01:00
|
|
|
TI_SGX_UM_DEPENDENCIES = libdrm wayland
|
2016-07-14 14:04:46 +02:00
|
|
|
|
|
|
|
define TI_SGX_UM_INSTALL_STAGING_CMDS
|
2019-11-15 13:49:58 +01:00
|
|
|
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) DISCIMAGE=$(STAGING_DIR) \
|
|
|
|
TARGET_PRODUCT=$(TI_SGX_UM_TARGET) install
|
2016-07-14 14:04:46 +02:00
|
|
|
endef
|
|
|
|
|
|
|
|
define TI_SGX_UM_INSTALL_TARGET_CMDS
|
2019-11-15 13:49:58 +01:00
|
|
|
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) DISCIMAGE=$(TARGET_DIR) \
|
|
|
|
TARGET_PRODUCT=$(TI_SGX_UM_TARGET) install
|
2016-07-14 14:04:46 +02:00
|
|
|
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))
|