
17
3.3.2 Makefile Configuration Variables
The configuration file
Config.mk
has the following variables:
GCC_PATH
The command name of the compiler program to use and optionally its associated pathname.
LD_PATH
The command name of the loader program to use and optionally its associated pathname.
PLATFORM
The target build platform. Possible values are
x86_32
and
x86_64
.
KERNEL_SOURCE
The pathname to the kernel source tree for the kernel you are running.
KERNEL_CODE
The release string for the kernel as returned by the
uname –r
command.
O
Path to alternate kernel build output directory.
BUILD_32LIBS
If the AMSO1100 package is configured on a 64 bit distribution, this variable will be set to
‘y’
if 32 bit libraries should be built in addition to 64 bit libraries.
Here is a sample
Config.mk
created by the
'make config'
rule:
#
# This build configuration was automatically generated.
#
GCC_PATH=/usr/bin/gcc
LD_PATH=/usr/bin/ld
PLATFORM=x86_64
KERNEL_SOURCE=/lib/modules/2.4.21-20.ELsmp/build
KERNEL_CODE=2.4.21-20.ELsmp
O=
BUILD_32LIBS=y