buildroot/package/ti-sgx-libgbm/ti-sgx-libgbm.mk
Lothar Felten fb7fb9bda6 package/ti-sgx-libgbm: new package
A custom ti version of libgbm for SGX graphics accelerator, required by
the binary libraries of the ti-sgx-um package.

Signed-off-by: Lothar Felten <lothar.felten@gmail.com>
Signed-off-by: Carlos Santos <unixmania@gmail.com>
[Thomas:
 - fix LICENSE variable, as noticed by Yegor
 - fix alphabetic ordering in package/Config.in
 - add missing select BR2_PACKAGE_LIBDRM in Config.in, and the
   corresponding dependencies
 - add missing depends on BR2_PACKAGE_HAS_UDEV in Config.in
 - use gbm.h as license file, instead of extracting the first 26 lines
   of the header file]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2019-12-30 14:46:41 +01:00

33 lines
815 B
Makefile

################################################################################
#
# ti-sgx-libgbm
#
################################################################################
# This correpsonds to SDK 06.00.00.07
TI_SGX_LIBGBM_VERSION = c5ddc6a37bb78ac753b317b17d890d1f7338dea6
TI_SGX_LIBGBM_SITE = http://git.ti.com/git/glsdk/libgbm.git
TI_SGX_LIBGBM_SITE_METHOD = git
TI_SGX_LIBGBM_LICENSE = MIT
TI_SGX_LIBGBM_LICENSE_FILES = gbm.h
TI_SGX_LIBGBM_INSTALL_STAGING = YES
TI_SGX_LIBGBM_AUTORECONF = YES
TI_SGX_LIBGBM_DEPENDENCIES = libdrm udev
define TI_SGX_LIBGBM_INSTALL_TARGET_OPTS
PREFIX=/usr \
STRIP=/bin/true \
DESTDIR=$(TARGET_DIR) \
install
endef
define TI_SGX_LIBGBM_INSTALL_STAGING_OPTS
PREFIX=/usr \
STRIP=/bin/true \
DESTDIR=$(STAGING_DIR) \
install
endef
$(eval $(autotools-package))