1 Rogue Embedded Systems DDK for the Linux kernel.
2 Copyright (C) Imagination Technologies Ltd. All rights reserved.
3 ======================================================================
5 This file covers how to build and install the Imagination Technologies
6 Rogue DDK for the Linux kernel. For full details, see the relevant platform
10 Build System Environment Variables
11 -------------------------------------------
13 The Rogue DDK Build scripts depend on a number of environment variables
14 being setup before compilation or installation of DDK software can
18 The DDK Build scripts install files to the location specified by the
19 DISCIMAGE environment variable. To do so, they need to know where the
20 target system image resides:
21 $ export DISCIMAGE=/path/to/filesystem
22 If you are building on the target system, you can set this to '/'.
25 When building the Rogue DDK kernel module, the build needs access
26 to the headers of the Linux kernel.
27 If you are building on the target machine, you can set this as follows:
28 $ export KERNELDIR=/usr/src/linux-headers-`uname -r`
31 If you intend on targeting a platform that is different from your build
32 machine (e.g.,if you are compiling on an x86 but targeting ARM) you need
33 to set the CROSS_COMPILE variable so that the build system uses the correct
35 $ export CROSS_COMPILE=arm-linux-gnueabi-
38 Build and Install Instructions
39 -------------------------------------------
41 The Rogue DDK configures different target builds within directories under
44 The most interesting build targets are:
46 build Makes everything
47 clobber Removes all binaries for all builds as well.
48 install Runs the install script generated by the build.
50 The following variables may be set on the command line to influence a build.
52 BUILD The type of build being performed.
53 Alternatives are release, timing or debug.
55 To build for, change to the appropriate target directory, e.g.:
56 $ cd eurasiacon/build/linux/<platform>