• Skip to sidebar navigation
  • Skip to content

Bitbucket

  • More
    ProjectsRepositories
  • Help
    • Online help
    • Learn Git
    • Welcome to Bitbucket
    • Keyboard shortcuts
  • Log In
Alexander Dahl
  1. Alexander Dahl

buildroot

Public
Actions
  • Clone
  • Compare

Learn more about cloning repositories

You have read-only access

Navigation
  • Source
  • Commits
  • Branches
  • All Branches Graph
  • Forks
  1. Alexander Dahl
  2. buildroot

Source

buildroot/package/ti-gfx/ti-gfx.mk
Martin CreutzigerMartin Creutziger committed 4ee8047024d02 Sep 2013
Raw file
Source viewDiff to previous
xxxxxxxxxx
 
1
################################################################################
2
#
3
# ti-gfx
4
#
5
################################################################################
6
​
7
TI_GFX_VERSION = 4_09_00_01
8
TI_GFX_SO_VERSION = 1.9.2188537
9
​
10
ifeq ($(BR2_ARM_EABIHF),y)
11
TI_GFX_SOURCE = Graphics_SDK_setuplinux_$(TI_GFX_VERSION)_hardfp_minimal_demos.bin
12
else
13
TI_GFX_SOURCE = Graphics_SDK_setuplinux_$(TI_GFX_VERSION)_minimal_demos.bin
14
endif
15
​
16
TI_GFX_SITE = http://downloads.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/gfxsdk/$(TI_GFX_VERSION)/exports/
17
TI_GFX_LICENSE = Technology / Software Publicly Available
18
TI_GFX_LICENSE_FILES = TSPA.txt
19
TI_GFX_INSTALL_STAGING = YES
20
​
21
TI_GFX_DEPENDENCIES = linux
22
​
23
ifeq ($(BR2_PACKAGE_TI_GFX_ES3),y)
24
TI_GFX_OMAPES = 3.x
25
TI_GFX_PLATFORM = omap3
26
endif
27
ifeq ($(BR2_PACKAGE_TI_GFX_ES5),y)
28
TI_GFX_OMAPES = 5.x
29
TI_GFX_PLATFORM = omap3630
30
endif
31
ifeq ($(BR2_PACKAGE_TI_GFX_ES6),y)
32
TI_GFX_OMAPES = 6.x
33
TI_GFX_PLATFORM = ti81xx
34
endif
35
ifeq ($(BR2_PACKAGE_TI_GFX_ES8),y)
36
TI_GFX_OMAPES = 8.x
37
TI_GFX_PLATFORM = ti335x
38
endif
39
​
40
ifeq ($(BR2_PACKAGE_TI_GFX_DEBUG),y)
41
TI_GFX_DEBUG_LIB = dbg
42
TI_GFX_DEBUG_KM = debug
43
else
44
TI_GFX_DEBUG_LIB = rel
45
TI_GFX_DEBUG_KM = release
46
endif
47
​
48
TI_GFX_BIN_PATH = gfx_$(TI_GFX_DEBUG_LIB)_es$(TI_GFX_OMAPES)
49
​
50
TI_GFX_KM_MAKE_OPTS = \
51
    $(LINUX_MAKE_FLAGS) \
52
    BUILD=$(TI_GFX_DEBUG_KM) \
53
    TI_PLATFORM=$(TI_GFX_PLATFORM) \
54
    OMAPES=$(TI_GFX_OMAPES) \
55
    SUPPORT_XORG=0 \
56
    KERNELDIR=$(LINUX_DIR)
57
​
58
TI_GFX_DEMO_MAKE_OPTS = \
59
    PLATFORM=LinuxARMV7 \
60
    X11BUILD=0 \
61
    PLAT_CC="$(TARGET_CC)" \
62
    PLAT_CPP="$(TARGET_CXX)" \
63
    PLAT_AR="$(TARGET_AR)"
64
​
65
# The only required binary is pvrsrvctl all others are optional
66
TI_GFX_BIN = pvrsrvctl
67
​
68
ifeq ($(BR2_PACKAGE_TI_GFX_DEBUG),y)
69
TI_GFX_BIN += \
70
    eglinfo ews_server ews_server_es2 ews_test_gles1 ews_test_gles2 \
71
    ews_test_swrender gles1test1 gles2test1 pvr2d_test services_test \
72
    sgx_blit_test sgx_clipblit_test sgx_flip_test sgx_init_test \
73
    sgx_render_flip_test xeglinfo xgles1test1 xgles2test1 xmultiegltest
74
endif
75
​
76
TI_GFX_LIBS = \
77
    libews libpvr2d libpvrEWS_WSEGL libpvrPVR2D_BLITWSEGL libpvrPVR2D_DRIWSEGL \
78
    libpvrPVR2D_FLIPWSEGL libpvrPVR2D_FRONTWSEGL libpvrPVR2D_LINUXFBWSEGL \
79
    libPVRScopeServices libsrv_init libsrv_um libusc pvr_drv
80
​
81
TI_GFX_EGLIMAGE_LIBS = \
82
    libEGL libGLES_CM libGLESv2 libglslcompiler libIMGegl
83
​
84
TI_GFX_DEMOS = ChameleonMan MagicLantern
85
TI_GFX_DEMOS_LOC = GFX_Linux_SDK/OGLES2/SDKPackage/Demos
86
TI_GFX_DEMOS_MAKE_LOC = OGLES2/Build/LinuxGeneric
87
TI_GFX_DEMOS_BIN_LOC = OGLES2/Build/LinuxARMV7/ReleaseRaw/
88
​
89
TI_GFX_HDR_DIRS = OGLES2/EGL OGLES2/EWS OGLES2/GLES2 OGLES2/KHR \
90
    OGLES/GLES bufferclass_ti/ pvr2d/ wsegl/
91
​
92
define TI_GFX_EXTRACT_CMDS
  • Git repository management for enterprise teams powered by Atlassian Bitbucket
  • Atlassian Bitbucket v6.7.2
  • Documentation
  • Request a feature
  • About
  • Contact Atlassian
Atlassian

Everything looks good. We'll let you know here if there's anything you should know about.