Moved driver under the omap4 directory to isolate it from other omap
revisions.  Updated Android.mk to check board platform.

Change-Id: Ie1607e8c7c2dd241546d2d2a0d1609f553aa3411
diff --git a/graphics/data/app/eglinfo.apk b/graphics/omap4/data/app/eglinfo.apk
similarity index 100%
rename from graphics/data/app/eglinfo.apk
rename to graphics/omap4/data/app/eglinfo.apk
Binary files differ
diff --git a/graphics/data/app/gles1_texture_stream.apk b/graphics/omap4/data/app/gles1_texture_stream.apk
similarity index 100%
rename from graphics/data/app/gles1_texture_stream.apk
rename to graphics/omap4/data/app/gles1_texture_stream.apk
Binary files differ
diff --git a/graphics/data/app/gles1test1.apk b/graphics/omap4/data/app/gles1test1.apk
similarity index 100%
rename from graphics/data/app/gles1test1.apk
rename to graphics/omap4/data/app/gles1test1.apk
Binary files differ
diff --git a/graphics/data/app/gles2_texture_stream.apk b/graphics/omap4/data/app/gles2_texture_stream.apk
similarity index 100%
rename from graphics/data/app/gles2_texture_stream.apk
rename to graphics/omap4/data/app/gles2_texture_stream.apk
Binary files differ
diff --git a/graphics/data/app/gles2test1.apk b/graphics/omap4/data/app/gles2test1.apk
similarity index 100%
rename from graphics/data/app/gles2test1.apk
rename to graphics/omap4/data/app/gles2test1.apk
Binary files differ
diff --git a/graphics/data/app/launcher.apk b/graphics/omap4/data/app/launcher.apk
similarity index 100%
rename from graphics/data/app/launcher.apk
rename to graphics/omap4/data/app/launcher.apk
Binary files differ
diff --git a/graphics/license.txt b/graphics/omap4/license.txt
similarity index 100%
rename from graphics/license.txt
rename to graphics/omap4/license.txt
diff --git a/graphics/powervr_ddk_install.log b/graphics/omap4/powervr_ddk_install.log
similarity index 100%
rename from graphics/powervr_ddk_install.log
rename to graphics/omap4/powervr_ddk_install.log
diff --git a/graphics/rc.pvr b/graphics/omap4/rc.pvr
similarity index 100%
rename from graphics/rc.pvr
rename to graphics/omap4/rc.pvr
diff --git a/graphics/system/Android.mk b/graphics/omap4/system/Android.mk
similarity index 97%
rename from graphics/system/Android.mk
rename to graphics/omap4/system/Android.mk
index 34d6fdc..202b96d 100644
--- a/graphics/system/Android.mk
+++ b/graphics/omap4/system/Android.mk
@@ -23,6 +23,8 @@
 ## OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 ##
 
+ifeq ($(TARGET_BOARD_PLATFORM),omap4)
+
 LOCAL_PATH := $(call my-dir)
 include $(CLEAR_VARS)
 
@@ -67,3 +69,4 @@
 
 ALL_PREBUILT += $(copy_files_to)
 
