buildroot/package/ti-sgx-km/ti-sgx-km.mk
Lothar Felten c38b5566fe package/ti-sgx-{km, um, demos}: bump to latest TI version
ti-sgx-um

- Bump the version that matches TI SDK 06.00.00.07 plus one pull request
  that updates the EGL/GLES headers required to build qt5base.
- Rewrite the init script, following the current template and using the
  pvrsrvctl command (pvrsrvinit does not exit anymore).
- Remove powervr.ini, no longer used in the TI SDK.
- Select and add a dependency on wayland, or else packages that link to
  libEGL (e.g. cairo) fail to link due to a missing libwayland-server.
- Update license file name.

ti-sgx-demos

- Bump the version that matches TI SDK 06.00.00.07 plus one pull request
  (matching ti-sgx-um).

ti-sgx-km

- Bump the version that matches TI SDK 06.00.00.07.
- Remove stray empty lines.
- Fix license file path.

All packages

- Use HTTP to clone Git repositories.
- Update URL in Config.in files, pointing to cgit and using HTTPS.
- Add hashes for all license files.

The buildroot package only supports the target am335x. Support for other
boards can be added by adding menu entries to select the correct target
product.

Signed-off-by: Lothar Felten <lothar.felten@gmail.com>
Signed-off-by: Carlos Santos <unixmania@gmail.com>
[Thomas:
 - add missing depends on BR2_PACKAGE_HAS_UDEV from Config.in,
   inherited from ti-sgx-libgbm]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2019-12-30 14:46:41 +01:00

37 lines
1,022 B
Makefile

################################################################################
#
# ti-sgx-km
#
################################################################################
# This correpsonds to SDK 06.00.00.07
TI_SGX_KM_VERSION = 4519ed3b83d1d72207ddc2874c7eb5e5a7f20d8d
TI_SGX_KM_SITE = http://git.ti.com/git/graphics/omap5-sgx-ddk-linux.git
TI_SGX_KM_SITE_METHOD = git
TI_SGX_KM_LICENSE = GPL-2.0
TI_SGX_KM_LICENSE_FILES = eurasia_km/GPL-COPYING
TI_SGX_KM_DEPENDENCIES = linux
TI_SGX_KM_MAKE_OPTS = \
$(LINUX_MAKE_FLAGS) \
KERNELDIR=$(LINUX_DIR) \
TARGET_PRODUCT=$(TI_SGX_KM_PLATFORM_NAME)
TI_SGX_KM_PLATFORM_NAME = ti335x
TI_SGX_KM_SUBDIR = eurasia_km/eurasiacon/build/linux2/omap_linux
define TI_SGX_KM_BUILD_CMDS
$(TARGET_MAKE_ENV) $(MAKE) $(TI_SGX_KM_MAKE_OPTS) \
-C $(@D)/$(TI_SGX_KM_SUBDIR)
endef
define TI_SGX_KM_INSTALL_TARGET_CMDS
$(TARGET_MAKE_ENV) $(MAKE) $(TI_SGX_KM_MAKE_OPTS) \
DISCIMAGE=$(TARGET_DIR) \
kbuild_install -C $(@D)/$(TI_SGX_KM_SUBDIR)
endef
$(eval $(generic-package))