2016-07-14 14:04:45 +02:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# ti-sgx-km
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
|
|
|
# This correpsonds to SDK 02.00.00.00
|
|
|
|
TI_SGX_KM_VERSION = 2b7523d07a13ab704a24a7664749551f4a13ed32
|
|
|
|
TI_SGX_KM_SITE = git://git.ti.com/graphics/omap5-sgx-ddk-linux.git
|
2017-03-30 15:43:32 +02:00
|
|
|
TI_SGX_KM_LICENSE = GPL-2.0
|
2016-07-14 14:04:45 +02:00
|
|
|
TI_SGX_KM_LICENSE_FILES = GPL-COPYING
|
|
|
|
|
|
|
|
TI_SGX_KM_DEPENDENCIES = linux
|
|
|
|
|
|
|
|
TI_SGX_KM_MAKE_OPTS = \
|
|
|
|
$(LINUX_MAKE_FLAGS) \
|
|
|
|
KERNELDIR=$(LINUX_DIR) \
|
|
|
|
PVR_NULLDRM=1
|
|
|
|
|
|
|
|
ifeq ($(BR2_PACKAGE_TI_SGX_AM335X),y)
|
|
|
|
TI_SGX_KM_PLATFORM_NAME = omap335x
|
|
|
|
else ifeq ($(BR2_PACKAGE_TI_SGX_AM437X),y)
|
|
|
|
TI_SGX_KM_PLATFORM_NAME = omap437x
|
|
|
|
else ifeq ($(BR2_PACKAGE_TI_SGX_AM4430),y)
|
|
|
|
TI_SGX_KM_PLATFORM_NAME = omap4430
|
|
|
|
else ifeq ($(BR2_PACKAGE_TI_SGX_5430),y)
|
|
|
|
TI_SGX_KM_PLATFORM_NAME = omap5430
|
|
|
|
endif
|
|
|
|
|
|
|
|
TI_SGX_KM_SUBDIR = eurasia_km/eurasiacon/build/linux2/$(TI_SGX_KM_PLATFORM_NAME)_linux
|
|
|
|
|
|
|
|
define TI_SGX_KM_BUILD_CMDS
|
|
|
|
$(TARGET_MAKE_ENV) $(MAKE) $(TI_SGX_KM_MAKE_OPTS) \
|
2016-10-26 11:19:08 +02:00
|
|
|
-C $(@D)/$(TI_SGX_KM_SUBDIR)
|
2016-07-14 14:04:45 +02:00
|
|
|
endef
|
|
|
|
|
|
|
|
define TI_SGX_KM_INSTALL_TARGET_CMDS
|
2016-07-17 04:26:12 +02:00
|
|
|
$(TARGET_MAKE_ENV) $(MAKE) $(TI_SGX_KM_MAKE_OPTS) \
|
2016-07-14 14:04:45 +02:00
|
|
|
DISCIMAGE=$(TARGET_DIR) \
|
|
|
|
kbuild_install -C $(@D)/$(TI_SGX_KM_SUBDIR)
|
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(generic-package))
|