python-pathvalidate: bump version to 0.14.1
[buildroot-gz.git] / package / ti-sgx-km / ti-sgx-km.mk
blob48c8a6d1fa5eef2b3c8c23b59261dc920d4cf578
1 ################################################################################
3 # ti-sgx-km
5 ################################################################################
7 # This correpsonds to SDK 02.00.00.00
8 TI_SGX_KM_VERSION = 2b7523d07a13ab704a24a7664749551f4a13ed32
9 TI_SGX_KM_SITE = git://git.ti.com/graphics/omap5-sgx-ddk-linux.git
10 TI_SGX_KM_LICENSE = GPLv2
11 TI_SGX_KM_LICENSE_FILES = GPL-COPYING
13 TI_SGX_KM_DEPENDENCIES = linux
15 TI_SGX_KM_MAKE_OPTS = \
16 $(LINUX_MAKE_FLAGS) \
17 KERNELDIR=$(LINUX_DIR) \
18 PVR_NULLDRM=1
20 ifeq ($(BR2_PACKAGE_TI_SGX_AM335X),y)
21 TI_SGX_KM_PLATFORM_NAME = omap335x
22 else ifeq ($(BR2_PACKAGE_TI_SGX_AM437X),y)
23 TI_SGX_KM_PLATFORM_NAME = omap437x
24 else ifeq ($(BR2_PACKAGE_TI_SGX_AM4430),y)
25 TI_SGX_KM_PLATFORM_NAME = omap4430
26 else ifeq ($(BR2_PACKAGE_TI_SGX_5430),y)
27 TI_SGX_KM_PLATFORM_NAME = omap5430
28 endif
30 TI_SGX_KM_SUBDIR = eurasia_km/eurasiacon/build/linux2/$(TI_SGX_KM_PLATFORM_NAME)_linux
32 define TI_SGX_KM_BUILD_CMDS
33 $(TARGET_MAKE_ENV) $(MAKE) $(TI_SGX_KM_MAKE_OPTS) \
34 -C $(@D)/$(TI_SGX_KM_SUBDIR)
35 endef
37 define TI_SGX_KM_INSTALL_TARGET_CMDS
38 $(TARGET_MAKE_ENV) $(MAKE) $(TI_SGX_KM_MAKE_OPTS) \
39 DISCIMAGE=$(TARGET_DIR) \
40 kbuild_install -C $(@D)/$(TI_SGX_KM_SUBDIR)
41 endef
43 $(eval $(generic-package))