buildroot/package/ti-sgx-km/ti-sgx-km.mk

37 lines
1022 B
Makefile

################################################################################
#
# ti-sgx-km
#
################################################################################
# This corresponds to SDK 06.01.00.08
TI_SGX_KM_VERSION = cf7f48cb30abfd5df7a60c9bf4bbb1dde0d496d9
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))