logrotate: enable selinux support
[buildroot-gz.git] / package / ti-sgx-um / ti-sgx-um.mk
blobd5c50a0166931f23dda4f2bee845f3d17baa1135
1 ################################################################################
3 # ti-sgx-um
5 ################################################################################
7 # This correpsonds to SDK 02.00.00.00
8 TI_SGX_UM_VERSION = e15f1543bab4de9e8927a2c4934addf3fd16ffcb
9 TI_SGX_UM_SITE = git://git.ti.com/graphics/omap5-sgx-ddk-um-linux.git
10 TI_SGX_UM_LICENSE = TI TSPA License
11 TI_SGX_UM_LICENSE_FILES = OMAP5-Linux-Graphics-DDK-UM-Manifest.doc
12 TI_SGX_UM_INSTALL_STAGING = YES
14 # ti-sgx-um is a egl/gles provider only if libdrm is installed
15 TI_SGX_UM_DEPENDENCIES = libdrm
17 define TI_SGX_UM_INSTALL_STAGING_CMDS
18 $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) DISCIMAGE=$(STAGING_DIR) install
19 endef
21 define TI_SGX_UM_INSTALL_TARGET_CMDS
22 $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) DISCIMAGE=$(TARGET_DIR) install
23 endef
25 # libs use the following file for configuration
26 define TI_SGX_UM_INSTALL_CONF
27 $(INSTALL) -D -m 0644 package/ti-sgx-um/powervr.ini \
28 $(TARGET_DIR)/etc/powervr.ini
29 endef
31 TI_SGX_UM_POST_INSTALL_TARGET_HOOKS += TI_SGX_UM_INSTALL_CONF
33 define TI_SGX_UM_INSTALL_INIT_SYSV
34 $(INSTALL) -D -m 0755 package/ti-sgx-um/S80ti-sgx \
35 $(TARGET_DIR)/etc/init.d/S80ti-sgx
36 endef
38 $(eval $(generic-package))