summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVishal Mahaveer2014-07-07 12:09:25 -0500
committerVishal Mahaveer2014-07-07 12:09:25 -0500
commit42368f85049570d001199b5bd283dbd5147993bd (patch)
tree9b2e5b78eb44cd9680b031f08ba2c60cfb032290
parent70e226a347eb8c1373ce04ca09d16b7bf629a623 (diff)
downloaddevice-ti-proprietary-open-42368f85049570d001199b5bd283dbd5147993bd.tar.gz
device-ti-proprietary-open-42368f85049570d001199b5bd283dbd5147993bd.tar.xz
device-ti-proprietary-open-42368f85049570d001199b5bd283dbd5147993bd.zip
cleanup: remove unused legacy folders
We no longer maintain omap4/omap5 graphics and ducati binaries Change-Id: Ie3e5ed95c0efa0947f12e7afc5af777e99e71bf3 Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
-rw-r--r--omap4/Android.mk3
-rw-r--r--omap4/License_for_Ducati_Binary_Image.txt98
-rw-r--r--omap4/License_for_IMG_SGX_Binary_Image.txt125
-rw-r--r--omap4/README.SGX207
-rw-r--r--omap4/dsp_fw.mk21
-rw-r--r--omap4/ducati-blaze_tablet.mk24
-rw-r--r--omap4/ducati-full_blaze.mk24
-rw-r--r--omap4/ducati_blaze_tablet.tgzbin2829915 -> 0 bytes
-rw-r--r--omap4/ducati_full_blaze.tgzbin2793436 -> 0 bytes
-rw-r--r--omap4/sgx.tgzbin4803367 -> 0 bytes
-rw-r--r--omap4/sgx/Android.mk150
-rw-r--r--omap4/sgx_src/eurasia_km.tgzbin21023354 -> 0 bytes
-rw-r--r--omap4/tesla_dsp.tgzbin214422 -> 0 bytes
-rw-r--r--omap4/ti-omap4-vendor.mk21
-rw-r--r--omap5/Android.mk18
-rw-r--r--omap5/License_for_Ducati_Binary_Image.txt246
-rw-r--r--omap5/License_for_IMG_SGX_Binary_Image.txt125
-rw-r--r--omap5/README.SGX51
-rw-r--r--omap5/ducati-full_omap5panda.mk24
-rw-r--r--omap5/ducati_full_omap5panda.tgzbin4416859 -> 0 bytes
-rw-r--r--omap5/sgx.tgzbin2525537 -> 0 bytes
-rw-r--r--omap5/sgx/Android.mk150
-rw-r--r--omap5/sgx_src/eurasia_km/GPL-COPYING344
-rw-r--r--omap5/sgx_src/eurasia_km/INSTALL72
-rw-r--r--omap5/sgx_src/eurasia_km/MIT-COPYING41
-rw-r--r--omap5/sgx_src/eurasia_km/README49
-rw-r--r--omap5/sgx_src/eurasia_km/eurasiacon/build/linux2/bits.mk112
-rw-r--r--omap5/sgx_src/eurasia_km/eurasiacon/build/linux2/buildvars.mk217
-rw-r--r--omap5/sgx_src/eurasia_km/eurasiacon/build/linux2/commands.mk219
-rw-r--r--omap5/sgx_src/eurasia_km/eurasiacon/build/linux2/common/android/arch_common.mk59
-rw-r--r--omap5/sgx_src/eurasia_km/eurasiacon/build/linux2/common/android/armv7-a.mk68
-rw-r--r--omap5/sgx_src/eurasia_km/eurasiacon/build/linux2/common/android/extra_config.mk47
-rw-r--r--omap5/sgx_src/eurasia_km/eurasiacon/build/linux2/common/android/features.mk319
-rw-r--r--omap5/sgx_src/eurasia_km/eurasiacon/build/linux2/common/android/paths.mk53
-rw-r--r--omap5/sgx_src/eurasia_km/eurasiacon/build/linux2/common/android/platform_version.mk156
-rw-r--r--omap5/sgx_src/eurasia_km/eurasiacon/build/linux2/common/dridrm.mk63
-rw-r--r--omap5/sgx_src/eurasia_km/eurasiacon/build/linux2/common/omap4.mk43
-rw-r--r--omap5/sgx_src/eurasia_km/eurasiacon/build/linux2/common/opencl.mk40
-rw-r--r--omap5/sgx_src/eurasia_km/eurasiacon/build/linux2/config/core.mk604
-rw-r--r--omap5/sgx_src/eurasia_km/eurasiacon/build/linux2/defs.mk140
-rw-r--r--omap5/sgx_src/eurasia_km/eurasiacon/build/linux2/kbuild/Makefile.template92
-rw-r--r--omap5/sgx_src/eurasia_km/eurasiacon/build/linux2/kbuild/external_tarball.mk49
-rw-r--r--omap5/sgx_src/eurasia_km/eurasiacon/build/linux2/kbuild/kbuild.mk91
-rw-r--r--omap5/sgx_src/eurasia_km/eurasiacon/build/linux2/kernel_module.mk75
-rw-r--r--omap5/sgx_src/eurasia_km/eurasiacon/build/linux2/kernel_version.mk100
-rw-r--r--omap5/sgx_src/eurasia_km/eurasiacon/build/linux2/moduledefs.mk96
-rw-r--r--omap5/sgx_src/eurasia_km/eurasiacon/build/linux2/modules.mk49
-rw-r--r--omap5/sgx_src/eurasia_km/eurasiacon/build/linux2/omap4430_android/Makefile192
-rw-r--r--omap5/sgx_src/eurasia_km/eurasiacon/build/linux2/omap4430_android/products.mk46
-rw-r--r--omap5/sgx_src/eurasia_km/eurasiacon/build/linux2/prepare_tree.mk60
-rw-r--r--omap5/sgx_src/eurasia_km/eurasiacon/build/linux2/this_makefile.mk68
-rwxr-xr-xomap5/sgx_src/eurasia_km/eurasiacon/build/linux2/tools/cc-check.sh99
-rw-r--r--omap5/sgx_src/eurasia_km/eurasiacon/build/linux2/toplevel.mk226
-rw-r--r--omap5/sgx_src/eurasia_km/include4/dbgdrvif.h381
-rw-r--r--omap5/sgx_src/eurasia_km/include4/img_defs.h153
-rw-r--r--omap5/sgx_src/eurasia_km/include4/img_types.h214
-rw-r--r--omap5/sgx_src/eurasia_km/include4/pdumpdefs.h126
-rw-r--r--omap5/sgx_src/eurasia_km/include4/pvr_debug.h235
-rw-r--r--omap5/sgx_src/eurasia_km/include4/pvrmodule.h48
-rw-r--r--omap5/sgx_src/eurasia_km/include4/pvrversion.h69
-rw-r--r--omap5/sgx_src/eurasia_km/include4/services.h1870
-rw-r--r--omap5/sgx_src/eurasia_km/include4/servicesext.h965
-rw-r--r--omap5/sgx_src/eurasia_km/include4/sgx_options.h258
-rw-r--r--omap5/sgx_src/eurasia_km/include4/sgxapi_km.h524
-rw-r--r--omap5/sgx_src/eurasia_km/include4/sgxscript.h99
-rw-r--r--omap5/sgx_src/eurasia_km/services4/3rdparty/dc_nohw/Kbuild.mk47
-rw-r--r--omap5/sgx_src/eurasia_km/services4/3rdparty/dc_nohw/Linux.mk45
-rw-r--r--omap5/sgx_src/eurasia_km/services4/3rdparty/dc_nohw/dc_nohw.h288
-rw-r--r--omap5/sgx_src/eurasia_km/services4/3rdparty/dc_nohw/dc_nohw_displayclass.c982
-rw-r--r--omap5/sgx_src/eurasia_km/services4/3rdparty/dc_nohw/dc_nohw_linux.c376
-rw-r--r--omap5/sgx_src/eurasia_km/services4/3rdparty/dc_omapfb3_linux/Kbuild.mk48
-rw-r--r--omap5/sgx_src/eurasia_km/services4/3rdparty/dc_omapfb3_linux/Linux.mk45
-rw-r--r--omap5/sgx_src/eurasia_km/services4/3rdparty/dc_omapfb3_linux/omaplfb.h323
-rw-r--r--omap5/sgx_src/eurasia_km/services4/3rdparty/dc_omapfb3_linux/omaplfb_displayclass.c1722
-rw-r--r--omap5/sgx_src/eurasia_km/services4/3rdparty/dc_omapfb3_linux/omaplfb_linux.c1165
-rw-r--r--omap5/sgx_src/eurasia_km/services4/include/kernelbuffer.h97
-rw-r--r--omap5/sgx_src/eurasia_km/services4/include/kerneldisplay.h243
-rw-r--r--omap5/sgx_src/eurasia_km/services4/include/pdump.h51
-rw-r--r--omap5/sgx_src/eurasia_km/services4/include/pvr_bridge.h2255
-rw-r--r--omap5/sgx_src/eurasia_km/services4/include/pvr_bridge_km.h409
-rw-r--r--omap5/sgx_src/eurasia_km/services4/include/pvrmmap.h81
-rw-r--r--omap5/sgx_src/eurasia_km/services4/include/pvrsrv_errors.h311
-rw-r--r--omap5/sgx_src/eurasia_km/services4/include/servicesint.h556
-rw-r--r--omap5/sgx_src/eurasia_km/services4/include/sgx_bridge.h779
-rw-r--r--omap5/sgx_src/eurasia_km/services4/include/sgx_mkif_km.h475
-rw-r--r--omap5/sgx_src/eurasia_km/services4/include/sgx_ukernel_status_codes.h966
-rw-r--r--omap5/sgx_src/eurasia_km/services4/include/sgxinfo.h493
-rw-r--r--omap5/sgx_src/eurasia_km/services4/srvkm/bridged/bridged_pvr_bridge.c5512
-rw-r--r--omap5/sgx_src/eurasia_km/services4/srvkm/bridged/bridged_pvr_bridge.h257
-rw-r--r--omap5/sgx_src/eurasia_km/services4/srvkm/bridged/bridged_support.c117
-rw-r--r--omap5/sgx_src/eurasia_km/services4/srvkm/bridged/bridged_support.h72
-rw-r--r--omap5/sgx_src/eurasia_km/services4/srvkm/bridged/sgx/bridged_sgx_bridge.c3864
-rw-r--r--omap5/sgx_src/eurasia_km/services4/srvkm/bridged/sgx/bridged_sgx_bridge.h61
-rw-r--r--omap5/sgx_src/eurasia_km/services4/srvkm/common/buffer_manager.c3573
-rw-r--r--omap5/sgx_src/eurasia_km/services4/srvkm/common/deviceclass.c2863
-rw-r--r--omap5/sgx_src/eurasia_km/services4/srvkm/common/deviceid.h51
-rw-r--r--omap5/sgx_src/eurasia_km/services4/srvkm/common/devicemem.c2580
-rw-r--r--omap5/sgx_src/eurasia_km/services4/srvkm/common/handle.c2689
-rw-r--r--omap5/sgx_src/eurasia_km/services4/srvkm/common/hash.c738
-rw-r--r--omap5/sgx_src/eurasia_km/services4/srvkm/common/lists.c156
-rw-r--r--omap5/sgx_src/eurasia_km/services4/srvkm/common/mem.c175
-rw-r--r--omap5/sgx_src/eurasia_km/services4/srvkm/common/mem_debug.c272
-rw-r--r--omap5/sgx_src/eurasia_km/services4/srvkm/common/metrics.c209
-rw-r--r--omap5/sgx_src/eurasia_km/services4/srvkm/common/osfunc_common.c48
-rw-r--r--omap5/sgx_src/eurasia_km/services4/srvkm/common/pdump_common.c2967
-rw-r--r--omap5/sgx_src/eurasia_km/services4/srvkm/common/perproc.c398
-rw-r--r--omap5/sgx_src/eurasia_km/services4/srvkm/common/power.c996
-rw-r--r--omap5/sgx_src/eurasia_km/services4/srvkm/common/pvrsrv.c1846
-rw-r--r--omap5/sgx_src/eurasia_km/services4/srvkm/common/queue.c1500
-rw-r--r--omap5/sgx_src/eurasia_km/services4/srvkm/common/ra.c2427
-rw-r--r--omap5/sgx_src/eurasia_km/services4/srvkm/common/refcount.c588
-rw-r--r--omap5/sgx_src/eurasia_km/services4/srvkm/common/resman.c985
-rw-r--r--omap5/sgx_src/eurasia_km/services4/srvkm/common/ttrace.c597
-rw-r--r--omap5/sgx_src/eurasia_km/services4/srvkm/devices/sgx/mmu.c4600
-rw-r--r--omap5/sgx_src/eurasia_km/services4/srvkm/devices/sgx/mmu.h501
-rw-r--r--omap5/sgx_src/eurasia_km/services4/srvkm/devices/sgx/pb.c493
-rw-r--r--omap5/sgx_src/eurasia_km/services4/srvkm/devices/sgx/sgx_bridge_km.h279
-rw-r--r--omap5/sgx_src/eurasia_km/services4/srvkm/devices/sgx/sgxconfig.h481
-rw-r--r--omap5/sgx_src/eurasia_km/services4/srvkm/devices/sgx/sgxinfokm.h610
-rw-r--r--omap5/sgx_src/eurasia_km/services4/srvkm/devices/sgx/sgxinit.c3428
-rw-r--r--omap5/sgx_src/eurasia_km/services4/srvkm/devices/sgx/sgxkick.c899
-rw-r--r--omap5/sgx_src/eurasia_km/services4/srvkm/devices/sgx/sgxpower.c634
-rw-r--r--omap5/sgx_src/eurasia_km/services4/srvkm/devices/sgx/sgxreset.c808
-rw-r--r--omap5/sgx_src/eurasia_km/services4/srvkm/devices/sgx/sgxtransfer.c814
-rw-r--r--omap5/sgx_src/eurasia_km/services4/srvkm/devices/sgx/sgxutils.c1914
-rw-r--r--omap5/sgx_src/eurasia_km/services4/srvkm/devices/sgx/sgxutils.h195
-rw-r--r--omap5/sgx_src/eurasia_km/services4/srvkm/env/linux/Kbuild.mk166
-rw-r--r--omap5/sgx_src/eurasia_km/services4/srvkm/env/linux/Linux.mk45
-rw-r--r--omap5/sgx_src/eurasia_km/services4/srvkm/env/linux/env_data.h93
-rw-r--r--omap5/sgx_src/eurasia_km/services4/srvkm/env/linux/env_perproc.h79
-rw-r--r--omap5/sgx_src/eurasia_km/services4/srvkm/env/linux/event.c414
-rw-r--r--omap5/sgx_src/eurasia_km/services4/srvkm/env/linux/event.h48
-rw-r--r--omap5/sgx_src/eurasia_km/services4/srvkm/env/linux/gc_bvmapping.c147
-rw-r--r--omap5/sgx_src/eurasia_km/services4/srvkm/env/linux/gc_bvmapping.h27
-rw-r--r--omap5/sgx_src/eurasia_km/services4/srvkm/env/linux/ion.c363
-rw-r--r--omap5/sgx_src/eurasia_km/services4/srvkm/env/linux/ion.h74
-rw-r--r--omap5/sgx_src/eurasia_km/services4/srvkm/env/linux/linkage.h72
-rw-r--r--omap5/sgx_src/eurasia_km/services4/srvkm/env/linux/lock.h56
-rw-r--r--omap5/sgx_src/eurasia_km/services4/srvkm/env/linux/mm.c2945
-rw-r--r--omap5/sgx_src/eurasia_km/services4/srvkm/env/linux/mm.h751
-rw-r--r--omap5/sgx_src/eurasia_km/services4/srvkm/env/linux/mmap.c1656
-rw-r--r--omap5/sgx_src/eurasia_km/services4/srvkm/env/linux/mmap.h240
-rw-r--r--omap5/sgx_src/eurasia_km/services4/srvkm/env/linux/module.c1214
-rw-r--r--omap5/sgx_src/eurasia_km/services4/srvkm/env/linux/mutex.c153
-rw-r--r--omap5/sgx_src/eurasia_km/services4/srvkm/env/linux/mutex.h90
-rw-r--r--omap5/sgx_src/eurasia_km/services4/srvkm/env/linux/mutils.c166
-rw-r--r--omap5/sgx_src/eurasia_km/services4/srvkm/env/linux/mutils.h119
-rw-r--r--omap5/sgx_src/eurasia_km/services4/srvkm/env/linux/osfunc.c4714
-rw-r--r--omap5/sgx_src/eurasia_km/services4/srvkm/env/linux/osperproc.c146
-rw-r--r--omap5/sgx_src/eurasia_km/services4/srvkm/env/linux/pdump.c804
-rw-r--r--omap5/sgx_src/eurasia_km/services4/srvkm/env/linux/private_data.h95
-rw-r--r--omap5/sgx_src/eurasia_km/services4/srvkm/env/linux/proc.c1414
-rw-r--r--omap5/sgx_src/eurasia_km/services4/srvkm/env/linux/proc.h127
-rw-r--r--omap5/sgx_src/eurasia_km/services4/srvkm/env/linux/pvr_bridge_k.c524
-rw-r--r--omap5/sgx_src/eurasia_km/services4/srvkm/env/linux/pvr_debug.c506
-rw-r--r--omap5/sgx_src/eurasia_km/services4/srvkm/env/linux/pvr_uaccess.h88
-rw-r--r--omap5/sgx_src/eurasia_km/services4/srvkm/env/linux/sysfs.c90
-rw-r--r--omap5/sgx_src/eurasia_km/services4/srvkm/env/linux/sysfs.h22
-rw-r--r--omap5/sgx_src/eurasia_km/services4/srvkm/hwdefs/mnemedefs.h117
-rw-r--r--omap5/sgx_src/eurasia_km/services4/srvkm/hwdefs/ocpdefs.h308
-rw-r--r--omap5/sgx_src/eurasia_km/services4/srvkm/hwdefs/sgx520defs.h555
-rw-r--r--omap5/sgx_src/eurasia_km/services4/srvkm/hwdefs/sgx530defs.h542
-rw-r--r--omap5/sgx_src/eurasia_km/services4/srvkm/hwdefs/sgx531defs.h601
-rw-r--r--omap5/sgx_src/eurasia_km/services4/srvkm/hwdefs/sgx535defs.h739
-rw-r--r--omap5/sgx_src/eurasia_km/services4/srvkm/hwdefs/sgx540defs.h605
-rw-r--r--omap5/sgx_src/eurasia_km/services4/srvkm/hwdefs/sgx543_v1.164defs.h1396
-rw-r--r--omap5/sgx_src/eurasia_km/services4/srvkm/hwdefs/sgx543defs.h1487
-rw-r--r--omap5/sgx_src/eurasia_km/services4/srvkm/hwdefs/sgx544defs.h1487
-rw-r--r--omap5/sgx_src/eurasia_km/services4/srvkm/hwdefs/sgx545defs.h1290
-rw-r--r--omap5/sgx_src/eurasia_km/services4/srvkm/hwdefs/sgxdefs.h112
-rw-r--r--omap5/sgx_src/eurasia_km/services4/srvkm/hwdefs/sgxerrata.h519
-rw-r--r--omap5/sgx_src/eurasia_km/services4/srvkm/hwdefs/sgxfeaturedefs.h274
-rw-r--r--omap5/sgx_src/eurasia_km/services4/srvkm/hwdefs/sgxmmu.h99
-rw-r--r--omap5/sgx_src/eurasia_km/services4/srvkm/hwdefs/sgxmpdefs.h365
-rw-r--r--omap5/sgx_src/eurasia_km/services4/srvkm/include/buffer_manager.h674
-rw-r--r--omap5/sgx_src/eurasia_km/services4/srvkm/include/device.h409
-rw-r--r--omap5/sgx_src/eurasia_km/services4/srvkm/include/handle.h567
-rw-r--r--omap5/sgx_src/eurasia_km/services4/srvkm/include/hash.h277
-rw-r--r--omap5/sgx_src/eurasia_km/services4/srvkm/include/lists.h349
-rw-r--r--omap5/sgx_src/eurasia_km/services4/srvkm/include/metrics.h146
-rw-r--r--omap5/sgx_src/eurasia_km/services4/srvkm/include/osfunc.h799
-rw-r--r--omap5/sgx_src/eurasia_km/services4/srvkm/include/osperproc.h94
-rw-r--r--omap5/sgx_src/eurasia_km/services4/srvkm/include/pdump_int.h100
-rw-r--r--omap5/sgx_src/eurasia_km/services4/srvkm/include/pdump_km.h441
-rw-r--r--omap5/sgx_src/eurasia_km/services4/srvkm/include/pdump_osfunc.h337
-rw-r--r--omap5/sgx_src/eurasia_km/services4/srvkm/include/perfkm.h53
-rw-r--r--omap5/sgx_src/eurasia_km/services4/srvkm/include/perproc.h150
-rw-r--r--omap5/sgx_src/eurasia_km/services4/srvkm/include/power.h140
-rw-r--r--omap5/sgx_src/eurasia_km/services4/srvkm/include/queue.h145
-rw-r--r--omap5/sgx_src/eurasia_km/services4/srvkm/include/ra.h293
-rw-r--r--omap5/sgx_src/eurasia_km/services4/srvkm/include/refcount.h203
-rw-r--r--omap5/sgx_src/eurasia_km/services4/srvkm/include/resman.h152
-rw-r--r--omap5/sgx_src/eurasia_km/services4/srvkm/include/services_headers.h68
-rw-r--r--omap5/sgx_src/eurasia_km/services4/srvkm/include/srvkm.h129
-rw-r--r--omap5/sgx_src/eurasia_km/services4/srvkm/include/ttrace.h200
-rw-r--r--omap5/sgx_src/eurasia_km/services4/srvkm/include/ttrace_common.h146
-rw-r--r--omap5/sgx_src/eurasia_km/services4/srvkm/include/ttrace_tokens.h119
-rw-r--r--omap5/sgx_src/eurasia_km/services4/system/include/syscommon.h397
-rw-r--r--omap5/sgx_src/eurasia_km/services4/system/omap4/oemfuncs.h80
-rw-r--r--omap5/sgx_src/eurasia_km/services4/system/omap4/sgxfreq.c590
-rw-r--r--omap5/sgx_src/eurasia_km/services4/system/omap4/sgxfreq.h97
-rw-r--r--omap5/sgx_src/eurasia_km/services4/system/omap4/sgxfreq_activeidle.c181
-rw-r--r--omap5/sgx_src/eurasia_km/services4/system/omap4/sgxfreq_cool.c104
-rw-r--r--omap5/sgx_src/eurasia_km/services4/system/omap4/sgxfreq_on3demand.c324
-rw-r--r--omap5/sgx_src/eurasia_km/services4/system/omap4/sgxfreq_onoff.c180
-rw-r--r--omap5/sgx_src/eurasia_km/services4/system/omap4/sgxfreq_userspace.c124
-rw-r--r--omap5/sgx_src/eurasia_km/services4/system/omap4/sysconfig.c1333
-rw-r--r--omap5/sgx_src/eurasia_km/services4/system/omap4/sysconfig.h110
-rw-r--r--omap5/sgx_src/eurasia_km/services4/system/omap4/sysinfo.h64
-rw-r--r--omap5/sgx_src/eurasia_km/services4/system/omap4/syslocal.h265
-rw-r--r--omap5/sgx_src/eurasia_km/services4/system/omap4/sysutils.c59
-rw-r--r--omap5/sgx_src/eurasia_km/services4/system/omap4/sysutils_linux.c746
-rw-r--r--omap5/sgx_src/eurasia_km/tools/intern/debug/client/linuxsrv.h64
-rw-r--r--omap5/sgx_src/eurasia_km/tools/intern/debug/dbgdriv/Kbuild.mk51
-rw-r--r--omap5/sgx_src/eurasia_km/tools/intern/debug/dbgdriv/Linux.mk45
-rw-r--r--omap5/sgx_src/eurasia_km/tools/intern/debug/dbgdriv/common/dbgdriv.c2883
-rw-r--r--omap5/sgx_src/eurasia_km/tools/intern/debug/dbgdriv/common/dbgdriv.h155
-rw-r--r--omap5/sgx_src/eurasia_km/tools/intern/debug/dbgdriv/common/dbgdriv_ioctl.h57
-rw-r--r--omap5/sgx_src/eurasia_km/tools/intern/debug/dbgdriv/common/handle.c141
-rw-r--r--omap5/sgx_src/eurasia_km/tools/intern/debug/dbgdriv/common/hostfunc.h82
-rw-r--r--omap5/sgx_src/eurasia_km/tools/intern/debug/dbgdriv/common/hotkey.c199
-rw-r--r--omap5/sgx_src/eurasia_km/tools/intern/debug/dbgdriv/common/hotkey.h82
-rw-r--r--omap5/sgx_src/eurasia_km/tools/intern/debug/dbgdriv/common/ioctl.c827
-rw-r--r--omap5/sgx_src/eurasia_km/tools/intern/debug/dbgdriv/linux/hostfunc.c395
-rw-r--r--omap5/sgx_src/eurasia_km/tools/intern/debug/dbgdriv/linux/main.c355
-rw-r--r--omap5/ti-omap5-vendor.mk20
-rw-r--r--wfd/Android.mk46
-rw-r--r--wfd/LICENSE35
-rw-r--r--wfd/NOTICE35
-rwxr-xr-xwfd/lib/libwfd_mpeg2tsrtp.sobin43408 -> 0 bytes
-rwxr-xr-xwfd/lib/libwfdservice.sobin252928 -> 0 bytes
231 files changed, 0 insertions, 117133 deletions
diff --git a/omap4/Android.mk b/omap4/Android.mk
deleted file mode 100644
index adf4a58..0000000
--- a/omap4/Android.mk
+++ /dev/null
@@ -1,3 +0,0 @@
1ifeq ($(TARGET_BOARD_PLATFORM),omap4)
2 include $(call all-subdir-makefiles)
3endif
diff --git a/omap4/License_for_Ducati_Binary_Image.txt b/omap4/License_for_Ducati_Binary_Image.txt
deleted file mode 100644
index 00a70b4..0000000
--- a/omap4/License_for_Ducati_Binary_Image.txt
+++ /dev/null
@@ -1,98 +0,0 @@
1/*
2 * TECHNOLOGY AND SOFTWARE PUBLICLY AVAILABLE
3 * SOFTWARE LICENSE FOR OMAP(TM) 4 PLATFORM MULTIMEDIA FIRMWARE
4 *
5 * Copyright (c) 2011, Texas Instruments Incorporated.
6 *
7 * All rights reserved.
8 *
9 * Redistribution:
10 *
11 * Redistribution and use in binary form, without modification, are
12 * permitted provided that the following conditions are met:
13 *
14 * * Redistributions must preserve existing copyright notices and reproduce
15 * this license (including the above copyright notice and the disclaimer
16 * below) in the documentation and/or other materials provided with the
17 * distribution.
18 *
19 * * Neither the name of Texas Instruments Incorporated nor the names of its
20 * suppliers may be used to endorse or promote products derived from this
21 * software without specific prior written permission.
22 *
23 * * No reverse engineering, decompilation, or disassembly of this software
24 * is permitted.
25 *
26 * Limited patent license:
27 *
28 * Texas Instruments Incorporated (TI) grants a world-wide, royalty-free,
29 * non-exclusive license under patents it now or hereafter owns or controls
30 * to make, have made, use, import, offer to sell and sell ("Utilize") this
31 * software in its current form, but solely to the extent that any such
32 * patent is necessary to Utilize the software alone. The patent license
33 * shall not apply to any combinations which include this software. No
34 * hardware per se is licensed hereunder.
35 *
36 * DISCLAIMER:
37 *
38 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
39 * IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
40 * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
41 * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
42 * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
43 * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
44 * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
45 * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
46 * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
47 * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
48 * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
49 *
50 * Certain third party licenses not included:
51 *
52 * Certain software may (a) require patent licenses from third parties
53 * claiming patent rights covering implementation of the software or (b) be
54 * based on industry recognized standards or software programs published by
55 * industry recognized standards bodies and certain third parties may claim
56 * to own patents or copyrights that cover implementation of those standards.
57 * You acknowledge and agree that (i) this License does not convey a license
58 * to any such third party patents and copyrights, (ii) you are responsible
59 * for any fees or royalties that may be payable to any third party based on
60 * such third party's interests in such software and (iii) you will indemnify
61 * TI against your failure to make any such payments and will defend any
62 * claim, suit or proceeding brought against TI insofar as such claim, suit
63 * or proceeding is based on or arises from such failure.
64 *
65 * NOTICE: This software contains codecs that implement the MPEG-4, H.263,
66 * H.264, VC-1 and MPEG-2 video coding standards.
67 *
68 */
69
70-----------------------------------------------------------------------------
71
72Additional legal notices pertaining to portions of included software:
73
74/*
75 * Copyright (c) 2008 The Khronos Group Inc.
76 *
77 * Permission is hereby granted, free of charge, to any person obtaining
78 * a copy of this software and associated documentation files (the
79 * "Software"), to deal in the Software without restriction, including
80 * without limitation the rights to use, copy, modify, merge, publish,
81 * distribute, sublicense, and/or sell copies of the Software, and to
82 * permit persons to whom the Software is furnished to do so, subject
83 * to the following conditions:
84 * The above copyright notice and this permission notice shall be included
85 * in all copies or substantial portions of the Software.
86 *
87 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
88 * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
89 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
90 * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
91 * CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
92 * TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
93 * SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
94 *
95 */
96 #256893v3
97
98
diff --git a/omap4/License_for_IMG_SGX_Binary_Image.txt b/omap4/License_for_IMG_SGX_Binary_Image.txt
deleted file mode 100644
index dad4513..0000000
--- a/omap4/License_for_IMG_SGX_Binary_Image.txt
+++ /dev/null
@@ -1,125 +0,0 @@
1/*
2 * TECHNOLOGY AND SOFTWARE PUBLICLY AVAILABLE
3 * SOFTWARE LICENSE FOR OMAP(TM) 4 USER SPACE GRAPHICS DRIVER BINARY
4 *
5 * Copyright (c) 2011, Texas Instruments Incorporated.
6 * Portions (c), Imagination Technologies Limited.
7 *
8 * All rights reserved.
9 *
10 * Redistribution:  
11 *
12 * Redistribution and use in binary form, without modification, are
13 * permitted provided that the following conditions are met:
14 *
15 * * Redistributions must preserve existing copyright notices and reproduce
16 * this license (including the above copyright notice and the disclaimer
17 * below) in the documentation and/or other materials provided with the
18 * distribution.
19 *
20 * * Neither the name of Texas Instruments Incorporated nor the names of its
21 *   suppliers may be used to endorse or promote products derived from this 
22 *   software without specific prior written permission.
23 *
24 * * No reverse engineering, decompilation, or disassembly of this software
25 *   is permitted.
26 *
27 * Limited patent license:
28 *
29 * Texas Instruments Incorporated (“TI”) grants a world-wide, royalty-free, 
30 * non-exclusive license under patents it now or hereafter owns or controls 
31 * to make, have made, use, import, offer to sell and sell ("Utilize") this
32 * software in its current form, but solely to the extent that any such 
33 * patent is necessary to  Utilize the software alone.  The patent license 
34 * shall not apply to any combinations which include this software. No 
35 * hardware per se is licensed hereunder.
36 *
37 * DISCLAIMER:
38 *
39 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS 
40 * IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
41 * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 
42 * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR 
43 * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 
44 * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 
45 * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR 
46 * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF 
47 * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
48 * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 
49 * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
50 *
51 * Certain third party licenses not included:
52 *
53 * Certain software may (a) require patent licenses from third parties
54 * claiming patent rights covering implementation of the software or (b) be
55 * based on industry recognized standards or software programs published by
56 * industry recognized standards bodies and certain third parties may claim
57 * to own patents or copyrights that cover implementation of those standards.
58 * You acknowledge and agree that (i) this License does not convey a license
59 * to any such third party patents and copyrights, (ii) you are responsible
60 * for any fees or royalties that may be payable to any third party based on
61 * such third party's interests in such software and (iii) you will indemnify
62 * TI against your failure to make any such payments and will defend any
63 * claim, suit or proceeding brought against TI insofar as such claim, suit
64 * or proceeding is based on or arises from such failure.
65 *
66 */
67
68-----------------------------------------------------------------------------
69
70Additional legal notices pertaining to portions of included software:
71
72
73Copyright (c) 2007-2009 The Khronos Group Inc.
74
75Permission is hereby granted, free of charge, to any person obtaining a
76copy of this software and/or associated documentation files (the
77"Materials"), to deal in the Materials without restriction, including
78without limitation the rights to use, copy, modify, merge, publish,
79distribute, sublicense, and/or sell copies of the Materials, and to
80permit persons to whom the Materials are furnished to do so, subject to
81the following conditions:
82
83The above copyright notice and this permission notice shall be included
84in all copies or substantial portions of the Materials.
85
86THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
87EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
88MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
89IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
90CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
91TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
92MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS.
93
94
95--------
96
97SGI FREE SOFTWARE LICENSE B (Version 2.0, Sept. 18, 2008)
98
99Copyright (C) 2006 Silicon Graphics, Inc. All Rights Reserved.
100
101Permission is hereby granted, free of charge, to any person obtaining a
102copy of this software and associated documentation files (the "Software"),
103to deal in the Software without restriction, including without limitation
104the rights to use, copy, modify, merge, publish, distribute, sublicense,
105and/or sell copies of the Software, and to permit persons to whom the
106Software is furnished to do so, subject to the following conditions:
107
108The above copyright notice including the dates of first publication and
109either this permission notice or a reference to
110http://oss.sgi.com/projects/FreeB/ shall be included in all copies or
111substantial portions of the Software.
112
113THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
114OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
115FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
116SILICON GRAPHICS, INC. BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
117WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF
118OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
119SOFTWARE.
120
121Except as contained in this notice, the name of Silicon Graphics, Inc.
122shall not be used in advertising or otherwise to promote the sale, use
123or other dealings in this Software without prior written authorization
124from Silicon Graphics, Inc.
125#257696v2
diff --git a/omap4/README.SGX b/omap4/README.SGX
deleted file mode 100644
index 8b94149..0000000
--- a/omap4/README.SGX
+++ /dev/null
@@ -1,207 +0,0 @@
1#==========================================================================
2# SGX Binaries
3#==========================================================================
4
5sgx.tgz now contains two sets of binaries. One built for SGX540 and one built for SGX544.
6The SGXCORE and SGC_CORE_REV is appended to the end of each file. pvrsrvinit is now a
7wrapper which detects the current processor and loads the corresponding core specific
8pvrsrvinit.
9
10[DDK Version]
11 1.9@2166536
12[DDK commit ID]
13 084d3db SGX-KM: sgxfreq: Enable on3demand governor as default
14[Branch]
15 origin/1.9/2166536
16[Tag]
17 1.9IMG2166536_TI.0003
18[Kernel modules built against]
19 Kernel Version: 3.0.31 with CONFIG_MODVERSIONS=y and CONFIG_SCHED_TRACER=y
20[Patches added since last release]
21 New DDK version 1.9@2166536
22 084d3db SGX-KM: sgxfreq: Enable on3demand governor as default
23 c1e1f93 SGX-KM: on3demand: Added polling based on timeout
24 1baf19c Build: Compile OMAP4 kernel modules with arm-eabi toolchain
25 e166956 Build: Add production build option to build script
26 9efd5d3 SGX UM: Properly update vertex shader constants when recompiled
27 f6e71f1 Revert "Build: Add optional flag to disable uKernel logging"
28 a49e042 SGXKM: Inherit PVRSRV_HAP_GPU_PAGEABLE flag
29 f05da87 SGXUM: Creates a new PVRSRV_HAP MAPPING CTRL mask
30 0e6ac23 SGXKM: Creates a new PVRSRV_HAP MAPPING CTRL mask
31 5044cbb SGXKM: Divorce Sparse Mapping from GPU Pageable
32 4abdd37 SGX-KM: sgxfreq: Header for GPL license
33 7a1e61b gpu: thermal: adding cooling device for "case" management
34 1221aba SGX-KM: Add 'userspace' governor to sgxfreq
35 7cc1319 SGX-KM: Add on3demand governor to sgxfreq
36 c3283ff SGX-KM: Allow sgxfreq active notification when prev state was active
37 7275e62 SGX-KM: Add idle and active time caluclation to sgxfreq
38 e15265c SGX-KM: Add frame_done interface to sgxfreq
39 a021f10 SGX-KM: Add activeidle governor to sgxfreq
40 bbdceee SGX-KM: Add active/idle notification to sgxfreq
41 4e1e8d9 SGX-UM: Rework SGX idle notification
42 fce3459 SGX-KM: Rework SGX idle notification
43 17cdf8c SGX-KM: Add onoff governor to sgxfreq
44 403caa1 SGX-KM: Add cooling device interface to sgxfreq
45 1d785b8 SGX-KM: Add sgxfreq subsystem for DVFS control
46 14de6d8 Build: Add optional flag to disable uKernel logging
47 374bea1 SGX UM: Set ro.product.processor before loading modules
48 91d286d SGX UM: Pvrsrvinit fix typo in remount command
49 3d08869 SGX UM: Remove BRN32044 for omap5
50 086f52b OMAP5: WA: Race condition when SGX is powered down
51 1a904c2 SGX KM: ShrinkPagePool statistics changed to PVR_DBG_MESSAGE
52 fbf2890 SGX KM: Fix num_handle calculation for ion handles
53 322af97 BUILD: fix usage and help
54 50440d3 BUILD: Add install option "adb"
55 ee66bfb pvr-km: gc: Add page offset for ion allocated buffers
56 be4fe11 pvr-km: gc: Improve gc map/unmap logging
57 51da16d gralloc: Map NV12 buffers with the GC MMU
58 210b590 SGX-KM: Enable APM for OMAP5
59 31e2f05 SGX-UM: Enable APM for OMAP5
60 a98b81b SGX-UM: Don't load omaplfb module when in-kernel driver is present
61 b20f5c6 SGX-KM: Support in-kernel omaplfb
62 0955f19 SGXKM: Multi-plane support for deviceclass i-face
63 11f6682 build: remove omaplfb from install step
64 9ecd6e0 pvr-um: use arm-linux-androideabi- and fix JB debug build
65 abef31d PVR-UM: Make pvrsrvinit wrapper compatible with Jellybean
66 5b4e4f0 Revert "SGXUM: Implements Gralloc late CPU mapping"
67 5f25289 SGX-UM: build - Remove target platform based configuration
68 9d5ac31 OMAP5: BUILD: Remove unused variable
69 5365b64 readme: Correct DDK version
70 8095cc6 SGX-UM: Add support for hardware specific powervr.ini files
71 7e13d26 PVR-UM: Add support to DDK for powervr.ini files
72 e545f59 SGX-UM: Added 16 bit depth EGL configs
73 27da0ae SGX UM: Srvinit block until services ready
74 ba35538 SGX UM: HAL block OpenPVRServices until services initialized
75 43f8c1f SGX UM: Fix calculation of chroma plane in blit_internal
76 f6a6944 SGX KM: Dump dsscomp info during HW recovery
77 fc6d85b SGXKM: Adds support for 1D buffer allocation
78 d8d061b SGXKM: Do not perform explicit invalidate on mmap
79 3ac6e1f SGXUM: Implements Gralloc late CPU mapping
80 b621744 SGXUM: Gralloc allow for late or no GPU mapping
81 dde30cf SGXUM: Add allocation of images from system heap
82 552c0f5 SGXUM: Adds A8/U8/Y8 color format to WSEGL
83 f1c7822 SGXKM: Increase XPROC_WORKAROUND to 500
84 65f61bf SGXKM: Fix cc-check.sh file permissions
85 0dfe392 SGXKM: Make the DMM offset optional
86 946eb30 gralloc: add support for GRALLOC_USAGE_EXCLUSIVE_DISP
87 5cf7248 gralloc: publicly define omap specific usage flags
88 afcb9bd SGX-KM: Block DPLL cascading when SGX clock is enabled
89 616ff0b SGX-KM: Hold wake lock during hardware recovery
90 872b4c0 SGXKM: Fix NULL handle warning when blitting GC320
91 39de55c SGXKM: Allow for late or no GPU mapping
92 d229a7b SGXKM: Allow for SW access to a tiler buffer
93 7024790 SGXUM: Adds YUV plane offsets for MM
94 d202649 SGXKM: SGX Tiler non-page-aligned support
95 2b2ac18 SGXUM: Implements GPU Common Buffer Interface
96 86cd052 SGXUM: Multi-buffer manage bridge
97 d272c49 SGXKM: Multi-buffer manage bridge
98 4d8facf SGXKM: Implements Heap Alloc Failure Report
99 6d4253a SGXUM: Add support for GPU unmap/remap
100 64f4805 SGXKM: Add support for GPU unmap/remap
101 5425356 SGX-KM: Use CONFIG_DRM_OMAP_DMM_TILER for kernel 3.4
102 853be19 SGX-KM: Use pud_offset to get pmd_offset
103 5ec5d70 PVR-KM: Prevent compilation of dc_omapfb3_linux
104 1bbe8a2 SGX-KM: Remove hardcoding of values in egl.cfg
105 83b8af6 pvr-km: kfree phys info at unmap instead of map
106 f347fb9 pvr-km: add a struct size to the physical descriptor
107 6ccff8f gralloc: Set flag to enable GC MMU mapping in PVR services
108 0cfaa6d PVR-KM: Add function to obtain BV descriptor through 3PDC interface
109 c8f4c5f PVR-KM: Map buffers to GC core MMU on allocation time with Bltsville
110 65b2b84 SGXKM: Prevent mapping of export with zero ref
111 f4cc0a2 OMAP4-SGX-UM: Allow for tiler buffer SW access
112 5c97ded OMAP4-SGX-UM: Gralloc SW access and caching flags
113 bbf5424 OMAP4-SGX-UM: Gralloc HAL_PIXEL_FORMAT_NV12 format
114 ec6cc69 SGX-KM: Make PVRSRVExportFDToIONHandles generic and register it with ion
115 8c1255d PVR-KM: OMAP5: Use shared device for Tiler 2D Mappings
116 2391ac8 PVR-KM: OMAP5: Hardcode core version value
117 7d87962 SGX-KM: OMAP5: HACK: Set the size of the SGX registers
118 9f40224 SGX-UM: add detection of OMAP5432 in pvrsrvinit
119 f75d48b SGX-UM: build: Add panda5 and omap5sevm to product list
120 c23eff9 SGX-KM: BUILD: Add OMAP5 support
121 5cc4ade SGX-UM: BUILD: Consolidate build into a single Makefile
122 2c6a2f6 SGX-KM: (build) Remove Android product and version dependency
123 6f54fe8 Build: Don't install egl.cfg anymore
124 a49c59c SGX-KM: egl.cfg sysfs entry
125 c759928 SGX-KM: Enable DPF, TRACE and ASSERT
126 1628094 build-km: Enable blaze and blaze_tablet for ICS environment
127 05f00eb build: Enable blaze and blaze_tablet for ICS environment
128 542e279 SGX-KM: Add ability to build multiple sets of GFX kernel modules
129 69d3661 build: Set correct load directory for kernel modules.
130 2dfe14b KM: add support for sgx544sc
131 58f317a SGX-UM: Add ability to build multiple sets of GFX binaries
132 04e5deb SGX-KM: Use platform data for OPP symbols.
133 5eed373 SGX-UM: Enable building binaries for specific SGX
134 0801be2 readme: Add README
135 649d010 build: Add build_DDK.sh
136 fe34640 Create gitignore file
137 519ca9a IMG DDK 1.9@2166536 for Android
138 de46d4e IMG DDK 1.9RC2@2139099 for Android
139 7978e98 IMG DDK 1.9@2130229 for Android
140 9f9a103 IMG DDK 1.9@2120756 for Android
141 e35c780 IMG DDK 1.9@2116380 for Android
142 62cc4a1 IMG DDK 1.9RC956766 for Android
143 e38619c IMG DDK 1.9ED956766 for Android
144 6a92688 IMG DDK 1.9@950428 for Android
145 d78e0ed Merge "IMG DDK 1.9@940848" into img_ddk_1.9
146 1ebf198 IMG DDK 1.9@940848
147 ae62bbf IMG DDK 1.9@905526 for Android
148 7c3819b IMG DDK 1.9@875649 for Android
149 a4b253a IMG DDK 1.9@807970 for Android
150 6d190d4 IMG DDK 1.9@796078 for Android
151 98986f5 Initial
152
153#==========================================================================
154# Cloning instructions
155#==========================================================================
156# git clone ssh://<your_AID>@gerrit.ext.ti.com:29418/img-ddk-linux-android
157# cd img-ddk-linux-android
158# git checkout -b <local_branch_name> remotes/origin/1.9/2166536
159# git reset --hard 1.9IMG2166536_TI.0003
160
161#===========================================================================
162# Build and Install Instructions
163#===========================================================================
164DDK:
165- Building DDK
166Go through README in ddk source tree.
167
168Build for 4430/4460
169# ./build_DDK.sh -g 540 --build release
170
171Build for 4470
172# ./build_DDK.sh -g 544sc --build release
173
174- Installing DDK
175# export DISCIMAGE=<PATH TO ANDROID ROOT DIRECTORY>
176# ./build_DDK.sh -g 540 --install release
177# ./build_DDK.sh -g 544sc --install release
178
179#===========================================================================
180# Building SGX Kernel Modules
181#===========================================================================
182SGX kernel modules source is located in sgx_src/eurasia_km.tgz
183
184Make sure kernel is built before building modules
185
186#tar -xvf ANDROID_ROOT/device/ti/proprietary-open/omap4/sgx_src/eurasia_km.tgz
187
188# cd ANDROID_ROOT/device/ti/proprietary-open/omap4/sgx_src/eurasia_km/eurasiacon/build/linux2/omap4430_android/
189# export KERNELDIR=path_to_kernel
190
191To build for OMAP4460/OMAP4430 (SGX 540):
192# make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi- TARGET_PRODUCT="blaze_tablet" BUILD=release TARGET_SGX=540 PLATFORM_VERSION=4.0
193
194To build for OMAP4470 (SGX 544 single core):
195# make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi- TARGET_PRODUCT="blaze_tablet" BUILD=release TARGET_SGX=544sc PLATFORM_VERSION=4.0
196
197Once the .ko's are built, install them onto device (/system/lib/modules)
198
199For 4460:
200# cd ANDROID_ROOT/device/ti/proprietary-open/omap4/sgx_src/eurasia_km/eurasiacon/binary2_540_120_omap4430_android_release/target/
201# adb push pvrsrvkm_sgx540_120.ko /system/lib/modules/
202
203For 4470
204# cd ANDROID_ROOT/device/ti/proprietary-open/omap4/sgx_src/eurasia_km/eurasiacon/binary2_544_120_omap4430_android_release/target/
205# adb push pvrsrvkm_sgx544_112.ko /system/lib/modules/
206
207Reboot device.
diff --git a/omap4/dsp_fw.mk b/omap4/dsp_fw.mk
deleted file mode 100644
index 651a720..0000000
--- a/omap4/dsp_fw.mk
+++ /dev/null
@@ -1,21 +0,0 @@
1# Copyright (C) 2012 The Android Open Source Project
2#
3# Licensed under the Apache License, Version 2.0 (the "License");
4# you may not use this file except in compliance with the License.
5# You may obtain a copy of the License at
6#
7# http://www.apache.org/licenses/LICENSE-2.0
8#
9# Unless required by applicable law or agreed to in writing, software
10# distributed under the License is distributed on an "AS IS" BASIS,
11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12# See the License for the specific language governing permissions and
13# limitations under the License.
14#
15
16# Add TESLA FW - Define the tgz to be unpacked, and enable the
17# tesla-dsp.bin package, which is defined in the top-level
18# Android.mk of the proprietary-open tree.
19
20TESLA_TGZ := device/ti/proprietary-open/omap4/tesla_dsp.tgz
21PRODUCT_PACKAGES += tesla-dsp.bin
diff --git a/omap4/ducati-blaze_tablet.mk b/omap4/ducati-blaze_tablet.mk
deleted file mode 100644
index beeaed4..0000000
--- a/omap4/ducati-blaze_tablet.mk
+++ /dev/null
@@ -1,24 +0,0 @@
1# Copyright (C) 2012 The Android Open Source Project
2#
3# Licensed under the Apache License, Version 2.0 (the "License");
4# you may not use this file except in compliance with the License.
5# You may obtain a copy of the License at
6#
7# http://www.apache.org/licenses/LICENSE-2.0
8#
9# Unless required by applicable law or agreed to in writing, software
10# distributed under the License is distributed on an "AS IS" BASIS,
11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12# See the License for the specific language governing permissions and
13# limitations under the License.
14#
15
16# Add Ducati - Define the tgz to be unpacked, and enable the
17# ducati-m3.bin package, which is defined in the top-level Android.mk
18# of the proprietary-open tree
19
20ifeq (blaze_tablet,$(TARGET_PRODUCT))
21DUCATI_TGZ := device/ti/proprietary-open/omap4/ducati_blaze_tablet.tgz
22DUCATI_BINARY := ducati-m3-core0.xem3
23PRODUCT_PACKAGES += ducati-m3-core0.xem3
24endif
diff --git a/omap4/ducati-full_blaze.mk b/omap4/ducati-full_blaze.mk
deleted file mode 100644
index 950025c..0000000
--- a/omap4/ducati-full_blaze.mk
+++ /dev/null
@@ -1,24 +0,0 @@
1# Copyright (C) 2012 The Android Open Source Project
2#
3# Licensed under the Apache License, Version 2.0 (the "License");
4# you may not use this file except in compliance with the License.
5# You may obtain a copy of the License at
6#
7# http://www.apache.org/licenses/LICENSE-2.0
8#
9# Unless required by applicable law or agreed to in writing, software
10# distributed under the License is distributed on an "AS IS" BASIS,
11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12# See the License for the specific language governing permissions and
13# limitations under the License.
14#
15
16# Add Ducati - Define the tgz to be unpacked, and enable the
17# ducati-m3.bin package, which is defined in the top-level Android.mk
18# of the proprietary-open tree
19
20ifeq (full_blaze,$(TARGET_PRODUCT))
21DUCATI_TGZ := device/ti/proprietary-open/omap4/ducati_full_blaze.tgz
22DUCATI_BINARY := ducati-m3-core0.xem3
23PRODUCT_PACKAGES += ducati-m3-core0.xem3
24endif
diff --git a/omap4/ducati_blaze_tablet.tgz b/omap4/ducati_blaze_tablet.tgz
deleted file mode 100644
index ab16ba3..0000000
--- a/omap4/ducati_blaze_tablet.tgz
+++ /dev/null
Binary files differ
diff --git a/omap4/ducati_full_blaze.tgz b/omap4/ducati_full_blaze.tgz
deleted file mode 100644
index eec6da5..0000000
--- a/omap4/ducati_full_blaze.tgz
+++ /dev/null
Binary files differ
diff --git a/omap4/sgx.tgz b/omap4/sgx.tgz
deleted file mode 100644
index 340af32..0000000
--- a/omap4/sgx.tgz
+++ /dev/null
Binary files differ
diff --git a/omap4/sgx/Android.mk b/omap4/sgx/Android.mk
deleted file mode 100644
index ec31fe2..0000000
--- a/omap4/sgx/Android.mk
+++ /dev/null
@@ -1,150 +0,0 @@
1define _add-sgx-vendor-lib
2include $$(CLEAR_VARS)
3$(if $(word 2,$1),$(error Invalid SGX module name $1))
4LOCAL_MODULE := $(basename $(notdir $1))
5LOCAL_SRC_FILES := $1
6LOCAL_MODULE_TAGS := optional
7LOCAL_MODULE_SUFFIX := $(suffix $1)
8LOCAL_MODULE_CLASS := SHARED_LIBRARIES
9LOCAL_MODULE_PATH := $$(TARGET_OUT_VENDOR)/$(dir $1)
10LOCAL_STRIP_MODULE := false
11OVERRIDE_BUILT_MODULE_PATH := $$(TARGET_OUT_INTERMEDIATE_LIBRARIES)
12LOCAL_PATH := $$(img-sgx.untarred_bin)
13include $$(BUILD_SYSTEM)/base_rules.mk
14$$(LOCAL_BUILT_MODULE) : PRIVATE_SRC := $$(img-sgx.untarred_bin)/$1
15$$(LOCAL_BUILT_MODULE) : $$(img-sgx.untarred_timestamp) | $$(ACP)
16 @echo "Copy $$@ <- $$(PRIVATE_SRC)"
17 @mkdir -p $(dir $$@)
18 $$(hide) $$(ACP) -fp $$(PRIVATE_SRC) $$@
19endef
20
21define _add-sgx-vendor-bin
22include $$(CLEAR_VARS)
23$(if $(word 2,$1),$(error Invalid SGX module name $1))
24LOCAL_MODULE := $(basename $(notdir $1))
25LOCAL_SRC_FILES := $1
26LOCAL_MODULE_TAGS := optional
27LOCAL_MODULE_SUFFIX := $(suffix $1)
28LOCAL_MODULE_CLASS := EXECUTABLES
29LOCAL_MODULE_PATH := $$(TARGET_OUT_VENDOR)/$(dir $1)
30LOCAL_STRIP_MODULE := false
31OVERRIDE_BUILT_MODULE_PATH := $$(TARGET_OUT_INTERMEDIATE_EXECUTABLES)
32LOCAL_PATH := $$(img-sgx.untarred_bin)
33include $$(BUILD_SYSTEM)/base_rules.mk
34$$(LOCAL_BUILT_MODULE) : PRIVATE_SRC := $$(img-sgx.untarred_bin)/$1
35$$(LOCAL_BUILT_MODULE) : $$(img-sgx.untarred_timestamp) | $$(ACP)
36 @echo "Copy $$@ <- $$(PRIVATE_SRC)"
37 @mkdir -p $$(dir $$@)
38 $$(hide) $$(ACP) -fp $$(PRIVATE_SRC) $$@
39endef
40
41define _add-sgx-vendor-etc
42include $$(CLEAR_VARS)
43$(if $(word 2,$1),$(error Invalid SGX module name $1))
44LOCAL_MODULE := $(basename $(notdir $1))
45LOCAL_SRC_FILES := $1
46LOCAL_MODULE_TAGS := optional
47LOCAL_MODULE_SUFFIX := $(suffix $1)
48LOCAL_MODULE_CLASS := ETC
49LOCAL_MODULE_PATH := $$(TARGET_OUT)/$(dir $1)
50LOCAL_STRIP_MODULE := false
51OVERRIDE_BUILT_MODULE_PATH := $$(TARGET_OUT_INTERMEDIATE_ETC)
52LOCAL_PATH := $$(img-sgx.untarred_bin)
53include $$(BUILD_SYSTEM)/base_rules.mk
54$$(LOCAL_BUILT_MODULE) : PRIVATE_SRC := $$(img-sgx.untarred_bin)/$1
55$$(LOCAL_BUILT_MODULE) : $$(img-sgx.untarred_timestamp) | $$(ACP)
56 @echo "Copy $$@ <- $$(PRIVATE_SRC)"
57 @mkdir -p $$(dir $$@)
58 $$(hide) $$(ACP) -fp $$(PRIVATE_SRC) $$@
59endef
60
61define _add-sgx-vendor-km
62include $$(CLEAR_VARS)
63$(if $(word 2,$1),$(error Invalid SGX module name $1))
64LOCAL_MODULE := $(basename $(notdir $1))
65LOCAL_SRC_FILES := $1
66LOCAL_MODULE_TAGS := optional
67LOCAL_MODULE_SUFFIX := $(suffix $1)
68LOCAL_MODULE_CLASS := ETC
69LOCAL_MODULE_PATH := $$(TARGET_OUT)/lib/$(dir $1)
70LOCAL_STRIP_MODULE := false
71OVERRIDE_BUILT_MODULE_PATH := $$(TARGET_OUT_INTERMEDIATE_ETC)
72LOCAL_PATH := $$(img-sgx.untarred_bin)
73include $$(BUILD_SYSTEM)/base_rules.mk
74$$(LOCAL_BUILT_MODULE) : PRIVATE_SRC := $$(img-sgx.untarred_bin)/$1
75$$(LOCAL_BUILT_MODULE) : $$(img-sgx.untarred_timestamp) | $$(ACP)
76 @echo "Copy $$@ <- $$(PRIVATE_SRC)"
77 @mkdir -p $$(dir $$@)
78 $$(hide) $$(ACP) -fp $$(PRIVATE_SRC) $$@
79endef
80
81prebuilt_sgx_vendor_libs := \
82 lib/libIMGegl_SGX540_120.so \
83 lib/libglslcompiler_SGX540_120.so \
84 lib/libusc_SGX540_120.so \
85 lib/libPVRScopeServices_SGX540_120.so \
86 lib/libsrv_um_SGX540_120.so \
87 lib/hw/gralloc.omap4430.so \
88 lib/hw/gralloc.omap4460.so \
89 lib/libpvrANDROID_WSEGL_SGX540_120.so \
90 lib/libpvr2d_SGX540_120.so \
91 lib/libsrv_init_SGX540_120.so \
92 lib/egl/libGLESv1_CM_POWERVR_SGX540_120.so \
93 lib/egl/libGLESv2_POWERVR_SGX540_120.so \
94 lib/egl/libEGL_POWERVR_SGX540_120.so \
95 lib/libIMGegl_SGX544_112.so \
96 lib/libglslcompiler_SGX544_112.so \
97 lib/libusc_SGX544_112.so \
98 lib/libPVRScopeServices_SGX544_112.so \
99 lib/libsrv_um_SGX544_112.so \
100 lib/hw/gralloc.omap4470.so \
101 lib/libpvrANDROID_WSEGL_SGX544_112.so \
102 lib/libpvr2d_SGX544_112.so \
103 lib/libsrv_init_SGX544_112.so \
104 lib/egl/libGLESv1_CM_POWERVR_SGX544_112.so \
105 lib/egl/libGLESv2_POWERVR_SGX544_112.so \
106 lib/egl/libEGL_POWERVR_SGX544_112.so
107
108prebuilt_sgx_vendor_bins := \
109 bin/pvrsrvinit \
110 bin/pvrsrvctl_SGX540_120 \
111 bin/pvrsrvctl_SGX544_112
112
113prebuilt_sgx_vendor_etc := \
114 etc/powervr.ini
115
116prebuilt_sgx_vendor_km := \
117 modules/pvrsrvkm_sgx540_120.ko \
118 modules/pvrsrvkm_sgx544_112.ko
119
120prebuilt_sgx_modules := \
121 $(foreach _file,$(prebuilt_sgx_vendor_libs) $(prebuilt_sgx_vendor_bins) $(prebuilt_sgx_vendor_etc) $(prebuilt_sgx_vendor_km),\
122 $(notdir $(basename $(_file))))
123
124include $(CLEAR_VARS)
125LOCAL_MODULE := ti_omap4_sgx_libs
126LOCAL_MODULE_TAGS := optional
127LOCAL_REQUIRED_MODULES := $(prebuilt_sgx_modules)
128include $(BUILD_PHONY_PACKAGE)
129
130$(foreach _file,$(prebuilt_sgx_vendor_libs),\
131 $(eval $(call _add-sgx-vendor-lib,$(_file))))
132
133$(foreach _file,$(prebuilt_sgx_vendor_bins),\
134 $(eval $(call _add-sgx-vendor-bin,$(_file))))
135
136$(foreach _file,$(prebuilt_sgx_vendor_etc),\
137 $(eval $(call _add-sgx-vendor-etc,$(_file))))
138
139$(foreach _file,$(prebuilt_sgx_vendor_km),\
140 $(eval $(call _add-sgx-vendor-km,$(_file))))
141
142prebuilt_sgx_modules :=
143prebuilt_sgx_vendor_libs :=
144prebuilt_sgx_vendor_bins :=
145prebuilt_sgx_vendor_etc :=
146prebuilt_sgx_vendor_km :=
147_add-sgx-vendor-lib :=
148_add-sgx-vendor-bin :=
149_add-sgx-vendor-etc :=
150_add-sgx-vendor-km :=
diff --git a/omap4/sgx_src/eurasia_km.tgz b/omap4/sgx_src/eurasia_km.tgz
deleted file mode 100644
index 1832efd..0000000
--- a/omap4/sgx_src/eurasia_km.tgz
+++ /dev/null
Binary files differ
diff --git a/omap4/tesla_dsp.tgz b/omap4/tesla_dsp.tgz
deleted file mode 100644
index 944548e..0000000
--- a/omap4/tesla_dsp.tgz
+++ /dev/null
Binary files differ
diff --git a/omap4/ti-omap4-vendor.mk b/omap4/ti-omap4-vendor.mk
deleted file mode 100644
index 24679f2..0000000
--- a/omap4/ti-omap4-vendor.mk
+++ /dev/null
@@ -1,21 +0,0 @@
1# Copyright (C) 2011 The Android Open Source Project
2#
3# Licensed under the Apache License, Version 2.0 (the "License");
4# you may not use this file except in compliance with the License.
5# You may obtain a copy of the License at
6#
7# http://www.apache.org/licenses/LICENSE-2.0
8#
9# Unless required by applicable law or agreed to in writing, software
10# distributed under the License is distributed on an "AS IS" BASIS,
11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12# See the License for the specific language governing permissions and
13# limitations under the License.
14#
15
16# This lists the packages that are necessary to build a device using
17# the Texas Instruments OMAP 44xx series SoCs
18
19PRODUCT_PACKAGES += \
20 ti_omap4_sgx_libs \
21 ti_omap4_ducati_libs
diff --git a/omap5/Android.mk b/omap5/Android.mk
deleted file mode 100644
index 974e341..0000000
--- a/omap5/Android.mk
+++ /dev/null
@@ -1,18 +0,0 @@
1# Copyright (C) 2011 The Android Open Source Project
2#
3# Licensed under the Apache License, Version 2.0 (the "License");
4# you may not use this file except in compliance with the License.
5# You may obtain a copy of the License at
6#
7# http://www.apache.org/licenses/LICENSE-2.0
8#
9# Unless required by applicable law or agreed to in writing, software
10# distributed under the License is distributed on an "AS IS" BASIS,
11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12# See the License for the specific language governing permissions and
13# limitations under the License.
14#
15
16ifeq ($(TARGET_BOARD_PLATFORM),omap5)
17 include $(call all-subdir-makefiles)
18endif
diff --git a/omap5/License_for_Ducati_Binary_Image.txt b/omap5/License_for_Ducati_Binary_Image.txt
deleted file mode 100644
index 0232ca6..0000000
--- a/omap5/License_for_Ducati_Binary_Image.txt
+++ /dev/null
@@ -1,246 +0,0 @@
1TECHNOLOGY AND SOFTWARE PUBLICLY AVAILABLE
2SOFTWARE LICENSE FOR OMAP(TM) PLATFORM MULTIMEDIA FIRMWARE
3
4Copyright (c) 2011, Texas Instruments Incorporated.
5
6All rights reserved.
7
8Redistribution:
9
10Redistribution and use in binary form, without modification, are
11permitted provided that the following conditions are met:
12
13 * Redistributions must preserve existing copyright notices and reproduce
14 this license (including the above copyright notice and the disclaimer
15 below) in the documentation and/or other materials provided with the
16 distribution.
17
18 * Neither the name of Texas Instruments Incorporated nor the names of its
19 suppliers may be used to endorse or promote products derived from this
20 software without specific prior written permission.
21
22 * No reverse engineering, decompilation, or disassembly of this software
23 is permitted.
24
25Limited patent license:
26
27Texas Instruments Incorporated (“TI”) grants a world-wide, royalty-free,
28non-exclusive license under patents it now or hereafter owns or controls
29to make, have made, use, import, offer to sell and sell ("Utilize") this
30software in its current form, but solely to the extent that any such
31patent is necessary to Utilize the software alone. The patent license
32shall not apply to any combinations which include this software. No
33hardware per se is licensed hereunder.
34
35DISCLAIMER:
36
37THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
38IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
39THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
40PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
41CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
42EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
43PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
44PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
45LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
46NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
47SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
48
49Certain third party licenses not included:
50
51Certain software may (a) require patent licenses from third parties
52claiming patent rights covering implementation of the software or (b) be
53based on industry recognized standards or software programs published by
54industry recognized standards bodies and certain third parties may claim
55to own patents or copyrights that cover implementation of those standards.
56You acknowledge and agree that (i) this License does not convey a license
57to any such third party patents and copyrights, (ii) you are responsible
58for any fees or royalties that may be payable to any third party based on
59such third party's interests in such software and (iii) you will indemnify
60TI against your failure to make any such payments and will defend any
61claim, suit or proceeding brought against TI insofar as such claim, suit
62or proceeding is based on or arises from such failure.
63
64NOTICE: This software contains codecs that implement the MPEG-4, H.263,
65H.264, VC-1 and MPEG-2 video coding standards.
66
67
68-----------------------------------------------------------------------------
69
70Additional legal notices pertaining to portions of included software:
71
72
73Copyright (c) 2008 The Khronos Group Inc.
74
75Permission is hereby granted, free of charge, to any person obtaining
76a copy of this software and associated documentation files (the
77"Software"), to deal in the Software without restriction, including
78without limitation the rights to use, copy, modify, merge, publish,
79distribute, sublicense, and/or sell copies of the Software, and to
80permit persons to whom the Software is furnished to do so, subject
81to the following conditions:
82
83* The above copyright notice and this permission notice shall be included
84 in all copies or substantial portions of the Software.
85
86THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
87OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
88MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
89IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
90CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
91TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
92SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
93
94---
95APACHE LICENSE, VERSION 2.0:
96Version 2.0, January 2004
97
98http://www.apache.org/licenses/
99TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
100
1011. Definitions.
102
103"License" shall mean the terms and conditions for use, reproduction, and distribution
104as defined by Sections 1 through 9 of this document.
105
106"Licensor" shall mean the copyright owner or entity authorized by the copyright owner
107that is granting the License.
108
109"Legal Entity" shall mean the union of the acting entity and all other entities that
110control, are controlled by, or are under common control with that entity. For the
111purposes of this definition, "control" means (i) the power, direct or indirect, to
112cause the direction or management of such entity, whether by contract or otherwise, or
113(ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii)
114beneficial ownership of such entity.
115
116"You" (or "Your") shall mean an individual or Legal Entity exercising permissions
117granted by this License.
118
119"Source" form shall mean the preferred form for making modifications, including but
120not limited to software source code, documentation source, and configuration files.
121
122"Object" form shall mean any form resulting from mechanical transformation or
123translation of a Source form, including but not limited to compiled object code,
124generated documentation, and conversions to other media types.
125
126"Work" shall mean the work of authorship, whether in Source or Object form, made
127available under the License, as indicated by a copyright notice that is included in or
128attached to the work (an example is provided in the Appendix below).
129
130"Derivative Works" shall mean any work, whether in Source or Object form, that is
131based on (or derived from) the Work and for which the editorial revisions, annotations,
132elaborations, or other modifications represent, as a whole, an original work of
133authorship. For the purposes of this License, Derivative Works shall not include works
134that remain separable from, or merely link (or bind by name) to the interfaces of, the
135Work and Derivative Works thereof.
136
137"Contribution" shall mean any work of authorship, including the original version of
138the Work and any modifications or additions to that Work or Derivative Works thereof,
139that is intentionally submitted to Licensor for inclusion in the Work by the copyright
140owner or by an individual or Legal Entity authorized to submit on behalf of the
141copyright owner. For the purposes of this definition, "submitted" means any form of
142electronic, verbal, or written communication sent to the Licensor or its
143representatives, including but not limited to communication on electronic mailing
144lists, source code control systems, and issue tracking systems that are managed by, or
145on behalf of, the Licensor for the purpose of discussing and improving the Work, but
146excluding communication that is conspicuously marked or otherwise designated in
147writing by the copyright owner as "Not a Contribution."
148
149"Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom
150a Contribution has been received by Licensor and subsequently incorporated within the
151Work.
152
1532. Grant of Copyright License. Subject to the terms and conditions of this License,
154each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge,
155royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of,
156publicly display, publicly perform, sublicense, and distribute the Work and such
157Derivative Works in Source or Object form.
158
1593. Grant of Patent License. Subject to the terms and conditions of this License, each
160Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge,
161royalty-free, irrevocable (except as stated in this section) patent license to make,
162have made, use, offer to sell, sell, import, and otherwise transfer the Work, where
163such license applies only to those patent claims licensable by such Contributor that
164are necessarily infringed by their Contribution(s) alone or by combination of their
165Contribution(s) with the Work to which such Contribution(s) was submitted. If You
166institute patent litigation against any entity (including a cross-claim or
167counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated
168within the Work constitutes direct or contributory patent infringement, then any
169patent licenses granted to You under this License for that Work shall terminate as of
170the date such litigation is filed.
171
1724. Redistribution. You may reproduce and distribute copies of the Work or Derivative
173Works thereof in any medium, with or without modifications, and in Source or Object
174form, provided that You meet the following conditions:
175
176 1. You must give any other recipients of the Work or Derivative Works a copy of
177 this License; and
178
179 2. You must cause any modified files to carry prominent notices stating that You
180 changed the files; and
181
182 3. You must retain, in the Source form of any Derivative Works that You distribute,
183 all copyright, patent, trademark, and attribution notices from the Source form
184 of the Work, excluding those notices that do not pertain to any part of the
185 Derivative Works; and
186
187 4. If the Work includes a "NOTICE" text file as part of its distribution, then any
188 Derivative Works that You distribute must include a readable copy of the
189 attribution notices contained within such NOTICE file, excluding those notices
190 that do not pertain to any part of the Derivative Works, in at least one of the
191 following places: within a NOTICE text file distributed as part of the
192 Derivative Works; within the Source form or documentation, if provided along
193 with the Derivative Works; or, within a display generated by the Derivative
194 Works, if and wherever such third-party notices normally appear. The contents
195 of the NOTICE file are for informational purposes only and do not modify the
196 License. You may add Your own attribution notices within Derivative Works that
197 You distribute, alongside or as an addendum to the NOTICE text from the Work,
198 provided that such additional attribution notices cannot be construed as
199 modifying the License. You may add Your own copyright statement to Your
200 modifications and may provide additional or different license terms and
201 conditions for use, reproduction, or distribution of Your modifications, or for
202 any such Derivative Works as a whole, provided Your use, reproduction, and
203 distribution of the Work otherwise complies with the conditions stated in this
204 License.
205
2065. Submission of Contributions. Unless You explicitly state otherwise, any
207Contribution intentionally submitted for inclusion in the Work by You to the Licensor
208shall be under the terms and conditions of this License, without any additional terms
209or conditions. Notwithstanding the above, nothing herein shall supersede or modify the
210terms of any separate license agreement you may have executed with Licensor regarding
211such Contributions.
212
2136. Trademarks. This License does not grant permission to use the trade names,
214trademarks, service marks, or product names of the Licensor, except as required for
215reasonable and customary use in describing the origin of the Work and reproducing the
216content of the NOTICE file.
217
2187. Disclaimer of Warranty. Unless required by applicable law or agreed to in writing,
219Licensor provides the Work (and each Contributor provides its Contributions) on an "AS
220IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied,
221including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT,
222MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for
223determining the appropriateness of using or redistributing the Work and assume any
224risks associated with Your exercise of permissions under this License.
225
2268. Limitation of Liability. In no event and under no legal theory, whether in tort
227(including negligence), contract, or otherwise, unless required by applicable law
228(such as deliberate and grossly negligent acts) or agreed to in writing, shall any
229Contributor be liable to You for damages, including any direct, indirect, special,
230incidental, or consequential damages of any character arising as a result of this
231License or out of the use or inability to use the Work (including but not limited to
232damages for loss of goodwill, work stoppage, computer failure or malfunction, or any
233and all other commercial damages or losses), even if such Contributor has been advised
234of the possibility of such damages.
235
2369. Accepting Warranty or Additional Liability. While redistributing the Work or
237Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of
238support, warranty, indemnity, or other liability obligations and/or rights consistent
239with this License. However, in accepting such obligations, You may act only on Your
240own behalf and on Your sole responsibility, not on behalf of any other Contributor,
241and only if You agree to indemnify, defend, and hold each Contributor harmless for any
242liability incurred by, or claims asserted against, such Contributor by reason of your
243accepting any such warranty or additional liability.
244
245
246
diff --git a/omap5/License_for_IMG_SGX_Binary_Image.txt b/omap5/License_for_IMG_SGX_Binary_Image.txt
deleted file mode 100644
index 983f547..0000000
--- a/omap5/License_for_IMG_SGX_Binary_Image.txt
+++ /dev/null
@@ -1,125 +0,0 @@
1/*
2 * TECHNOLOGY AND SOFTWARE PUBLICLY AVAILABLE
3 * SOFTWARE LICENSE FOR OMAP(TM) 4 USER SPACE GRAPHICS DRIVER BINARY
4 *
5 * Copyright (c) 2011, Texas Instruments Incorporated.
6 * Portions (c), Imagination Technologies Limited.
7 *
8 * All rights reserved.
9 *
10 * Redistribution:  
11 *
12 * Redistribution and use in binary form, without modification, are
13 * permitted provided that the following conditions are met:
14 *
15 * * Redistributions must preserve existing copyright notices and reproduce
16 * this license (including the above copyright notice and the disclaimer
17 * below) in the documentation and/or other materials provided with the
18 * distribution.
19 *
20 * * Neither the name of Texas Instruments Incorporated nor the names of its
21 *   suppliers may be used to endorse or promote products derived from this 
22 *   software without specific prior written permission.
23 *
24 * * No reverse engineering, decompilation, or disassembly of this software
25 *   is permitted.
26 *
27 * Limited patent license:
28 *
29 * Texas Instruments Incorporated (TI) grants a world-wide, royalty-free, 
30 * non-exclusive license under patents it now or hereafter owns or controls 
31 * to make, have made, use, import, offer to sell and sell ("Utilize") this
32 * software in its current form, but solely to the extent that any such 
33 * patent is necessary to  Utilize the software alone.  The patent license 
34 * shall not apply to any combinations which include this software. No 
35 * hardware per se is licensed hereunder.
36 *
37 * DISCLAIMER:
38 *
39 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS 
40 * IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
41 * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 
42 * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR 
43 * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 
44 * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 
45 * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR 
46 * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF 
47 * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
48 * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 
49 * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
50 *
51 * Certain third party licenses not included:
52 *
53 * Certain software may (a) require patent licenses from third parties
54 * claiming patent rights covering implementation of the software or (b) be
55 * based on industry recognized standards or software programs published by
56 * industry recognized standards bodies and certain third parties may claim
57 * to own patents or copyrights that cover implementation of those standards.
58 * You acknowledge and agree that (i) this License does not convey a license
59 * to any such third party patents and copyrights, (ii) you are responsible
60 * for any fees or royalties that may be payable to any third party based on
61 * such third party's interests in such software and (iii) you will indemnify
62 * TI against your failure to make any such payments and will defend any
63 * claim, suit or proceeding brought against TI insofar as such claim, suit
64 * or proceeding is based on or arises from such failure.
65 *
66 */
67
68-----------------------------------------------------------------------------
69
70Additional legal notices pertaining to portions of included software:
71
72
73Copyright (c) 2007-2009 The Khronos Group Inc.
74
75Permission is hereby granted, free of charge, to any person obtaining a
76copy of this software and/or associated documentation files (the
77"Materials"), to deal in the Materials without restriction, including
78without limitation the rights to use, copy, modify, merge, publish,
79distribute, sublicense, and/or sell copies of the Materials, and to
80permit persons to whom the Materials are furnished to do so, subject to
81the following conditions:
82
83The above copyright notice and this permission notice shall be included
84in all copies or substantial portions of the Materials.
85
86THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
87EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
88MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
89IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
90CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
91TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
92MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS.
93
94
95--------
96
97SGI FREE SOFTWARE LICENSE B (Version 2.0, Sept. 18, 2008)
98
99Copyright (C) 2006 Silicon Graphics, Inc. All Rights Reserved.
100
101Permission is hereby granted, free of charge, to any person obtaining a
102copy of this software and associated documentation files (the "Software"),
103to deal in the Software without restriction, including without limitation
104the rights to use, copy, modify, merge, publish, distribute, sublicense,
105and/or sell copies of the Software, and to permit persons to whom the
106Software is furnished to do so, subject to the following conditions:
107
108The above copyright notice including the dates of first publication and
109either this permission notice or a reference to
110http://oss.sgi.com/projects/FreeB/ shall be included in all copies or
111substantial portions of the Software.
112
113THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
114OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
115FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
116SILICON GRAPHICS, INC. BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
117WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF
118OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
119SOFTWARE.
120
121Except as contained in this notice, the name of Silicon Graphics, Inc.
122shall not be used in advertising or otherwise to promote the sale, use
123or other dealings in this Software without prior written authorization
124from Silicon Graphics, Inc.
125#257696v2
diff --git a/omap5/README.SGX b/omap5/README.SGX
deleted file mode 100644
index 963571c..0000000
--- a/omap5/README.SGX
+++ /dev/null
@@ -1,51 +0,0 @@
1/*
2 * TECHNOLOGY AND SOFTWARE PUBLICLY AVAILABLE
3 *
4 * Copyright (c) 2011, Texas Instruments Incorporated.
5 *
6 * All rights reserved.
7 *
8 */
9
10#==========================================================================
11# SGX Binaries
12#==========================================================================
13
14sgx.tgz a set of binaries built for SGX544.
15The SGXCORE and SGC_CORE_REV is appended to the end of each file. pvrsrvinit is
16now a wrapper which detects the current processor and loads the corresponding
17core specific pvrsrvinit.
18
19[DDK Version]
20 1.9@2166536
21[DDK commit ID]
22 27d3873 SGX-UM: Fix for graphics init race condition.
23[Branch]
24 origin/1.9/2166536
25[DDK Tag]
26 1.9IMG2166536_TI.0007
27[Kernel modules built against]
28 Kernel Version: 3.4.9 with CONFIG_MODVERSIONS=y
29
30#===========================================================================
31# Building SGX Kernel Modules
32#===========================================================================
33SGX kernel modules source is located in sgx_src/eurasia_km/
34
35Make sure kernel is built before building modules
36
37# cd ANDROID_ROOT/device/ti/proprietary-open/omap5/sgx_src/eurasia_km/eurasiacon/build/linux2/omap4430_android/
38# export KERNELDIR=path_to_kernel
39
40To build for OMAP5 (SGX 544 multi core):
41# make ARCH=arm CROSS_COMPILE=arm-eabi- TARGET_PRODUCT="omap5sevm" BUILD=release TARGET_SGX=544
42
43Once the .ko is built, install it onto device (/system/lib/modules)
44
45# cd ANDROID_ROOT/device/ti/proprietary-open/omap5/sgx_src/eurasia_km/eurasiacon/binary2_544_116_omap4430_android_release/target/
46# adb push pvrsrvkm_sgx544_116.ko /system/lib/modules/
47
48If you build the kernel module, it is highly advisable to replace the binaries
49in your device with the ones located in sgx.tgz to avoid incompatibility.
50
51Reboot device.
diff --git a/omap5/ducati-full_omap5panda.mk b/omap5/ducati-full_omap5panda.mk
deleted file mode 100644
index 1974eb6..0000000
--- a/omap5/ducati-full_omap5panda.mk
+++ /dev/null
@@ -1,24 +0,0 @@
1# Copyright (C) 2012 The Android Open Source Project
2#
3# Licensed under the Apache License, Version 2.0 (the "License");
4# you may not use this file except in compliance with the License.
5# You may obtain a copy of the License at
6#
7# http://www.apache.org/licenses/LICENSE-2.0
8#
9# Unless required by applicable law or agreed to in writing, software
10# distributed under the License is distributed on an "AS IS" BASIS,
11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12# See the License for the specific language governing permissions and
13# limitations under the License.
14#
15
16# Add Ducati - Define the tgz to be unpacked, and enable the
17# ducati-m3.bin package, which is defined in the top-level Android.mk
18# of the proprietary-open tree
19
20ifeq (full_omap5panda,$(TARGET_PRODUCT))
21DUCATI_TGZ := device/ti/proprietary-open/omap5/ducati_full_omap5panda.tgz
22DUCATI_BINARY := ducati-m3-core0.xem3
23PRODUCT_PACKAGES += ducati-m3-core0.xem3
24endif
diff --git a/omap5/ducati_full_omap5panda.tgz b/omap5/ducati_full_omap5panda.tgz
deleted file mode 100644
index 515e304..0000000
--- a/omap5/ducati_full_omap5panda.tgz
+++ /dev/null
Binary files differ
diff --git a/omap5/sgx.tgz b/omap5/sgx.tgz
deleted file mode 100644
index 011043e..0000000
--- a/omap5/sgx.tgz
+++ /dev/null
Binary files differ
diff --git a/omap5/sgx/Android.mk b/omap5/sgx/Android.mk
deleted file mode 100644
index 3cf4f59..0000000
--- a/omap5/sgx/Android.mk
+++ /dev/null
@@ -1,150 +0,0 @@
1# Copyright (C) 2011 The Android Open Source Project
2#
3# Licensed under the Apache License, Version 2.0 (the "License");
4# you may not use this file except in compliance with the License.
5# You may obtain a copy of the License at
6#
7# http://www.apache.org/licenses/LICENSE-2.0
8#
9# Unless required by applicable law or agreed to in writing, software
10# distributed under the License is distributed on an "AS IS" BASIS,
11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12# See the License for the specific language governing permissions and
13# limitations under the License.
14#
15
16define _add-sgx-vendor-lib
17include $$(CLEAR_VARS)
18$(if $(word 2,$1),$(error Invalid SGX module name $1))
19LOCAL_MODULE := $(basename $(notdir $1))
20LOCAL_SRC_FILES := $1
21LOCAL_MODULE_TAGS := optional
22LOCAL_MODULE_SUFFIX := $(suffix $1)
23LOCAL_MODULE_CLASS := SHARED_LIBRARIES
24LOCAL_MODULE_PATH := $$(TARGET_OUT_VENDOR)/$(dir $1)
25LOCAL_STRIP_MODULE := false
26OVERRIDE_BUILT_MODULE_PATH := $$(TARGET_OUT_INTERMEDIATE_LIBRARIES)
27LOCAL_PATH := $$(img-sgx.untarred_bin)
28include $$(BUILD_SYSTEM)/base_rules.mk
29$$(LOCAL_BUILT_MODULE) : PRIVATE_SRC := $$(img-sgx.untarred_bin)/$1
30$$(LOCAL_BUILT_MODULE) : $$(img-sgx.untarred_timestamp) | $$(ACP)
31 @echo "Copy $$@ <- $$(PRIVATE_SRC)"
32 @mkdir -p $(dir $$@)
33 $$(hide) $$(ACP) -fp $$(PRIVATE_SRC) $$@
34endef
35
36define _add-sgx-vendor-bin
37include $$(CLEAR_VARS)
38$(if $(word 2,$1),$(error Invalid SGX module name $1))
39LOCAL_MODULE := $(basename $(notdir $1))
40LOCAL_SRC_FILES := $1
41LOCAL_MODULE_TAGS := optional
42LOCAL_MODULE_SUFFIX := $(suffix $1)
43LOCAL_MODULE_CLASS := EXECUTABLES
44LOCAL_MODULE_PATH := $$(TARGET_OUT_VENDOR)/$(dir $1)
45LOCAL_STRIP_MODULE := false
46OVERRIDE_BUILT_MODULE_PATH := $$(TARGET_OUT_INTERMEDIATE_EXECUTABLES)
47LOCAL_PATH := $$(img-sgx.untarred_bin)
48include $$(BUILD_SYSTEM)/base_rules.mk
49$$(LOCAL_BUILT_MODULE) : PRIVATE_SRC := $$(img-sgx.untarred_bin)/$1
50$$(LOCAL_BUILT_MODULE) : $$(img-sgx.untarred_timestamp) | $$(ACP)
51 @echo "Copy $$@ <- $$(PRIVATE_SRC)"
52 @mkdir -p $$(dir $$@)
53 $$(hide) $$(ACP) -fp $$(PRIVATE_SRC) $$@
54endef
55
56define _add-sgx-vendor-etc
57include $$(CLEAR_VARS)
58$(if $(word 2,$1),$(error Invalid SGX module name $1))
59LOCAL_MODULE := $(basename $(notdir $1))
60LOCAL_SRC_FILES := $1
61LOCAL_MODULE_TAGS := optional
62LOCAL_MODULE_SUFFIX := $(suffix $1)
63LOCAL_MODULE_CLASS := ETC
64LOCAL_MODULE_PATH := $$(TARGET_OUT)/$(dir $1)
65LOCAL_STRIP_MODULE := false
66OVERRIDE_BUILT_MODULE_PATH := $$(TARGET_OUT_INTERMEDIATE_ETC)
67LOCAL_PATH := $$(img-sgx.untarred_bin)
68include $$(BUILD_SYSTEM)/base_rules.mk
69$$(LOCAL_BUILT_MODULE) : PRIVATE_SRC := $$(img-sgx.untarred_bin)/$1
70$$(LOCAL_BUILT_MODULE) : $$(img-sgx.untarred_timestamp) | $$(ACP)
71 @echo "Copy $$@ <- $$(PRIVATE_SRC)"
72 @mkdir -p $$(dir $$@)
73 $$(hide) $$(ACP) -fp $$(PRIVATE_SRC) $$@
74endef
75
76define _add-sgx-vendor-km
77include $$(CLEAR_VARS)
78$(if $(word 2,$1),$(error Invalid SGX module name $1))
79LOCAL_MODULE := $(basename $(notdir $1))
80LOCAL_SRC_FILES := $1
81LOCAL_MODULE_TAGS := optional
82LOCAL_MODULE_SUFFIX := $(suffix $1)
83LOCAL_MODULE_CLASS := ETC
84LOCAL_MODULE_PATH := $$(TARGET_OUT)/lib/$(dir $1)
85LOCAL_STRIP_MODULE := false
86OVERRIDE_BUILT_MODULE_PATH := $$(TARGET_OUT_INTERMEDIATE_ETC)
87LOCAL_PATH := $$(img-sgx.untarred_bin)
88include $$(BUILD_SYSTEM)/base_rules.mk
89$$(LOCAL_BUILT_MODULE) : PRIVATE_SRC := $$(img-sgx.untarred_bin)/$1
90$$(LOCAL_BUILT_MODULE) : $$(img-sgx.untarred_timestamp) | $$(ACP)
91 @echo "Copy $$@ <- $$(PRIVATE_SRC)"
92 @mkdir -p $$(dir $$@)
93 $$(hide) $$(ACP) -fp $$(PRIVATE_SRC) $$@
94endef
95
96prebuilt_sgx_vendor_libs := \
97 lib/libIMGegl_SGX544_116.so \
98 lib/libglslcompiler_SGX544_116.so \
99 lib/libusc_SGX544_116.so \
100 lib/libPVRScopeServices_SGX544_116.so \
101 lib/libsrv_um_SGX544_116.so \
102 lib/hw/gralloc.omap5.so \
103 lib/libpvrANDROID_WSEGL_SGX544_116.so \
104 lib/libpvr2d_SGX544_116.so \
105 lib/libsrv_init_SGX544_116.so \
106 lib/egl/libGLESv1_CM_POWERVR_SGX544_116.so \
107 lib/egl/libGLESv2_POWERVR_SGX544_116.so \
108 lib/egl/libEGL_POWERVR_SGX544_116.so
109
110prebuilt_sgx_vendor_bins := \
111 bin/pvrsrvinit \
112 bin/pvrsrvctl_SGX544_116
113
114prebuilt_sgx_vendor_etc := \
115 etc/powervr.ini
116
117prebuilt_sgx_vendor_km := \
118 modules/pvrsrvkm_sgx544_116.ko
119
120prebuilt_sgx_modules := \
121 $(foreach _file,$(prebuilt_sgx_vendor_libs) $(prebuilt_sgx_vendor_bins) $(prebuilt_sgx_vendor_etc) $(prebuilt_sgx_vendor_km),\
122 $(notdir $(basename $(_file))))
123
124include $(CLEAR_VARS)
125LOCAL_MODULE := ti_omap5_sgx_libs
126LOCAL_MODULE_TAGS := optional
127LOCAL_REQUIRED_MODULES := $(prebuilt_sgx_modules)
128include $(BUILD_PHONY_PACKAGE)
129
130$(foreach _file,$(prebuilt_sgx_vendor_libs),\
131 $(eval $(call _add-sgx-vendor-lib,$(_file))))
132
133$(foreach _file,$(prebuilt_sgx_vendor_bins),\
134 $(eval $(call _add-sgx-vendor-bin,$(_file))))
135
136$(foreach _file,$(prebuilt_sgx_vendor_etc),\
137 $(eval $(call _add-sgx-vendor-etc,$(_file))))
138
139$(foreach _file,$(prebuilt_sgx_vendor_km),\
140 $(eval $(call _add-sgx-vendor-km,$(_file))))
141
142prebuilt_sgx_modules :=
143prebuilt_sgx_vendor_libs :=
144prebuilt_sgx_vendor_bins :=
145prebuilt_sgx_vendor_etc :=
146prebuilt_sgx_vendor_km :=
147_add-sgx-vendor-lib :=
148_add-sgx-vendor-bin :=
149_add-sgx-vendor-etc :=
150_add-sgx-vendor-km :=
diff --git a/omap5/sgx_src/eurasia_km/GPL-COPYING b/omap5/sgx_src/eurasia_km/GPL-COPYING
deleted file mode 100644
index 83d1261..0000000
--- a/omap5/sgx_src/eurasia_km/GPL-COPYING
+++ /dev/null
@@ -1,344 +0,0 @@
1-------------------------------------------------------------------------
2
3 GNU GENERAL PUBLIC LICENSE
4 Version 2, June 1991
5
6 Copyright (C) 1989, 1991 Free Software Foundation, Inc.
7 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
8 Everyone is permitted to copy and distribute verbatim copies
9 of this license document, but changing it is not allowed.
10
11 Preamble
12
13 The licenses for most software are designed to take away your
14freedom to share and change it. By contrast, the GNU General Public
15License is intended to guarantee your freedom to share and change free
16software--to make sure the software is free for all its users. This
17General Public License applies to most of the Free Software
18Foundation's software and to any other program whose authors commit to
19using it. (Some other Free Software Foundation software is covered by
20the GNU Library General Public License instead.) You can apply it to
21your programs, too.
22
23 When we speak of free software, we are referring to freedom, not
24price. Our General Public Licenses are designed to make sure that you
25have the freedom to distribute copies of free software (and charge for
26this service if you wish), that you receive source code or can get it
27if you want it, that you can change the software or use pieces of it
28in new free programs; and that you know you can do these things.
29
30 To protect your rights, we need to make restrictions that forbid
31anyone to deny you these rights or to ask you to surrender the rights.
32These restrictions translate to certain responsibilities for you if you
33distribute copies of the software, or if you modify it.
34
35 For example, if you distribute copies of such a program, whether
36gratis or for a fee, you must give the recipients all the rights that
37you have. You must make sure that they, too, receive or can get the
38source code. And you must show them these terms so they know their
39rights.
40
41 We protect your rights with two steps: (1) copyright the software, and
42(2) offer you this license which gives you legal permission to copy,
43distribute and/or modify the software.
44
45 Also, for each author's protection and ours, we want to make certain
46that everyone understands that there is no warranty for this free
47software. If the software is modified by someone else and passed on, we
48want its recipients to know that what they have is not the original, so
49that any problems introduced by others will not reflect on the original
50authors' reputations.
51
52 Finally, any free program is threatened constantly by software
53patents. We wish to avoid the danger that redistributors of a free
54program will individually obtain patent licenses, in effect making the
55program proprietary. To prevent this, we have made it clear that any
56patent must be licensed for everyone's free use or not licensed at all.
57
58 The precise terms and conditions for copying, distribution and
59modification follow.
60
61 GNU GENERAL PUBLIC LICENSE
62 TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
63
64 0. This License applies to any program or other work which contains
65a notice placed by the copyright holder saying it may be distributed
66under the terms of this General Public License. The "Program", below,
67refers to any such program or work, and a "work based on the Program"
68means either the Program or any derivative work under copyright law:
69that is to say, a work containing the Program or a portion of it,
70either verbatim or with modifications and/or translated into another
71language. (Hereinafter, translation is included without limitation in
72the term "modification".) Each licensee is addressed as "you".
73
74Activities other than copying, distribution and modification are not
75covered by this License; they are outside its scope. The act of
76running the Program is not restricted, and the output from the Program
77is covered only if its contents constitute a work based on the
78Program (independent of having been made by running the Program).
79Whether that is true depends on what the Program does.
80
81 1. You may copy and distribute verbatim copies of the Program's
82source code as you receive it, in any medium, provided that you
83conspicuously and appropriately publish on each copy an appropriate
84copyright notice and disclaimer of warranty; keep intact all the
85notices that refer to this License and to the absence of any warranty;
86and give any other recipients of the Program a copy of this License
87along with the Program.
88
89You may charge a fee for the physical act of transferring a copy, and
90you may at your option offer warranty protection in exchange for a fee.
91
92 2. You may modify your copy or copies of the Program or any portion
93of it, thus forming a work based on the Program, and copy and
94distribute such modifications or work under the terms of Section 1
95above, provided that you also meet all of these conditions:
96
97 a) You must cause the modified files to carry prominent notices
98 stating that you changed the files and the date of any change.
99
100 b) You must cause any work that you distribute or publish, that in
101 whole or in part contains or is derived from the Program or any
102 part thereof, to be licensed as a whole at no charge to all third
103 parties under the terms of this License.
104
105 c) If the modified program normally reads commands interactively
106 when run, you must cause it, when started running for such
107 interactive use in the most ordinary way, to print or display an
108 announcement including an appropriate copyright notice and a
109 notice that there is no warranty (or else, saying that you provide
110 a warranty) and that users may redistribute the program under
111 these conditions, and telling the user how to view a copy of this
112 License. (Exception: if the Program itself is interactive but
113 does not normally print such an announcement, your work based on
114 the Program is not required to print an announcement.)
115
116These requirements apply to the modified work as a whole. If
117identifiable sections of that work are not derived from the Program,
118and can be reasonably considered independent and separate works in
119themselves, then this License, and its terms, do not apply to those
120sections when you distribute them as separate works. But when you
121distribute the same sections as part of a whole which is a work based
122on the Program, the distribution of the whole must be on the terms of
123this License, whose permissions for other licensees extend to the
124entire whole, and thus to each and every part regardless of who wrote it.
125
126Thus, it is not the intent of this section to claim rights or contest
127your rights to work written entirely by you; rather, the intent is to
128exercise the right to control the distribution of derivative or
129collective works based on the Program.
130
131In addition, mere aggregation of another work not based on the Program
132with the Program (or with a work based on the Program) on a volume of
133a storage or distribution medium does not bring the other work under
134the scope of this License.
135
136 3. You may copy and distribute the Program (or a work based on it,
137under Section 2) in object code or executable form under the terms of
138Sections 1 and 2 above provided that you also do one of the following:
139
140 a) Accompany it with the complete corresponding machine-readable
141 source code, which must be distributed under the terms of Sections
142 1 and 2 above on a medium customarily used for software interchange; or,
143
144 b) Accompany it with a written offer, valid for at least three
145 years, to give any third party, for a charge no more than your
146 cost of physically performing source distribution, a complete
147 machine-readable copy of the corresponding source code, to be
148 distributed under the terms of Sections 1 and 2 above on a medium
149 customarily used for software interchange; or,
150
151 c) Accompany it with the information you received as to the offer
152 to distribute corresponding source code. (This alternative is
153 allowed only for noncommercial distribution and only if you
154 received the program in object code or executable form with such
155 an offer, in accord with Subsection b above.)
156
157The source code for a work means the preferred form of the work for
158making modifications to it. For an executable work, complete source
159code means all the source code for all modules it contains, plus any
160associated interface definition files, plus the scripts used to
161control compilation and installation of the executable. However, as a
162special exception, the source code distributed need not include
163anything that is normally distributed (in either source or binary
164form) with the major components (compiler, kernel, and so on) of the
165operating system on which the executable runs, unless that component
166itself accompanies the executable.
167
168If distribution of executable or object code is made by offering
169access to copy from a designated place, then offering equivalent
170access to copy the source code from the same place counts as
171distribution of the source code, even though third parties are not
172compelled to copy the source along with the object code.
173
174 4. You may not copy, modify, sublicense, or distribute the Program
175except as expressly provided under this License. Any attempt
176otherwise to copy, modify, sublicense or distribute the Program is
177void, and will automatically terminate your rights under this License.
178However, parties who have received copies, or rights, from you under
179this License will not have their licenses terminated so long as such
180parties remain in full compliance.
181
182 5. You are not required to accept this License, since you have not
183signed it. However, nothing else grants you permission to modify or
184distribute the Program or its derivative works. These actions are
185prohibited by law if you do not accept this License. Therefore, by
186modifying or distributing the Program (or any work based on the
187Program), you indicate your acceptance of this License to do so, and
188all its terms and conditions for copying, distributing or modifying
189the Program or works based on it.
190
191 6. Each time you redistribute the Program (or any work based on the
192Program), the recipient automatically receives a license from the
193original licensor to copy, distribute or modify the Program subject to
194these terms and conditions. You may not impose any further
195restrictions on the recipients' exercise of the rights granted herein.
196You are not responsible for enforcing compliance by third parties to
197this License.
198
199 7. If, as a consequence of a court judgment or allegation of patent
200infringement or for any other reason (not limited to patent issues),
201conditions are imposed on you (whether by court order, agreement or
202otherwise) that contradict the conditions of this License, they do not
203excuse you from the conditions of this License. If you cannot
204distribute so as to satisfy simultaneously your obligations under this
205License and any other pertinent obligations, then as a consequence you
206may not distribute the Program at all. For example, if a patent
207license would not permit royalty-free redistribution of the Program by
208all those who receive copies directly or indirectly through you, then
209the only way you could satisfy both it and this License would be to
210refrain entirely from distribution of the Program.
211
212If any portion of this section is held invalid or unenforceable under
213any particular circumstance, the balance of the section is intended to
214apply and the section as a whole is intended to apply in other
215circumstances.
216
217It is not the purpose of this section to induce you to infringe any
218patents or other property right claims or to contest validity of any
219such claims; this section has the sole purpose of protecting the
220integrity of the free software distribution system, which is
221implemented by public license practices. Many people have made
222generous contributions to the wide range of software distributed
223through that system in reliance on consistent application of that
224system; it is up to the author/donor to decide if he or she is willing
225to distribute software through any other system and a licensee cannot
226impose that choice.
227
228This section is intended to make thoroughly clear what is believed to
229be a consequence of the rest of this License.
230
231 8. If the distribution and/or use of the Program is restricted in
232certain countries either by patents or by copyrighted interfaces, the
233original copyright holder who places the Program under this License
234may add an explicit geographical distribution limitation excluding
235those countries, so that distribution is permitted only in or among
236countries not thus excluded. In such case, this License incorporates
237the limitation as if written in the body of this License.
238
239 9. The Free Software Foundation may publish revised and/or new versions
240of the General Public License from time to time. Such new versions will
241be similar in spirit to the present version, but may differ in detail to
242address new problems or concerns.
243
244Each version is given a distinguishing version number. If the Program
245specifies a version number of this License which applies to it and "any
246later version", you have the option of following the terms and conditions
247either of that version or of any later version published by the Free
248Software Foundation. If the Program does not specify a version number of
249this License, you may choose any version ever published by the Free Software
250Foundation.
251
252 10. If you wish to incorporate parts of the Program into other free
253programs whose distribution conditions are different, write to the author
254to ask for permission. For software which is copyrighted by the Free
255Software Foundation, write to the Free Software Foundation; we sometimes
256make exceptions for this. Our decision will be guided by the two goals
257of preserving the free status of all derivatives of our free software and
258of promoting the sharing and reuse of software generally.
259
260 NO WARRANTY
261
262 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
263FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
264OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
265PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
266OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
267MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
268TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
269PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
270REPAIR OR CORRECTION.
271
272 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
273WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
274REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
275INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
276OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
277TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
278YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
279PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
280POSSIBILITY OF SUCH DAMAGES.
281
282 END OF TERMS AND CONDITIONS
283
284 Appendix: How to Apply These Terms to Your New Programs
285
286 If you develop a new program, and you want it to be of the greatest
287possible use to the public, the best way to achieve this is to make it
288free software which everyone can redistribute and change under these terms.
289
290 To do so, attach the following notices to the program. It is safest
291to attach them to the start of each source file to most effectively
292convey the exclusion of warranty; and each file should have at least
293the "copyright" line and a pointer to where the full notice is found.
294
295 <one line to give the program's name and a brief idea of what it does.>
296 Copyright (C) 19yy <name of author>
297
298 This program is free software; you can redistribute it and/or modify
299 it under the terms of the GNU General Public License as published by
300 the Free Software Foundation; either version 2 of the License, or
301 (at your option) any later version.
302
303 This program is distributed in the hope that it will be useful,
304 but WITHOUT ANY WARRANTY; without even the implied warranty of
305 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
306 GNU General Public License for more details.
307
308 You should have received a copy of the GNU General Public License
309 along with this program; if not, write to the Free Software
310 Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
311
312Also add information on how to contact you by electronic and paper mail.
313
314If the program is interactive, make it output a short notice like this
315when it starts in an interactive mode:
316
317 Gnomovision version 69, Copyright (C) 19yy name of author
318 Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
319 This is free software, and you are welcome to redistribute it
320 under certain conditions; type `show c' for details.
321
322The hypothetical commands `show w' and `show c' should show the appropriate
323parts of the General Public License. Of course, the commands you use may
324be called something other than `show w' and `show c'; they could even be
325mouse-clicks or menu items--whatever suits your program.
326
327You should also get your employer (if you work as a programmer) or your
328school, if any, to sign a "copyright disclaimer" for the program, if
329necessary. Here is a sample; alter the names:
330
331 Yoyodyne, Inc., hereby disclaims all copyright interest in the program
332 `Gnomovision' (which makes passes at compilers) written by James Hacker.
333
334 <signature of Ty Coon>, 1 April 1989
335 Ty Coon, President of Vice
336
337This General Public License does not permit incorporating your program into
338proprietary programs. If your program is a subroutine library, you may
339consider it more useful to permit linking proprietary applications with the
340library. If this is what you want to do, use the GNU Library General
341Public License instead of this License.
342
343-------------------------------------------------------------------------
344
diff --git a/omap5/sgx_src/eurasia_km/INSTALL b/omap5/sgx_src/eurasia_km/INSTALL
deleted file mode 100644
index aefa6c3..0000000
--- a/omap5/sgx_src/eurasia_km/INSTALL
+++ /dev/null
@@ -1,72 +0,0 @@
1
2SGX Embedded Systems DDK for the Linux kernel.
3Copyright (C) Imagination Technologies Ltd. All rights reserved.
4======================================================================
5
6This file covers how to build and install the Imagination Technologies
7SGX DDK for the Linux kernel.
8
9
10Build System Environment Variables
11-------------------------------------------
12
13The SGX DDK Build scripts depend on a number of environment variables
14being setup before compilation or installation of DDK software can
15commence:
16
17$DISCIMAGE
18The DDK Build scripts install files to the location specified by the
19DISCIMAGE environment variable, when the make install target is used.
20This should point to the target filesystem.
21$ export DISCIMAGE=/path/to/filesystem
22
23$KERNELDIR
24When building the SGX DDK kernel module, the build needs access
25to the headers of the Linux kernel
26$ export KERNELDIR=/path/to/kernel
27
28$PATH
29If a cross compiler is being used make sure the PATH environment variable
30includes the path to the toolchain
31$ export PATH=$PATH:/path/to/toolchain
32
33$CROSS_COMPILE
34Since the SGX DDK Build scripts are geared toward a cross-compilation
35workflow, the CROSS_COMPILE environment variable needs to be set
36$ export CROSS_COMPILE=toolchain-prefix-
37
38
39Build and Install Instructions
40-------------------------------------------
41
42The SGX DDK configures different target builds within directories under
43eurasiacon/build/linux/.
44
45The supported build targets are:
46
47 all Makes everything
48 clean Removes all intermediate files created by a build.
49 clobber Removes all binaries for all builds as well.
50 install Runs the install script generated by the build.
51
52The following variables may be set on the command line to influence a build.
53
54 BUILD The type of build being performed.
55 Alternatives are release, timing or debug.
56 CFLAGS Build dependent optimisations and debug information flags.
57 SILENT Determines whether text of commands is produced during build.
58
59To build for, change to the appropriate target directory, e.g.:
60$ cd eurasiacon/build/linux/platform/kbuild
61
62Issue the make command:
63$ make BUILD=debug all
64
65The DDK software must be installed by the root user. Become the root user:
66$ su
67
68Install the DDK software:
69$ make install
70
71Become an ordinary user again:
72$ exit
diff --git a/omap5/sgx_src/eurasia_km/MIT-COPYING b/omap5/sgx_src/eurasia_km/MIT-COPYING
deleted file mode 100644
index 0cbd14e..0000000
--- a/omap5/sgx_src/eurasia_km/MIT-COPYING
+++ /dev/null
@@ -1,41 +0,0 @@
1
2This software is Copyright (C) Imagination Technologies Ltd.
3
4You may use, distribute and copy this software under the terms of the MIT
5license displayed below.
6
7-----------------------------------------------------------------------------
8
9Permission is hereby granted, free of charge, to any person obtaining a copy
10of this software and associated documentation files (the "Software"), to deal
11in the Software without restriction, including without limitation the rights
12to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
13copies of the Software, and to permit persons to whom the Software is
14furnished to do so, subject to the following conditions:
15
16The above copyright notice and this permission notice shall be included in
17all copies or substantial portions of the Software.
18
19Alternatively, this Software may be used under the terms of the GNU General
20Public License Version 2 ("GPL") in which case the provisions of GPL are
21applicable instead of those above.
22
23If you wish to allow use of your version of this Software only under the terms
24of GPL, and not to allow others to use your version of this file under the
25terms of the MIT license, indicate your decision by deleting from each file
26the provisions above and replace them with the notice and other provisions
27required by GPL as set out in the file called "GPL-COPYING" included in this
28distribution. If you do not delete the provisions above, a recipient may use
29your version of this file under the terms of either the MIT license or GPL.
30
31-----------------------------------------------------------------------------
32
33EXCEPT AS OTHERWISE STATED IN A NEGOTIATED AGREEMENT: (A) THE SOFTWARE IS
34PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING
35BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
36PURPOSE AND NONINFRINGEMENT; AND (B) IN NO EVENT SHALL THE AUTHORS OR
37COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
38IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
39CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
40
41-----------------------------------------------------------------------------
diff --git a/omap5/sgx_src/eurasia_km/README b/omap5/sgx_src/eurasia_km/README
deleted file mode 100644
index 2eae109..0000000
--- a/omap5/sgx_src/eurasia_km/README
+++ /dev/null
@@ -1,49 +0,0 @@
1
2SGX Embedded Systems DDK for Linux kernel.
3Copyright (C) Imagination Technologies Ltd. All rights reserved.
4======================================================================
5
6
7About
8-------------------------------------------
9
10This is the Imagination Technologies SGX DDK for the Linux kernel.
11
12
13License
14-------------------------------------------
15
16You may use, distribute and copy this software under the terms of the MIT
17license. Details of this license can be found in the file "MIT-COPYING".
18
19Alternatively, you may use, distribute and copy this software under the terms
20of the GNU General Public License version 2. The full GNU General Public
21License version 2 can be found in the file "GPL-COPYING".
22
23
24Build and Install Instructions
25-------------------------------------------
26
27For details see the "INSTALL" file.
28
29To build for, change to the appropriate target directory, e.g.:
30$ cd eurasiacon/build/linux/platform/kbuild
31
32Issue the make command:
33$ make BUILD=debug all
34
35The DDK software must be installed by the root user. Become the root user:
36$ su
37
38Install the DDK software:
39# make install
40
41Become an ordinary user again:
42$ exit
43
44
45Contact information:
46-------------------------------------------
47
48Imagination Technologies Ltd. <gpl-support@imgtec.com>
49Home Park Estate, Kings Langley, Herts, WD4 8LZ, UK
diff --git a/omap5/sgx_src/eurasia_km/eurasiacon/build/linux2/bits.mk b/omap5/sgx_src/eurasia_km/eurasiacon/build/linux2/bits.mk
deleted file mode 100644
index a1a7eef..0000000
--- a/omap5/sgx_src/eurasia_km/eurasiacon/build/linux2/bits.mk
+++ /dev/null
@@ -1,112 +0,0 @@
1########################################################################### ###
2#@Title Useful special targets which don't build anything
3#@Copyright Copyright (c) Imagination Technologies Ltd. All Rights Reserved
4#@License Dual MIT/GPLv2
5#
6# The contents of this file are subject to the MIT license as set out below.
7#
8# Permission is hereby granted, free of charge, to any person obtaining a copy
9# of this software and associated documentation files (the "Software"), to deal
10# in the Software without restriction, including without limitation the rights
11# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
12# copies of the Software, and to permit persons to whom the Software is
13# furnished to do so, subject to the following conditions:
14#
15# The above copyright notice and this permission notice shall be included in
16# all copies or substantial portions of the Software.
17#
18# Alternatively, the contents of this file may be used under the terms of
19# the GNU General Public License Version 2 ("GPL") in which case the provisions
20# of GPL are applicable instead of those above.
21#
22# If you wish to allow use of your version of this file only under the terms of
23# GPL, and not to allow others to use your version of this file under the terms
24# of the MIT license, indicate your decision by deleting the provisions above
25# and replace them with the notice and other provisions required by GPL as set
26# out in the file called "GPL-COPYING" included in this distribution. If you do
27# not delete the provisions above, a recipient may use your version of this file
28# under the terms of either the MIT license or GPL.
29#
30# This License is also included in this distribution in the file called
31# "MIT-COPYING".
32#
33# EXCEPT AS OTHERWISE STATED IN A NEGOTIATED AGREEMENT: (A) THE SOFTWARE IS
34# PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING
35# BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
36# PURPOSE AND NONINFRINGEMENT; AND (B) IN NO EVENT SHALL THE AUTHORS OR
37# COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
38# IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
39# CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
40### ###########################################################################
41
42ifneq ($(filter dumpvar-%,$(MAKECMDGOALS)),)
43dumpvar-%: ;
44$(foreach _var_to_dump,$(patsubst dumpvar-%,%,$(filter dumpvar-%,$(MAKECMDGOALS))),$(info $(if $(filter undefined,$(origin $(_var_to_dump))),# $$($(_var_to_dump)) is not set,$(_var_to_dump) := $($(_var_to_dump)))))
45endif
46
47ifneq ($(filter whereis-%,$(MAKECMDGOALS)),)
48whereis-%: ;
49$(foreach _module_to_find,$(patsubst whereis-%,%,$(filter whereis-%,$(MAKECMDGOALS))),$(info $(if $(INTERNAL_MAKEFILE_FOR_MODULE_$(_module_to_find)),$(INTERNAL_MAKEFILE_FOR_MODULE_$(_module_to_find)),# No module $(_module_to_find))))
50endif
51
52ifneq ($(filter whatis-%,$(MAKECMDGOALS)),)
53whatis-$(RELATIVE_OUT)/target/%: ;
54whatis-$(RELATIVE_OUT)/host/%: ;
55$(foreach _file_to_find,$(patsubst whatis-%,%,$(filter whatis-%,$(MAKECMDGOALS))),$(info $(strip $(foreach _m,$(ALL_MODULES),$(if $(filter $(_file_to_find),$(INTERNAL_TARGETS_FOR_$(_m))),$(_file_to_find) is in $(_m) which is defined in $(INTERNAL_MAKEFILE_FOR_MODULE_$(_m)),)))))
56endif
57
58.PHONY: ls-modules
59ls-modules:
60 @: $(foreach _m,$(ALL_MODULES),$(info $($(_m)_type) $(_m) $(patsubst $(TOP)/%,%,$(INTERNAL_MAKEFILE_FOR_MODULE_$(_m)))))
61
62ifeq ($(strip $(MAKECMDGOALS)),visualise)
63FORMAT ?= xlib
64GRAPHVIZ ?= neato
65visualise: $(OUT)/MAKE_RULES.dot
66 $(GRAPHVIZ) -T$(FORMAT) -o $(OUT)/MAKE_RULES.$(FORMAT) $<
67$(OUT)/MAKE_RULES.dot: $(OUT)/MAKE_RULES
68 perl $(MAKE_TOP)/tools/depgraph.pl -t $(TOP) -g $(firstword $(GRAPHVIZ)) $(OUT)/MAKE_RULES >$(OUT)/MAKE_RULES.dot
69$(OUT)/MAKE_RULES: $(ALL_MAKEFILES)
70 -$(MAKE) -C $(TOP) -f $(MAKE_TOP)/toplevel.mk TOP=$(TOP) OUT=$(OUT) ls-modules -qp >$(OUT)/MAKE_RULES 2>&1
71else
72visualise:
73 @: $(error visualise specified along with other goals. This is not supported)
74endif
75
76.PHONY: help
77help:
78 @echo 'Build targets'
79 @echo ' make, make build Build all components of the build'
80 @echo ' make components Build only the user-mode components'
81 @echo ' make kbuild Build only the kernel-mode components'
82 @echo ' make MODULE Build the module MODULE and all of its dependencies'
83 @echo ' make eurasiacon/binary2_.../target/libsomething.so'
84 @echo ' Build a particular file (including intermediates)'
85 @echo 'Variables'
86 @echo ' make V=1 ... Print the commands that are executed'
87 @echo ' make W=1 ... Enable extra compiler warnings'
88 @echo ' make D=opt ... Set build system debug option (D=help for a list)'
89 @echo ' make OUT=dir ... Place output+intermediates in specified directory'
90 @echo ' EXCLUDED_APIS=... List of APIs to remove from the build'
91 @echo ' make SOMEOPTION=1 ... Set configuration options (see config/core.mk)'
92 @echo ' Defaults are set by $(PVR_BUILD_DIR)/Makefile'
93 @echo 'Clean targets'
94 @echo ' make clean Remove only intermediates for the current build'
95 @echo ' make clobber As "make clean", but remove output files too'
96 @echo ' make clean-MODULE Clean (or clobber) only files for MODULE'
97 @echo ''
98 @echo 'Special targets'
99 @echo ' make whereis-MODULE Show the path to the Linux.mk defining MODULE'
100 @echo ' make whatis-FILE Show which module builds an output FILE'
101 @echo ' make ls-modules List all modules defined by makefiles'
102
103ifneq ($(filter help,$(D)),)
104empty :=
105space := $(empty) $(empty)
106$(info Debug options)
107$(info $(space)D=modules dump module info)
108$(info $(space)D=freeze-config prevent config changes)
109$(info $(space)D=config-changes dump diffs when config changes)
110$(info Options may be combined: make D=freeze-config,config-changes)
111$(error D=help given)
112endif
diff --git a/omap5/sgx_src/eurasia_km/eurasiacon/build/linux2/buildvars.mk b/omap5/sgx_src/eurasia_km/eurasiacon/build/linux2/buildvars.mk
deleted file mode 100644
index 24fa829..0000000
--- a/omap5/sgx_src/eurasia_km/eurasiacon/build/linux2/buildvars.mk
+++ /dev/null
@@ -1,217 +0,0 @@
1########################################################################### ###
2#@Title Define global variables
3#@Copyright Copyright (c) Imagination Technologies Ltd. All Rights Reserved
4#@Description This file is read once at the start of the build, after reading
5# in config.mk. It should define the non-MODULE_* variables used
6# in commands, like ALL_CFLAGS
7#@License Dual MIT/GPLv2
8#
9# The contents of this file are subject to the MIT license as set out below.
10#
11# Permission is hereby granted, free of charge, to any person obtaining a copy
12# of this software and associated documentation files (the "Software"), to deal
13# in the Software without restriction, including without limitation the rights
14# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
15# copies of the Software, and to permit persons to whom the Software is
16# furnished to do so, subject to the following conditions:
17#
18# The above copyright notice and this permission notice shall be included in
19# all copies or substantial portions of the Software.
20#
21# Alternatively, the contents of this file may be used under the terms of
22# the GNU General Public License Version 2 ("GPL") in which case the provisions
23# of GPL are applicable instead of those above.
24#
25# If you wish to allow use of your version of this file only under the terms of
26# GPL, and not to allow others to use your version of this file under the terms
27# of the MIT license, indicate your decision by deleting the provisions above
28# and replace them with the notice and other provisions required by GPL as set
29# out in the file called "GPL-COPYING" included in this distribution. If you do
30# not delete the provisions above, a recipient may use your version of this file
31# under the terms of either the MIT license or GPL.
32#
33# This License is also included in this distribution in the file called
34# "MIT-COPYING".
35#
36# EXCEPT AS OTHERWISE STATED IN A NEGOTIATED AGREEMENT: (A) THE SOFTWARE IS
37# PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING
38# BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
39# PURPOSE AND NONINFRINGEMENT; AND (B) IN NO EVENT SHALL THE AUTHORS OR
40# COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
41# IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
42# CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
43### ###########################################################################
44
45ifeq ($(BUILD),debug)
46COMMON_USER_FLAGS := -O0
47else
48OPTIM ?= -O2
49COMMON_USER_FLAGS := $(OPTIM)
50endif
51
52# FIXME: We should probably audit the driver for aliasing
53#
54COMMON_USER_FLAGS += -fno-strict-aliasing
55
56# We always enable debugging. Either the release binaries are stripped
57# and the symbols put in the symbolpackage, or we're building debug.
58#
59COMMON_USER_FLAGS += -g
60
61# These flags are used for kernel, User C and User C++
62#
63COMMON_FLAGS = -W -Wall
64
65# Some GCC warnings are C only, so we must mask them from C++
66#
67COMMON_CFLAGS := $(COMMON_FLAGS) \
68 -Wdeclaration-after-statement -Wno-format-zero-length \
69 -Wmissing-prototypes -Wstrict-prototypes
70
71# Additional warnings, and optional warnings.
72#
73WARNING_CFLAGS := \
74 -Wpointer-arith -Wunused-parameter \
75 -Wmissing-format-attribute \
76 $(call cc-option,-Wno-missing-field-initializers) \
77 $(call cc-option,-fdiagnostics-show-option)
78
79ifeq ($(W),1)
80WARNING_CFLAGS += \
81 $(call cc-option,-Wbad-function-cast) \
82 $(call cc-option,-Wcast-qual) \
83 $(call cc-option,-Wcast-align) \
84 $(call cc-option,-Wconversion) \
85 $(call cc-option,-Wdisabled-optimization) \
86 $(call cc-option,-Wlogical-op) \
87 $(call cc-option,-Wmissing-declarations) \
88 $(call cc-option,-Wmissing-include-dirs) \
89 $(call cc-option,-Wnested-externs) \
90 $(call cc-option,-Wold-style-definition) \
91 $(call cc-option,-Woverlength-strings) \
92 $(call cc-option,-Wpacked) \
93 $(call cc-option,-Wpacked-bitfield-compat) \
94 $(call cc-option,-Wpadded) \
95 $(call cc-option,-Wredundant-decls) \
96 $(call cc-option,-Wshadow) \
97 $(call cc-option,-Wswitch-default) \
98 $(call cc-option,-Wvla) \
99 $(call cc-option,-Wwrite-strings)
100endif
101
102WARNING_CFLAGS += \
103 $(call cc-optional-warning,-Wunused-but-set-variable)
104
105HOST_WARNING_CFLAGS := \
106 -Wpointer-arith -Wunused-parameter \
107 -Wmissing-format-attribute \
108 $(call host-cc-option,-Wno-missing-field-initializers) \
109 $(call host-cc-option,-fdiagnostics-show-option)
110
111ifeq ($(W),1)
112HOST_WARNING_CFLAGS += \
113 $(call host-cc-option,-Wbad-function-cast) \
114 $(call host-cc-option,-Wcast-qual) \
115 $(call host-cc-option,-Wcast-align) \
116 $(call host-cc-option,-Wconversion) \
117 $(call host-cc-option,-Wdisabled-optimization) \
118 $(call host-cc-option,-Wlogical-op) \
119 $(call host-cc-option,-Wmissing-declarations) \
120 $(call host-cc-option,-Wmissing-include-dirs) \
121 $(call host-cc-option,-Wnested-externs) \
122 $(call host-cc-option,-Wold-style-definition) \
123 $(call host-cc-option,-Woverlength-strings) \
124 $(call host-cc-option,-Wpacked) \
125 $(call host-cc-option,-Wpacked-bitfield-compat) \
126 $(call host-cc-option,-Wpadded) \
127 $(call host-cc-option,-Wredundant-decls) \
128 $(call host-cc-option,-Wshadow) \
129 $(call host-cc-option,-Wswitch-default) \
130 $(call host-cc-option,-Wvla) \
131 $(call host-cc-option,-Wwrite-strings)
132endif
133
134HOST_WARNING_CFLAGS += \
135 $(call host-cc-optional-warning,-Wunused-but-set-variable)
136
137KBUILD_WARNING_CFLAGS := \
138 -Wno-unused-parameter -Wno-sign-compare
139KBUILD_WARNING_CFLAGS += \
140 $(call kernel-cc-optional-warning,-Wbad-function-cast) \
141 $(call kernel-cc-optional-warning,-Wcast-qual) \
142 $(call kernel-cc-optional-warning,-Wcast-align) \
143 $(call kernel-cc-optional-warning,-Wconversion) \
144 $(call kernel-cc-optional-warning,-Wdisabled-optimization) \
145 $(call kernel-cc-optional-warning,-Wlogical-op) \
146 $(call kernel-cc-optional-warning,-Wmissing-declarations) \
147 $(call kernel-cc-optional-warning,-Wmissing-include-dirs) \
148 $(call kernel-cc-optional-warning,-Wnested-externs) \
149 $(call kernel-cc-optional-warning,-Wno-missing-field-initializers) \
150 $(call kernel-cc-optional-warning,-Wold-style-definition) \
151 $(call kernel-cc-optional-warning,-Woverlength-strings) \
152 $(call kernel-cc-optional-warning,-Wpacked) \
153 $(call kernel-cc-optional-warning,-Wpacked-bitfield-compat) \
154 $(call kernel-cc-optional-warning,-Wpadded) \
155 $(call kernel-cc-optional-warning,-Wredundant-decls) \
156 $(call kernel-cc-optional-warning,-Wshadow) \
157 $(call kernel-cc-optional-warning,-Wswitch-default) \
158 $(call kernel-cc-optional-warning,-Wvla) \
159 $(call kernel-cc-optional-warning,-Wwrite-strings)
160
161# User C only
162#
163ALL_CFLAGS := \
164 $(COMMON_USER_FLAGS) $(COMMON_CFLAGS) $(WARNING_CFLAGS) \
165 $(SYS_CFLAGS)
166
167ALL_HOST_CFLAGS := \
168 $(COMMON_USER_FLAGS) $(COMMON_CFLAGS) $(HOST_WARNING_CFLAGS)
169
170# User C++ only
171#
172ALL_CXXFLAGS := \
173 $(COMMON_USER_FLAGS) $(COMMON_FLAGS) \
174 -fno-rtti -fno-exceptions \
175 -Wpointer-arith -Wunused-parameter \
176 $(SYS_CXXFLAGS)
177
178ALL_HOST_CXXFLAGS := \
179 $(COMMON_USER_FLAGS) $(COMMON_CFLAGS) -Wall
180
181# User C and C++
182#
183# NOTE: ALL_HOST_LDFLAGS should probably be using -rpath-link too, and if we
184# ever need to support building host shared libraries, it's required.
185#
186# We can't use it right now because we want to support non-GNU-compatible
187# linkers like the Darwin 'ld' which doesn't support -rpath-link.
188#
189ALL_HOST_LDFLAGS := -L$(HOST_OUT)
190ALL_LDFLAGS := -L$(TARGET_OUT) -Xlinker -rpath-link=$(TARGET_OUT)
191
192ifneq ($(strip $(TOOLCHAIN)),)
193ALL_LDFLAGS += -L$(TOOLCHAIN)/lib -Xlinker -rpath-link=$(TOOLCHAIN)/lib
194endif
195
196ifneq ($(strip $(LINKER_RPATH)),)
197ALL_LDFLAGS += $(addprefix -Xlinker -rpath=,$(LINKER_RPATH))
198endif
199
200ALL_LDFLAGS += $(SYS_LDFLAGS)
201
202# Kernel C only
203#
204ALL_KBUILD_CFLAGS := $(COMMON_CFLAGS) $(KBUILD_WARNING_CFLAGS) \
205 $(call kernel-cc-option,-Wno-type-limits) \
206 $(call kernel-cc-option,-Wno-pointer-arith) \
207 $(call kernel-cc-option,-Wno-aggregate-return) \
208 $(call kernel-cc-option,-Wno-unused-but-set-variable)
209
210# This variable contains a list of all modules built by kbuild
211ALL_KBUILD_MODULES :=
212
213# This variable contains a list of all modules which contain C++ source files
214ALL_CXX_MODULES :=
215
216# Toolchain triple for cross environment
217CROSS_TRIPLE := $(patsubst %-,%,$(CROSS_COMPILE))
diff --git a/omap5/sgx_src/eurasia_km/eurasiacon/build/linux2/commands.mk b/omap5/sgx_src/eurasia_km/eurasiacon/build/linux2/commands.mk
deleted file mode 100644
index 25e5ed1..0000000
--- a/omap5/sgx_src/eurasia_km/eurasiacon/build/linux2/commands.mk
+++ /dev/null
@@ -1,219 +0,0 @@
1########################################################################### ###
2#@Copyright Copyright (c) Imagination Technologies Ltd. All Rights Reserved
3#@License Dual MIT/GPLv2
4#
5# The contents of this file are subject to the MIT license as set out below.
6#
7# Permission is hereby granted, free of charge, to any person obtaining a copy
8# of this software and associated documentation files (the "Software"), to deal
9# in the Software without restriction, including without limitation the rights
10# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
11# copies of the Software, and to permit persons to whom the Software is
12# furnished to do so, subject to the following conditions:
13#
14# The above copyright notice and this permission notice shall be included in
15# all copies or substantial portions of the Software.
16#
17# Alternatively, the contents of this file may be used under the terms of
18# the GNU General Public License Version 2 ("GPL") in which case the provisions
19# of GPL are applicable instead of those above.
20#
21# If you wish to allow use of your version of this file only under the terms of
22# GPL, and not to allow others to use your version of this file under the terms
23# of the MIT license, indicate your decision by deleting the provisions above
24# and replace them with the notice and other provisions required by GPL as set
25# out in the file called "GPL-COPYING" included in this distribution. If you do
26# not delete the provisions above, a recipient may use your version of this file
27# under the terms of either the MIT license or GPL.
28#
29# This License is also included in this distribution in the file called
30# "MIT-COPYING".
31#
32# EXCEPT AS OTHERWISE STATED IN A NEGOTIATED AGREEMENT: (A) THE SOFTWARE IS
33# PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING
34# BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
35# PURPOSE AND NONINFRINGEMENT; AND (B) IN NO EVENT SHALL THE AUTHORS OR
36# COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
37# IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
38# CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
39### ###########################################################################
40
41# from-one-* recipes make a thing from one source file, so they use $<. Others
42# use $(MODULE_something) instead of $^
43
44# We expect that MODULE_*FLAGS contains all the flags we need, including the
45# flags for all modules (like $(ALL_CFLAGS) and $(ALL_HOST_CFLAGS)), and
46# excluding flags for include search dirs or for linking libraries. The
47# exceptions are ALL_EXE_LDFLAGS and ALL_LIB_LDFLAGS, since they depend on the
48# type of thing being linked, so they appear in the commands below
49
50define host-o-from-one-c
51$(if $(V),,@echo " HOST_CC " $(call relative-to-top,$<))
52$(HOST_CC) -MD -c $(MODULE_HOST_CFLAGS) $(MODULE_INCLUDE_FLAGS) \
53 -include $(CONFIG_H) $< -o $@
54endef
55
56define target-o-from-one-c
57$(if $(V),,@echo " CC " $(call relative-to-top,$<))
58$(CC) -MD -c $(MODULE_CFLAGS) $(MODULE_INCLUDE_FLAGS) \
59 -include $(CONFIG_H) $< -o $@
60endef
61
62# We use $(CC) to compile C++ files, and expect it to detect that it's
63# compiling C++
64define host-o-from-one-cxx
65$(if $(V),,@echo " HOST_CC " $(call relative-to-top,$<))
66$(HOST_CC) -MD -c $(MODULE_HOST_CXXFLAGS) $(MODULE_INCLUDE_FLAGS) \
67 -include $(CONFIG_H) $< -o $@
68endef
69
70define target-o-from-one-cxx
71$(if $(V),,@echo " CC " $(call relative-to-top,$<))
72$(CC) -MD -c $(MODULE_CXXFLAGS) $(MODULE_INCLUDE_FLAGS) \
73 -include $(CONFIG_H) $< -o $@
74endef
75
76define host-executable-from-o
77$(if $(V),,@echo " HOST_LD " $(call relative-to-top,$@))
78$(HOST_CC) $(MODULE_HOST_LDFLAGS) \
79 -o $@ $(sort $(MODULE_ALL_OBJECTS)) $(MODULE_LIBRARY_DIR_FLAGS) \
80 $(MODULE_LIBRARY_FLAGS)
81endef
82
83define host-executable-cxx-from-o
84$(if $(V),,@echo " HOST_LD " $(call relative-to-top,$@))
85$(HOST_CXX) $(MODULE_HOST_LDFLAGS) \
86 -o $@ $(sort $(MODULE_ALL_OBJECTS)) $(MODULE_LIBRARY_DIR_FLAGS) \
87 $(MODULE_LIBRARY_FLAGS)
88endef
89
90define target-executable-from-o
91$(if $(V),,@echo " LD " $(call relative-to-top,$@))
92$(CC) \
93 $(SYS_EXE_LDFLAGS) $(MODULE_LDFLAGS) -o $@ \
94 $(SYS_EXE_CRTBEGIN) $(sort $(MODULE_ALL_OBJECTS)) $(SYS_EXE_CRTEND) \
95 $(MODULE_LIBRARY_DIR_FLAGS) $(MODULE_LIBRARY_FLAGS) $(LIBGCC)
96endef
97
98define target-executable-cxx-from-o
99$(if $(V),,@echo " LD " $(call relative-to-top,$@))
100$(CXX) \
101 $(SYS_EXE_LDFLAGS) $(MODULE_LDFLAGS) -o $@ \
102 $(SYS_EXE_CRTBEGIN) $(sort $(MODULE_ALL_OBJECTS)) $(SYS_EXE_CRTEND) \
103 $(MODULE_LIBRARY_DIR_FLAGS) $(MODULE_LIBRARY_FLAGS) $(LIBGCC)
104endef
105
106define target-shared-library-from-o
107$(if $(V),,@echo " LD " $(call relative-to-top,$@))
108$(CC) -shared -Wl,-Bsymbolic \
109 $(SYS_LIB_LDFLAGS) $(MODULE_LDFLAGS) -o $@ \
110 $(SYS_LIB_CRTBEGIN) $(sort $(MODULE_ALL_OBJECTS)) $(SYS_LIB_CRTEND) \
111 $(MODULE_LIBRARY_DIR_FLAGS) $(MODULE_LIBRARY_FLAGS) $(LIBGCC)
112endef
113
114# If there were any C++ source files in a shared library, we use this recipe,
115# which runs the C++ compiler to link the final library
116define target-shared-library-cxx-from-o
117$(if $(V),,@echo " LD " $(call relative-to-top,$@))
118$(CXX) -shared -Wl,-Bsymbolic \
119 $(SYS_LIB_LDFLAGS) $(MODULE_LDFLAGS) -o $@ \
120 $(SYS_LIB_CRTBEGIN) $(sort $(MODULE_ALL_OBJECTS)) $(SYS_LIB_CRTEND) \
121 $(MODULE_LIBRARY_DIR_FLAGS) $(MODULE_LIBRARY_FLAGS) $(LIBGCC)
122endef
123
124define target-copy-debug-information
125$(OBJCOPY) --only-keep-debug $@ $(basename $@).dbg
126endef
127
128define host-strip-debug-information
129$(HOST_STRIP) --strip-unneeded $@
130endef
131
132define target-strip-debug-information
133$(STRIP) --strip-unneeded $@
134endef
135
136define target-add-debuglink
137$(if $(V),,@echo " DBGLINK " $(call relative-to-top,$(basename $@).dbg))
138$(OBJCOPY) --add-gnu-debuglink=$(basename $@).dbg $@
139endef
140
141define host-static-library-from-o
142$(if $(V),,@echo " HOST_AR " $(call relative-to-top,$@))
143$(HOST_AR) cru $@ $(sort $(MODULE_ALL_OBJECTS))
144endef
145
146define target-static-library-from-o
147$(if $(V),,@echo " AR " $(call relative-to-top,$@))
148$(AR) cru $@ $(sort $(MODULE_ALL_OBJECTS))
149endef
150
151define tab-c-from-y
152$(if $(V),,@echo " BISON " $(call relative-to-top,$<))
153$(BISON) $(MODULE_BISON_FLAGS) -o $@ -d $<
154endef
155
156define l-c-from-l
157$(if $(V),,@echo " FLEX " $(call relative-to-top,$<))
158$(FLEX) $(MODULE_FLEX_FLAGS) -o$@ $<
159endef
160
161define clean-dirs
162$(if $(V),,@echo " RM " $(call relative-to-top,$(MODULE_DIRS_TO_REMOVE)))
163$(RM) -rf $(MODULE_DIRS_TO_REMOVE)
164endef
165
166define make-directory
167$(MKDIR) -p $@
168endef
169
170define check-exports
171endef
172
173# Programs used in recipes
174
175BISON ?= bison
176CC ?= gcc
177CXX ?= g++
178HOST_CC ?= gcc
179HOST_CXX ?= g++
180JAR ?= jar
181JAVA ?= java
182JAVAC ?= javac
183ZIP ?= zip
184
185override AR := $(if $(V),,@)$(CROSS_COMPILE)ar
186override BISON := $(if $(V),,@)$(BISON)
187override BZIP2 := $(if $(V),,@)bzip2 -9
188override CC := $(if $(V),,@)$(CROSS_COMPILE)$(CC)
189override CC_CHECK := $(if $(V),,@)$(MAKE_TOP)/tools/cc-check.sh
190override CXX := $(if $(V),,@)$(CROSS_COMPILE)$(CXX)
191override CHMOD := $(if $(V),,@)chmod
192override CP := $(if $(V),,@)cp
193override ECHO := $(if $(V),,@)echo
194override FLEX := $(if $(V),,@)flex
195override GAWK := $(if $(V),,@)gawk
196override GREP := $(if $(V),,@)grep
197override HOST_AR := $(if $(V),,@)ar
198override HOST_CC := $(if $(V),,@)$(HOST_CC)
199override HOST_CXX := $(if $(V),,@)$(HOST_CXX)
200override HOST_STRIP := $(if $(V),,@)strip
201override INSTALL := $(if $(V),,@)install
202override JAR := $(if $(V),,@)$(JAR)
203override JAVA := $(if $(V),,@)$(JAVA)
204override JAVAC := $(if $(V),,@)$(JAVAC)
205override M4 := $(if $(V),,@)m4
206override MKDIR := $(if $(V),,@)mkdir
207override MV := $(if $(V),,@)mv
208override OBJCOPY := $(if $(V),,@)$(CROSS_COMPILE)objcopy
209override PDSASM := $(if $(V),,@)$(HOST_OUT)/pdsasm
210override RANLIB := $(if $(V),,@)$(CROSS_COMPILE)ranlib
211override RM := $(if $(V),,@)rm -f
212override SED := $(if $(V),,@)sed
213override STRIP := $(if $(V),,@)$(CROSS_COMPILE)strip
214override TAR := $(if $(V),,@)tar
215override TOUCH := $(if $(V),,@)touch
216override USEASM := $(if $(V),,@)$(HOST_OUT)/useasm
217override USELINK := $(if $(V),,@)$(HOST_OUT)/uselink
218override VHD2INC := $(if $(V),,@)$(HOST_OUT)/vhd2inc
219override ZIP := $(if $(V),,@)$(ZIP)
diff --git a/omap5/sgx_src/eurasia_km/eurasiacon/build/linux2/common/android/arch_common.mk b/omap5/sgx_src/eurasia_km/eurasiacon/build/linux2/common/android/arch_common.mk
deleted file mode 100644
index 6e16b14..0000000
--- a/omap5/sgx_src/eurasia_km/eurasiacon/build/linux2/common/android/arch_common.mk
+++ /dev/null
@@ -1,59 +0,0 @@
1########################################################################### ###
2#@Copyright Copyright (c) Imagination Technologies Ltd. All Rights Reserved
3#@License Dual MIT/GPLv2
4#
5# The contents of this file are subject to the MIT license as set out below.
6#
7# Permission is hereby granted, free of charge, to any person obtaining a copy
8# of this software and associated documentation files (the "Software"), to deal
9# in the Software without restriction, including without limitation the rights
10# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
11# copies of the Software, and to permit persons to whom the Software is
12# furnished to do so, subject to the following conditions:
13#
14# The above copyright notice and this permission notice shall be included in
15# all copies or substantial portions of the Software.
16#
17# Alternatively, the contents of this file may be used under the terms of
18# the GNU General Public License Version 2 ("GPL") in which case the provisions
19# of GPL are applicable instead of those above.
20#
21# If you wish to allow use of your version of this file only under the terms of
22# GPL, and not to allow others to use your version of this file under the terms
23# of the MIT license, indicate your decision by deleting the provisions above
24# and replace them with the notice and other provisions required by GPL as set
25# out in the file called "GPL-COPYING" included in this distribution. If you do
26# not delete the provisions above, a recipient may use your version of this file
27# under the terms of either the MIT license or GPL.
28#
29# This License is also included in this distribution in the file called
30# "MIT-COPYING".
31#
32# EXCEPT AS OTHERWISE STATED IN A NEGOTIATED AGREEMENT: (A) THE SOFTWARE IS
33# PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING
34# BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
35# PURPOSE AND NONINFRINGEMENT; AND (B) IN NO EVENT SHALL THE AUTHORS OR
36# COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
37# IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
38# CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
39### ###########################################################################
40
41SYS_CFLAGS := \
42 -fno-short-enums -D__linux__ \
43 -I$(ANDROID_ROOT)/bionic/libc/arch-$(ANDROID_ARCH)/include \
44 -I$(ANDROID_ROOT)/bionic/libc/include \
45 -I$(ANDROID_ROOT)/bionic/libc/kernel/common \
46 -I$(ANDROID_ROOT)/bionic/libc/kernel/arch-$(ANDROID_ARCH) \
47 -I$(ANDROID_ROOT)/bionic/libm/include \
48 -I$(ANDROID_ROOT)/bionic/libm/include/$(ANDROID_ARCH) \
49 -I$(ANDROID_ROOT)/bionic/libthread_db/include \
50 -I$(ANDROID_ROOT)/frameworks/base/include \
51 -isystem $(ANDROID_ROOT)/system/core/include \
52 -I$(ANDROID_ROOT)/hardware/libhardware/include \
53 -I$(ANDROID_ROOT)/external/openssl/include
54
55SYS_EXE_LDFLAGS := \
56 -Bdynamic -nostdlib -Wl,-dynamic-linker,/system/bin/linker \
57 -lc -ldl -lcutils
58
59SYS_LIB_LDFLAGS := $(SYS_EXE_LDFLAGS)
diff --git a/omap5/sgx_src/eurasia_km/eurasiacon/build/linux2/common/android/armv7-a.mk b/omap5/sgx_src/eurasia_km/eurasiacon/build/linux2/common/android/armv7-a.mk
deleted file mode 100644
index 8c3f937..0000000
--- a/omap5/sgx_src/eurasia_km/eurasiacon/build/linux2/common/android/armv7-a.mk
+++ /dev/null
@@ -1,68 +0,0 @@
1########################################################################### ###
2#@Copyright Copyright (c) Imagination Technologies Ltd. All Rights Reserved
3#@License Dual MIT/GPLv2
4#
5# The contents of this file are subject to the MIT license as set out below.
6#
7# Permission is hereby granted, free of charge, to any person obtaining a copy
8# of this software and associated documentation files (the "Software"), to deal
9# in the Software without restriction, including without limitation the rights
10# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
11# copies of the Software, and to permit persons to whom the Software is
12# furnished to do so, subject to the following conditions:
13#
14# The above copyright notice and this permission notice shall be included in
15# all copies or substantial portions of the Software.
16#
17# Alternatively, the contents of this file may be used under the terms of
18# the GNU General Public License Version 2 ("GPL") in which case the provisions
19# of GPL are applicable instead of those above.
20#
21# If you wish to allow use of your version of this file only under the terms of
22# GPL, and not to allow others to use your version of this file under the terms
23# of the MIT license, indicate your decision by deleting the provisions above
24# and replace them with the notice and other provisions required by GPL as set
25# out in the file called "GPL-COPYING" included in this distribution. If you do
26# not delete the provisions above, a recipient may use your version of this file
27# under the terms of either the MIT license or GPL.
28#
29# This License is also included in this distribution in the file called
30# "MIT-COPYING".
31#
32# EXCEPT AS OTHERWISE STATED IN A NEGOTIATED AGREEMENT: (A) THE SOFTWARE IS
33# PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING
34# BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
35# PURPOSE AND NONINFRINGEMENT; AND (B) IN NO EVENT SHALL THE AUTHORS OR
36# COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
37# IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
38# CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
39### ###########################################################################
40
41OPTIM := -Os
42
43ANDROID_ARCH := arm
44include ../common/android/arch_common.mk
45
46SYS_CFLAGS += -march=armv7-a
47
48SYS_EXE_CRTBEGIN := $(TOOLCHAIN)/lib/crtbegin_dynamic.o
49SYS_EXE_CRTEND := $(TOOLCHAIN)/lib/crtend_android.o
50
51# Handle the removal of the armelf.x and armelf.xsc linker scripts.
52ifeq ($(strip $(wildcard $(ANDROID_ROOT)/build/core/armelf.x)),)
53# The linker scripts have been removed. We need to use these options
54# instead.
55SYS_EXE_LDFLAGS += -Wl,-z,relro -Wl,-z,now
56SYS_LIB_LDFLAGS += -Wl,-z,relro -Wl,-z,now
57else
58# The linker scripts are still present in the Android tree, so we need to
59# use them.
60SYS_EXE_LDFLAGS += -Wl,-T$(ANDROID_ROOT)/build/core/armelf.x
61SYS_LIB_LDFLAGS += -Wl,-T$(ANDROID_ROOT)/build/core/armelf.xsc
62endif
63
64JNI_CPU_ABI := armeabi
65
66# Android builds are usually GPL
67#
68LDM_PLATFORM ?= 1
diff --git a/omap5/sgx_src/eurasia_km/eurasiacon/build/linux2/common/android/extra_config.mk b/omap5/sgx_src/eurasia_km/eurasiacon/build/linux2/common/android/extra_config.mk
deleted file mode 100644
index 320804e..0000000
--- a/omap5/sgx_src/eurasia_km/eurasiacon/build/linux2/common/android/extra_config.mk
+++ /dev/null
@@ -1,47 +0,0 @@
1########################################################################### ###
2#@Copyright Copyright (c) Imagination Technologies Ltd. All Rights Reserved
3#@License Dual MIT/GPLv2
4#
5# The contents of this file are subject to the MIT license as set out below.
6#
7# Permission is hereby granted, free of charge, to any person obtaining a copy
8# of this software and associated documentation files (the "Software"), to deal
9# in the Software without restriction, including without limitation the rights
10# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
11# copies of the Software, and to permit persons to whom the Software is
12# furnished to do so, subject to the following conditions:
13#
14# The above copyright notice and this permission notice shall be included in
15# all copies or substantial portions of the Software.
16#
17# Alternatively, the contents of this file may be used under the terms of
18# the GNU General Public License Version 2 ("GPL") in which case the provisions
19# of GPL are applicable instead of those above.
20#
21# If you wish to allow use of your version of this file only under the terms of
22# GPL, and not to allow others to use your version of this file under the terms
23# of the MIT license, indicate your decision by deleting the provisions above
24# and replace them with the notice and other provisions required by GPL as set
25# out in the file called "GPL-COPYING" included in this distribution. If you do
26# not delete the provisions above, a recipient may use your version of this file
27# under the terms of either the MIT license or GPL.
28#
29# This License is also included in this distribution in the file called
30# "MIT-COPYING".
31#
32# EXCEPT AS OTHERWISE STATED IN A NEGOTIATED AGREEMENT: (A) THE SOFTWARE IS
33# PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING
34# BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
35# PURPOSE AND NONINFRINGEMENT; AND (B) IN NO EVENT SHALL THE AUTHORS OR
36# COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
37# IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
38# CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
39### ###########################################################################
40
41
42$(eval $(call BothConfigC,ANDROID,))
43
44
45
46
47
diff --git a/omap5/sgx_src/eurasia_km/eurasiacon/build/linux2/common/android/features.mk b/omap5/sgx_src/eurasia_km/eurasiacon/build/linux2/common/android/features.mk
deleted file mode 100644
index 18bc370..0000000
--- a/omap5/sgx_src/eurasia_km/eurasiacon/build/linux2/common/android/features.mk
+++ /dev/null
@@ -1,319 +0,0 @@
1########################################################################### ###
2#@Copyright Copyright (c) Imagination Technologies Ltd. All Rights Reserved
3#@License Dual MIT/GPLv2
4#
5# The contents of this file are subject to the MIT license as set out below.
6#
7# Permission is hereby granted, free of charge, to any person obtaining a copy
8# of this software and associated documentation files (the "Software"), to deal
9# in the Software without restriction, including without limitation the rights
10# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
11# copies of the Software, and to permit persons to whom the Software is
12# furnished to do so, subject to the following conditions:
13#
14# The above copyright notice and this permission notice shall be included in
15# all copies or substantial portions of the Software.
16#
17# Alternatively, the contents of this file may be used under the terms of
18# the GNU General Public License Version 2 ("GPL") in which case the provisions
19# of GPL are applicable instead of those above.
20#
21# If you wish to allow use of your version of this file only under the terms of
22# GPL, and not to allow others to use your version of this file under the terms
23# of the MIT license, indicate your decision by deleting the provisions above
24# and replace them with the notice and other provisions required by GPL as set
25# out in the file called "GPL-COPYING" included in this distribution. If you do
26# not delete the provisions above, a recipient may use your version of this file
27# under the terms of either the MIT license or GPL.
28#
29# This License is also included in this distribution in the file called
30# "MIT-COPYING".
31#
32# EXCEPT AS OTHERWISE STATED IN A NEGOTIATED AGREEMENT: (A) THE SOFTWARE IS
33# PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING
34# BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
35# PURPOSE AND NONINFRINGEMENT; AND (B) IN NO EVENT SHALL THE AUTHORS OR
36# COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
37# IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
38# CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
39### ###########################################################################
40
41include ../common/android/platform_version.mk
42
43# Basic support option tuning for Android
44#
45SUPPORT_ANDROID_PLATFORM := 1
46SUPPORT_OPENGLES1_V1_ONLY := 1
47
48# Meminfo IDs are required for buffer stamps
49#
50SUPPORT_MEMINFO_IDS := 1
51
52# Need multi-process support in PDUMP
53#
54SUPPORT_PDUMP_MULTI_PROCESS := 1
55
56# Always print debugging after 5 seconds of no activity
57#
58CLIENT_DRIVER_DEFAULT_WAIT_RETRIES := 50
59
60# Android WSEGL is always the same
61#
62OPK_DEFAULT := libpvrANDROID_WSEGL.so
63
64# srvkm is always built, but bufferclass_example is only built
65# before EGL_image_external was generally available.
66#
67KERNEL_COMPONENTS := srvkm
68ifeq ($(is_at_least_honeycomb),0)
69KERNEL_COMPONENTS += bufferclass_example
70endif
71
72# Kernel modules are always installed here under Android
73#
74PVRSRV_MODULE_BASEDIR := /system/modules/
75
76# Use the new PVR_DPF implementation to allow lower message levels
77# to be stripped from production drivers
78#
79PVRSRV_NEW_PVR_DPF := 1
80
81# Production Android builds don't want PVRSRVGetDCSystemBuffer
82#
83SUPPORT_PVRSRV_GET_DC_SYSTEM_BUFFER := 0
84
85# Prefer to limit the 3D parameters heap to <16MB and move the
86# extra 48MB to the general heap. This only affects cores with
87# 28bit MMUs (520, 530, 531, 540).
88#
89SUPPORT_LARGE_GENERAL_HEAP := 1
90
91# Enable a page pool for uncached memory allocations. This improves
92# the performance of such allocations because the pages are temporarily
93# not returned to Linux and therefore do not have to be re-invalidated
94# (fewer cache invalidates are needed).
95#
96# Default the cache size to a maximum of 5400 pages (~21MB). If using
97# newer Linux kernels (>=3.0) the cache may be reclaimed and become
98# smaller than this maximum during runtime.
99#
100PVR_LINUX_MEM_AREA_POOL_MAX_PAGES ?= 5400
101
102##############################################################################
103# EGL connect/disconnect hooks only available since Froyo
104# Obsolete in future versions
105#
106ifeq ($(is_at_least_froyo),1)
107ifeq ($(is_at_least_icecream_sandwich),0)
108PVR_ANDROID_HAS_CONNECT_DISCONNECT := 1
109endif
110endif
111
112##############################################################################
113# Override surface field name for older versions
114#
115ifeq ($(is_at_least_gingerbread),0)
116PVR_ANDROID_SURFACE_FIELD_NAME := \"mSurface\"
117endif
118
119##############################################################################
120# Provide ANativeWindow{Buffer,} typedefs for older versions
121#
122ifeq ($(is_at_least_gingerbread),0)
123PVR_ANDROID_NEEDS_ANATIVEWINDOW_TYPEDEF := 1
124endif
125ifeq ($(is_at_least_icecream_sandwich),0)
126PVR_ANDROID_NEEDS_ANATIVEWINDOWBUFFER_TYPEDEF := 1
127endif
128
129##############################################################################
130# Handle various platform includes for unittests
131#
132UNITTEST_INCLUDES := eurasiacon/android
133
134ifeq ($(is_at_least_gingerbread),1)
135UNITTEST_INCLUDES += $(ANDROID_ROOT)/frameworks/base/native/include
136endif
137
138ifeq ($(is_at_least_jellybean),1)
139UNITTEST_INCLUDES += \
140 $(ANDROID_ROOT)/frameworks/native/include \
141 $(ANDROID_ROOT)/frameworks/native/opengl/include \
142 $(ANDROID_ROOT)/libnativehelper/include
143# FIXME: This is the old location for the JNI header.
144UNITTEST_INCLUDES += $(ANDROID_ROOT)/dalvik/libnativehelper/include
145else
146UNITTEST_INCLUDES += \
147 $(ANDROID_ROOT)/frameworks/base/opengl/include \
148 $(ANDROID_ROOT)/dalvik/libnativehelper/include
149endif
150
151# But it doesn't have OpenVG headers
152#
153UNITTEST_INCLUDES += eurasiacon/unittests/include
154
155##############################################################################
156# Future versions moved proprietary libraries to a vendor directory
157#
158ifeq ($(is_at_least_gingerbread),1)
159SHLIB_DESTDIR := /system/vendor/lib
160DEMO_DESTDIR := /system/vendor/bin
161else
162SHLIB_DESTDIR := /system/lib
163DEMO_DESTDIR := /system/bin
164endif
165
166# EGL libraries go in a special place
167#
168EGL_DESTDIR := $(SHLIB_DESTDIR)/egl
169
170##############################################################################
171# We can support OpenCL in the build since Froyo (stlport was added in 2.2)
172#
173ifeq ($(is_at_least_froyo),1)
174SYS_CXXFLAGS := \
175 -fuse-cxa-atexit \
176 $(SYS_CFLAGS) \
177 -I$(ANDROID_ROOT)/bionic \
178 -I$(ANDROID_ROOT)/external/stlport/stlport
179else
180SYS_CXXFLAGS := \
181 $(SYS_CFLAGS) \
182 -I$(ANDROID_ROOT)/bionic/libstdc++/include
183endif
184
185##############################################################################
186# Composition bypass feature, supported since Froyo.
187# In ICS, hardware composer (HWC) should be used instead.
188#
189ifeq ($(is_at_least_froyo),1)
190ifeq ($(is_at_least_honeycomb),0)
191PVR_ANDROID_HAS_NATIVE_BUFFER_TRANSFORM := 1
192SUPPORT_ANDROID_COMPOSITION_BYPASS := 1
193endif
194endif
195
196##############################################################################
197# In ICS, we have hardware composer (HWC) support.
198#
199# SUPPORT_ANDROID_COMPOSER_HAL adds Post2() to the framebuffer HAL interface
200# and is intended for inter-op with external HWC modules. It is always
201# enabled (but we allow it to be compiled out just in case).
202#
203# SUPPORT_ANDROID_COMPOSITION_BYPASS adds a new buffer type (client buffers
204# allocated from the framebuffer pool) which maximizes compatibility with
205# most 3rdparty display controllers. It is orthogonal to HWC support.
206#
207ifeq ($(is_at_least_honeycomb),1)
208SUPPORT_ANDROID_COMPOSER_HAL := 1
209endif
210
211##############################################################################
212# We have some extra GRALLOC_USAGE bits we need to handle in ICS
213#
214ifeq ($(is_at_least_honeycomb),1)
215PVR_ANDROID_HAS_GRALLOC_USAGE_EXTERNAL_DISP := 1
216PVR_ANDROID_HAS_GRALLOC_USAGE_PROTECTED := 1
217PVR_ANDROID_HAS_GRALLOC_USAGE_PRIVATE := 1
218endif
219
220##############################################################################
221# Support the new OES_EGL_image_external extension + YV12 buffers
222#
223ifeq ($(is_at_least_honeycomb),1)
224PVR_ANDROID_HAS_HAL_PIXEL_FORMAT_YV12 := 1
225GLES1_EXTENSION_EGL_IMAGE_EXTERNAL := 1
226GLES2_EXTENSION_EGL_IMAGE_EXTERNAL := 1
227endif
228
229##############################################################################
230# Gingerbread adds the native window cancelBuffer operation
231#
232ifeq ($(is_at_least_gingerbread),1)
233PVR_ANDROID_HAS_CANCELBUFFER := 1
234endif
235
236##############################################################################
237# Versions prior to ICS have another header we must include
238#
239ifeq ($(is_at_least_icecream_sandwich),0)
240PVR_ANDROID_HAS_ANDROID_NATIVE_BUFFER_H := 1
241endif
242
243##############################################################################
244# ICS added dump() hook to gralloc alloc_device_t API
245#
246ifeq ($(is_at_least_honeycomb),1)
247PVR_ANDROID_HAS_GRALLOC_DUMP := 1
248endif
249
250##############################################################################
251# ICS added support for the BGRX pixel format, and allows drivers to advertise
252# configs in this format instead of RGBX.
253#
254# The DDK provides a private definition of HAL_PIXEL_FORMAT_BGRX_8888. This
255# option exposes it as the native visual for 8888 configs with alpha ignored
256#
257ifeq ($(is_at_least_icecream_sandwich),1)
258SUPPORT_HAL_PIXEL_FORMAT_BGRX := 1
259endif
260
261##############################################################################
262# ICS added the ability for GL clients to pre-rotate their rendering to the
263# orientation desired by the compositor. The SGX DDK can use TRANSFORM_HINT
264# to access this functionality.
265#
266# This is required by some HWC implementations that cannot use the display
267# to rotate buffers, otherwise the HWC optimization cannot be used when
268# rotating the device.
269#
270ifeq ($(is_at_least_icecream_sandwich),1)
271PVR_ANDROID_HAS_WINDOW_TRANSFORM_HINT := 1
272endif
273
274##############################################################################
275# ICS requires that at least one driver EGLConfig advertises the
276# EGL_RECORDABLE_ANDROID attribute. The platform requires that surfaces
277# rendered with this config can be consumed by an OMX video encoder.
278#
279ifeq ($(is_at_least_icecream_sandwich),1)
280EGL_EXTENSION_ANDROID_RECORDABLE := 1
281endif
282
283##############################################################################
284# ICS added a new usage bit. USAGE_HW_COMPOSER indicates that a buffer might
285# be used with HWComposer. In practice this is all non-MM buffers.
286#
287ifeq ($(is_at_least_icecream_sandwich),1)
288PVR_ANDROID_HAS_GRALLOC_USAGE_HW_COMPOSER := 1
289endif
290
291##############################################################################
292# ICS added the EGL_ANDROID_blob_cache extension. Enable support for this
293# extension in EGL/GLESv2.
294#
295ifeq ($(is_at_least_icecream_sandwich),1)
296EGL_EXTENSION_ANDROID_BLOB_CACHE := 1
297endif
298
299##############################################################################
300# ICS MR1 added a new usage bit. USAGE_HW_VIDEO_ENCODER indicates that a
301# buffer might be used with the video encoder.
302#
303ifeq ($(is_at_least_icecream_sandwich_mr1),1)
304PVR_ANDROID_HAS_GRALLOC_USAGE_HW_VIDEO_ENCODER := 1
305endif
306
307##############################################################################
308# ICS and earlier should rate-limit composition by waiting for 3D renders
309# to complete in the compositor's eglSwapBuffers().
310#
311ifeq ($(is_at_least_jellybean),0)
312PVR_ANDROID_COMPOSITOR_WAIT_FOR_RENDER := 1
313endif
314
315# Placeholder for future version handling
316#
317ifeq ($(is_future_version),1)
318-include ../common/android/future_version.mk
319endif
diff --git a/omap5/sgx_src/eurasia_km/eurasiacon/build/linux2/common/android/paths.mk b/omap5/sgx_src/eurasia_km/eurasiacon/build/linux2/common/android/paths.mk
deleted file mode 100644
index 5c8f000..0000000
--- a/omap5/sgx_src/eurasia_km/eurasiacon/build/linux2/common/android/paths.mk
+++ /dev/null
@@ -1,53 +0,0 @@
1########################################################################### ###
2#@Copyright Copyright (c) Imagination Technologies Ltd. All Rights Reserved
3#@License Dual MIT/GPLv2
4#
5# The contents of this file are subject to the MIT license as set out below.
6#
7# Permission is hereby granted, free of charge, to any person obtaining a copy
8# of this software and associated documentation files (the "Software"), to deal
9# in the Software without restriction, including without limitation the rights
10# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
11# copies of the Software, and to permit persons to whom the Software is
12# furnished to do so, subject to the following conditions:
13#
14# The above copyright notice and this permission notice shall be included in
15# all copies or substantial portions of the Software.
16#
17# Alternatively, the contents of this file may be used under the terms of
18# the GNU General Public License Version 2 ("GPL") in which case the provisions
19# of GPL are applicable instead of those above.
20#
21# If you wish to allow use of your version of this file only under the terms of
22# GPL, and not to allow others to use your version of this file under the terms
23# of the MIT license, indicate your decision by deleting the provisions above
24# and replace them with the notice and other provisions required by GPL as set
25# out in the file called "GPL-COPYING" included in this distribution. If you do
26# not delete the provisions above, a recipient may use your version of this file
27# under the terms of either the MIT license or GPL.
28#
29# This License is also included in this distribution in the file called
30# "MIT-COPYING".
31#
32# EXCEPT AS OTHERWISE STATED IN A NEGOTIATED AGREEMENT: (A) THE SOFTWARE IS
33# PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING
34# BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
35# PURPOSE AND NONINFRINGEMENT; AND (B) IN NO EVENT SHALL THE AUTHORS OR
36# COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
37# IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
38# CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
39### ###########################################################################
40
41TARGET_BUILD_TYPE ?= release
42
43OUT_DIR ?= $(ANDROID_ROOT)/out
44
45ifeq ($(TARGET_BUILD_TYPE),debug)
46TARGET_ROOT := $(OUT_DIR)/debug/target
47else
48TARGET_ROOT := $(OUT_DIR)/target
49endif
50
51TOOLCHAIN ?= $(TARGET_ROOT)/product/$(TARGET_PRODUCT)/obj
52
53LIBGCC := $(shell $(CROSS_COMPILE)gcc -print-libgcc-file-name)
diff --git a/omap5/sgx_src/eurasia_km/eurasiacon/build/linux2/common/android/platform_version.mk b/omap5/sgx_src/eurasia_km/eurasiacon/build/linux2/common/android/platform_version.mk
deleted file mode 100644
index 698efa3..0000000
--- a/omap5/sgx_src/eurasia_km/eurasiacon/build/linux2/common/android/platform_version.mk
+++ /dev/null
@@ -1,156 +0,0 @@
1########################################################################### ###
2#@Copyright Copyright (c) Imagination Technologies Ltd. All Rights Reserved
3#@License Dual MIT/GPLv2
4#
5# The contents of this file are subject to the MIT license as set out below.
6#
7# Permission is hereby granted, free of charge, to any person obtaining a copy
8# of this software and associated documentation files (the "Software"), to deal
9# in the Software without restriction, including without limitation the rights
10# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
11# copies of the Software, and to permit persons to whom the Software is
12# furnished to do so, subject to the following conditions:
13#
14# The above copyright notice and this permission notice shall be included in
15# all copies or substantial portions of the Software.
16#
17# Alternatively, the contents of this file may be used under the terms of
18# the GNU General Public License Version 2 ("GPL") in which case the provisions
19# of GPL are applicable instead of those above.
20#
21# If you wish to allow use of your version of this file only under the terms of
22# GPL, and not to allow others to use your version of this file under the terms
23# of the MIT license, indicate your decision by deleting the provisions above