3.5. Building the UI Engine for ARM Embedded Linux

To build the UI Engine for ARM Embedded Linux:

  1. Open a Linux command prompt on a Linux host machine that is set up with ARM GNU tool chain 2007q1-21

  2. Set the environment variable GLES2_LIB_DIR to the directory containing the Mali OpenGL ES 2.0 libraries for your target system:

    • libMail.so

    • libGLESv2.so

    • libEGL.so

  3. cd ARM/Mali_Developer_Tools/Mali_GPU_UI_Engine_vm.n/

  4. Build the UI Engine and various examples by typing the following:

    make all CONFIG=release VARIANT=armlinux-gles20 TOOLCHAIN=arm-linux-gcc
    

    This builds the UI Engine library along with various examples. When the build is complete, an executable is created in each directory corresponding to the example.

    Note

    • If you have previously built the Red Hat Linux version in the same directory, before building for ARM Embedded Linux clean it using the following command:

      make clean

    • To list the supported targets, enter:

      make help CONFIG=release

Copyright © 2009-2010 ARM. All rights reserved.ARM DUI 0505B
Non-Confidential