+endif
diff --git a/graphics/system/bin/framebuffer_test b/graphics/omap4/system/bin/framebuffer_test
similarity index 100%
rename from graphics/system/bin/framebuffer_test
rename to graphics/omap4/system/bin/framebuffer_test
Binary files differ
diff --git a/graphics/system/bin/hal_client_test b/graphics/omap4/system/bin/hal_client_test
similarity index 100%
rename from graphics/system/bin/hal_client_test
rename to graphics/omap4/system/bin/hal_client_test
Binary files differ
diff --git a/graphics/system/bin/hal_server_test b/graphics/omap4/system/bin/hal_server_test
similarity index 100%
rename from graphics/system/bin/hal_server_test
rename to graphics/omap4/system/bin/hal_server_test
Binary files differ
diff --git a/graphics/system/bin/ovg_unit_test b/graphics/omap4/system/bin/ovg_unit_test
similarity index 100%
rename from graphics/system/bin/ovg_unit_test
rename to graphics/omap4/system/bin/ovg_unit_test
Binary files differ
diff --git a/graphics/system/bin/pvr2d_test b/graphics/omap4/system/bin/pvr2d_test
similarity index 100%
rename from graphics/system/bin/pvr2d_test
rename to graphics/omap4/system/bin/pvr2d_test
Binary files differ
diff --git a/graphics/system/bin/pvrsrvinit b/graphics/omap4/system/bin/pvrsrvinit
similarity index 100%
rename from graphics/system/bin/pvrsrvinit
rename to graphics/omap4/system/bin/pvrsrvinit
Binary files differ
diff --git a/graphics/system/bin/services_test b/graphics/omap4/system/bin/services_test
similarity index 100%
rename from graphics/system/bin/services_test
rename to graphics/omap4/system/bin/services_test
Binary files differ
diff --git a/graphics/system/bin/sgx_blit_test b/graphics/omap4/system/bin/sgx_blit_test
similarity index 100%
rename from graphics/system/bin/sgx_blit_test
rename to graphics/omap4/system/bin/sgx_blit_test
Binary files differ
diff --git a/graphics/system/bin/sgx_clipblit_test b/graphics/omap4/system/bin/sgx_clipblit_test
similarity index 100%
rename from graphics/system/bin/sgx_clipblit_test
rename to graphics/omap4/system/bin/sgx_clipblit_test
Binary files differ
diff --git a/graphics/system/bin/sgx_flip_test b/graphics/omap4/system/bin/sgx_flip_test
similarity index 100%
rename from graphics/system/bin/sgx_flip_test
rename to graphics/omap4/system/bin/sgx_flip_test
Binary files differ
diff --git a/graphics/system/bin/sgx_init_test b/graphics/omap4/system/bin/sgx_init_test
similarity index 100%
rename from graphics/system/bin/sgx_init_test
rename to graphics/omap4/system/bin/sgx_init_test
Binary files differ
diff --git a/graphics/system/bin/sgx_render_flip_test b/graphics/omap4/system/bin/sgx_render_flip_test
similarity index 100%
rename from graphics/system/bin/sgx_render_flip_test
rename to graphics/omap4/system/bin/sgx_render_flip_test
Binary files differ
diff --git a/graphics/system/bin/testwrap b/graphics/omap4/system/bin/testwrap
similarity index 100%
rename from graphics/system/bin/testwrap
rename to graphics/omap4/system/bin/testwrap
Binary files differ
diff --git a/graphics/system/bin/texture_benchmark b/graphics/omap4/system/bin/texture_benchmark
similarity index 100%
rename from graphics/system/bin/texture_benchmark
rename to graphics/omap4/system/bin/texture_benchmark
Binary files differ
diff --git a/graphics/system/lib/libIMGegl.so b/graphics/omap4/system/lib/libIMGegl.so
similarity index 100%
rename from graphics/system/lib/libIMGegl.so
rename to graphics/omap4/system/lib/libIMGegl.so
diff --git a/graphics/system/lib/libIMGegl.so.1.1.16.4061 b/graphics/omap4/system/lib/libIMGegl.so.1.1.16.4061
similarity index 100%
rename from graphics/system/lib/libIMGegl.so.1.1.16.4061
rename to graphics/omap4/system/lib/libIMGegl.so.1.1.16.4061
Binary files differ
diff --git a/graphics/system/lib/libOpenVG.so b/graphics/omap4/system/lib/libOpenVG.so
similarity index 100%
rename from graphics/system/lib/libOpenVG.so
rename to graphics/omap4/system/lib/libOpenVG.so
diff --git a/graphics/system/lib/libOpenVG.so.1.1.16.4061 b/graphics/omap4/system/lib/libOpenVG.so.1.1.16.4061
similarity index 100%
rename from graphics/system/lib/libOpenVG.so.1.1.16.4061
rename to graphics/omap4/system/lib/libOpenVG.so.1.1.16.4061
Binary files differ
diff --git a/graphics/system/lib/libOpenVGU.so b/graphics/omap4/system/lib/libOpenVGU.so
similarity index 100%
rename from graphics/system/lib/libOpenVGU.so
rename to graphics/omap4/system/lib/libOpenVGU.so
diff --git a/graphics/system/lib/libOpenVGU.so.1.1.16.4061 b/graphics/omap4/system/lib/libOpenVGU.so.1.1.16.4061
similarity index 100%
rename from graphics/system/lib/libOpenVGU.so.1.1.16.4061
rename to graphics/omap4/system/lib/libOpenVGU.so.1.1.16.4061
Binary files differ
diff --git a/graphics/system/lib/libPVRScopeServices.so b/graphics/omap4/system/lib/libPVRScopeServices.so
similarity index 100%
rename from graphics/system/lib/libPVRScopeServices.so
rename to graphics/omap4/system/lib/libPVRScopeServices.so
diff --git a/graphics/system/lib/libPVRScopeServices.so.1.1.16.4061 b/graphics/omap4/system/lib/libPVRScopeServices.so.1.1.16.4061
similarity index 100%
rename from graphics/system/lib/libPVRScopeServices.so.1.1.16.4061
rename to graphics/omap4/system/lib/libPVRScopeServices.so.1.1.16.4061
Binary files differ
diff --git a/graphics/system/lib/libglslcompiler.so b/graphics/omap4/system/lib/libglslcompiler.so
similarity index 100%
rename from graphics/system/lib/libglslcompiler.so
rename to graphics/omap4/system/lib/libglslcompiler.so
diff --git a/graphics/system/lib/libglslcompiler.so.1.1.16.4061 b/graphics/omap4/system/lib/libglslcompiler.so.1.1.16.4061
similarity index 100%
rename from graphics/system/lib/libglslcompiler.so.1.1.16.4061
rename to graphics/omap4/system/lib/libglslcompiler.so.1.1.16.4061
Binary files differ
diff --git a/graphics/system/lib/libpvr2d.so b/graphics/omap4/system/lib/libpvr2d.so
similarity index 100%
rename from graphics/system/lib/libpvr2d.so
rename to graphics/omap4/system/lib/libpvr2d.so
diff --git a/graphics/system/lib/libpvr2d.so.1.1.16.4061 b/graphics/omap4/system/lib/libpvr2d.so.1.1.16.4061
similarity index 100%
rename from graphics/system/lib/libpvr2d.so.1.1.16.4061
rename to graphics/omap4/system/lib/libpvr2d.so.1.1.16.4061
Binary files differ
diff --git a/graphics/system/lib/libpvrANDROID_WSEGL.so b/graphics/omap4/system/lib/libpvrANDROID_WSEGL.so
similarity index 100%
rename from graphics/system/lib/libpvrANDROID_WSEGL.so
rename to graphics/omap4/system/lib/libpvrANDROID_WSEGL.so
diff --git a/graphics/system/lib/libpvrANDROID_WSEGL.so.1.1.16.4061 b/graphics/omap4/system/lib/libpvrANDROID_WSEGL.so.1.1.16.4061
similarity index 100%
rename from graphics/system/lib/libpvrANDROID_WSEGL.so.1.1.16.4061
rename to graphics/omap4/system/lib/libpvrANDROID_WSEGL.so.1.1.16.4061
Binary files differ
diff --git a/graphics/system/lib/libpvrPVR2D_FLIPWSEGL.so b/graphics/omap4/system/lib/libpvrPVR2D_FLIPWSEGL.so
similarity index 100%
rename from graphics/system/lib/libpvrPVR2D_FLIPWSEGL.so
rename to graphics/omap4/system/lib/libpvrPVR2D_FLIPWSEGL.so
diff --git a/graphics/system/lib/libpvrPVR2D_FLIPWSEGL.so.1.1.16.4061 b/graphics/omap4/system/lib/libpvrPVR2D_FLIPWSEGL.so.1.1.16.4061
similarity index 100%
rename from graphics/system/lib/libpvrPVR2D_FLIPWSEGL.so.1.1.16.4061
rename to graphics/omap4/system/lib/libpvrPVR2D_FLIPWSEGL.so.1.1.16.4061
Binary files differ
diff --git a/graphics/system/lib/libpvrPVR2D_FRONTWSEGL.so b/graphics/omap4/system/lib/libpvrPVR2D_FRONTWSEGL.so
similarity index 100%
rename from graphics/system/lib/libpvrPVR2D_FRONTWSEGL.so
rename to graphics/omap4/system/lib/libpvrPVR2D_FRONTWSEGL.so
diff --git a/graphics/system/lib/libpvrPVR2D_FRONTWSEGL.so.1.1.16.4061 b/graphics/omap4/system/lib/libpvrPVR2D_FRONTWSEGL.so.1.1.16.4061
similarity index 100%
rename from graphics/system/lib/libpvrPVR2D_FRONTWSEGL.so.1.1.16.4061
rename to graphics/omap4/system/lib/libpvrPVR2D_FRONTWSEGL.so.1.1.16.4061
Binary files differ
diff --git a/graphics/system/lib/libsrv_init.so b/graphics/omap4/system/lib/libsrv_init.so
similarity index 100%
rename from graphics/system/lib/libsrv_init.so
rename to graphics/omap4/system/lib/libsrv_init.so
diff --git a/graphics/system/lib/libsrv_init.so.1.1.16.4061 b/graphics/omap4/system/lib/libsrv_init.so.1.1.16.4061
similarity index 100%
rename from graphics/system/lib/libsrv_init.so.1.1.16.4061
rename to graphics/omap4/system/lib/libsrv_init.so.1.1.16.4061
Binary files differ
diff --git a/graphics/system/lib/libsrv_um.so b/graphics/omap4/system/lib/libsrv_um.so
similarity index 100%
rename from graphics/system/lib/libsrv_um.so
rename to graphics/omap4/system/lib/libsrv_um.so
diff --git a/graphics/system/lib/libsrv_um.so.1.1.16.4061 b/graphics/omap4/system/lib/libsrv_um.so.1.1.16.4061
similarity index 100%
rename from graphics/system/lib/libsrv_um.so.1.1.16.4061
rename to graphics/omap4/system/lib/libsrv_um.so.1.1.16.4061
Binary files differ
diff --git a/graphics/system/lib/libusc.so b/graphics/omap4/system/lib/libusc.so
similarity index 100%
rename from graphics/system/lib/libusc.so
rename to graphics/omap4/system/lib/libusc.so
diff --git a/graphics/system/lib/libusc.so.1.1.16.4061 b/graphics/omap4/system/lib/libusc.so.1.1.16.4061
similarity index 100%
rename from graphics/system/lib/libusc.so.1.1.16.4061
rename to graphics/omap4/system/lib/libusc.so.1.1.16.4061
Binary files differ
diff --git a/graphics/system/vendor/lib/egl/libEGL_POWERVR_SGX540_120.so b/graphics/omap4/system/vendor/lib/egl/libEGL_POWERVR_SGX540_120.so
similarity index 100%
rename from graphics/system/vendor/lib/egl/libEGL_POWERVR_SGX540_120.so
rename to graphics/omap4/system/vendor/lib/egl/libEGL_POWERVR_SGX540_120.so
diff --git a/graphics/system/vendor/lib/egl/libEGL_POWERVR_SGX540_120.so.1.1.16.4061 b/graphics/omap4/system/vendor/lib/egl/libEGL_POWERVR_SGX540_120.so.1.1.16.4061
similarity index 100%
rename from graphics/system/vendor/lib/egl/libEGL_POWERVR_SGX540_120.so.1.1.16.4061
rename to graphics/omap4/system/vendor/lib/egl/libEGL_POWERVR_SGX540_120.so.1.1.16.4061
Binary files differ
diff --git a/graphics/system/vendor/lib/egl/libGLESv1_CM_POWERVR_SGX540_120.so b/graphics/omap4/system/vendor/lib/egl/libGLESv1_CM_POWERVR_SGX540_120.so
similarity index 100%
rename from graphics/system/vendor/lib/egl/libGLESv1_CM_POWERVR_SGX540_120.so
rename to graphics/omap4/system/vendor/lib/egl/libGLESv1_CM_POWERVR_SGX540_120.so
diff --git a/graphics/system/vendor/lib/egl/libGLESv1_CM_POWERVR_SGX540_120.so.1.1.16.4061 b/graphics/omap4/system/vendor/lib/egl/libGLESv1_CM_POWERVR_SGX540_120.so.1.1.16.4061
similarity index 100%
rename from graphics/system/vendor/lib/egl/libGLESv1_CM_POWERVR_SGX540_120.so.1.1.16.4061
rename to graphics/omap4/system/vendor/lib/egl/libGLESv1_CM_POWERVR_SGX540_120.so.1.1.16.4061
Binary files differ
diff --git a/graphics/system/vendor/lib/egl/libGLESv2_POWERVR_SGX540_120.so b/graphics/omap4/system/vendor/lib/egl/libGLESv2_POWERVR_SGX540_120.so
similarity index 100%
rename from graphics/system/vendor/lib/egl/libGLESv2_POWERVR_SGX540_120.so
rename to graphics/omap4/system/vendor/lib/egl/libGLESv2_POWERVR_SGX540_120.so
diff --git a/graphics/system/vendor/lib/egl/libGLESv2_POWERVR_SGX540_120.so.1.1.16.4061 b/graphics/omap4/system/vendor/lib/egl/libGLESv2_POWERVR_SGX540_120.so.1.1.16.4061
similarity index 100%
rename from graphics/system/vendor/lib/egl/libGLESv2_POWERVR_SGX540_120.so.1.1.16.4061
rename to graphics/omap4/system/vendor/lib/egl/libGLESv2_POWERVR_SGX540_120.so.1.1.16.4061
Binary files differ
diff --git a/graphics/system/vendor/lib/hw/gralloc.omap4430.so b/graphics/omap4/system/vendor/lib/hw/gralloc.omap4430.so
similarity index 100%
rename from graphics/system/vendor/lib/hw/gralloc.omap4430.so
rename to graphics/omap4/system/vendor/lib/hw/gralloc.omap4430.so
diff --git a/graphics/system/vendor/lib/hw/gralloc.omap4430.so.1.1.16.4061 b/graphics/omap4/system/vendor/lib/hw/gralloc.omap4430.so.1.1.16.4061
similarity index 100%
rename from graphics/system/vendor/lib/hw/gralloc.omap4430.so.1.1.16.4061
rename to graphics/omap4/system/vendor/lib/hw/gralloc.omap4430.so.1.1.16.4061
Binary files differ