kumquat-buildroot/package/ti-sgx-um/ti-sgx-um.mk
Adam Duskett 814bfc5ec1 package/ti-sgx-{km, um}: bump to SDK 06.01.00.08 versions
Currently, the ti-sgx packages and the beaglebone_qt5_defconfig do
not work with KMS nor Weston. What's worse, is the latest SDK version
06.03.00.106 (as of this commit) of these packages is broken and does
not correctly support KMS, and attempting to run KMS applications
results in eglfs initialization failures. As such, bumping these
packages to the version before 06.03.00.106 is the best option.

Because of the above problems, several packages must change at the
same time to ensure this patch does not break any other packages:

  - ti-sgx-libgbm
    - dropped, merged into ti-sgx-um, see below

  - ti-sgx-um:
    - bump the version that matches TI SDK 06.01.00.08.
    - demove select BR2_PACKAGE_TI_SGX_LIBGBM in Config.in, as the libgbm
      package merges ti-sgx-libgbm with this package.

  - ti-sgx-km:
    - bump the version that matches TI SDK 06.01.00.08.

Signed-off-by: Adam Duskett <Aduskett@gmail.com>
Tested-by: Markus <zehnder@live.com>
[yann.morin.1998@free.fr:
  - actually switch qt5base to use ti-sgx-um
  - split the beaglebone config changes to their own patch
  - split the ti-sgx-demos changes to their own patch
]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2020-12-13 14:51:48 +01:00

37 lines
1.1 KiB
Makefile

################################################################################
#
# ti-sgx-um
#
################################################################################
# This correpsonds to SDK 06.01.00.08
TI_SGX_UM_VERSION = 909e237baf47d0bde006ff25552f5403fd7e359d
TI_SGX_UM_SITE = http://git.ti.com/git/graphics/omap5-sgx-ddk-um-linux.git
TI_SGX_UM_SITE_METHOD = git
TI_SGX_UM_LICENSE = TI TSPA License
TI_SGX_UM_LICENSE_FILES = TI-Linux-Graphics-DDK-UM-Manifest.doc
TI_SGX_UM_INSTALL_STAGING = YES
TI_SGX_UM_TARGET=ti335x
# ti-sgx-um is a egl/gles provider only if libdrm is installed
TI_SGX_UM_DEPENDENCIES = libdrm wayland
define TI_SGX_UM_INSTALL_STAGING_CMDS
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) DISCIMAGE=$(STAGING_DIR) \
TARGET_PRODUCT=$(TI_SGX_UM_TARGET) install
endef
define TI_SGX_UM_INSTALL_TARGET_CMDS
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) DISCIMAGE=$(TARGET_DIR) \
TARGET_PRODUCT=$(TI_SGX_UM_TARGET) install
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))