2008-06-13 01:22:49 +03:00
|
|
|
#
|
|
|
|
# Include the make variables (CC, etc...)
|
|
|
|
#
|
2008-08-13 02:35:09 +03:00
|
|
|
|
|
|
|
CROSS_PATH=/usr/local/openmoko/arm
|
|
|
|
CROSS_COMPILE=${CROSS_PATH}/bin/arm-angstrom-linux-gnueabi-
|
|
|
|
|
|
|
|
####
|
|
|
|
COMPILER_LIB_PATH_PRE=${CROSS_PATH}/lib/gcc/arm-angstrom-linux-gnueabi
|
|
|
|
COMPILER_LIB_PATH=${COMPILER_LIB_PATH_PRE}/`ls ${COMPILER_LIB_PATH_PRE}`
|
2008-06-13 01:22:49 +03:00
|
|
|
|
|
|
|
AS = $(CROSS_COMPILE)as
|
|
|
|
LD = $(CROSS_COMPILE)ld
|
|
|
|
CC = $(CROSS_COMPILE)gcc
|
|
|
|
OBJCOPY = $(CROSS_COMPILE)objcopy
|
2008-06-21 05:24:29 +03:00
|
|
|
OBJDUMP = $(CROSS_COMPILE)objdump
|
2008-11-28 12:16:37 +02:00
|
|
|
HOSTCC = gcc
|
2008-06-13 01:22:49 +03:00
|
|
|
|
2008-08-13 02:34:06 +03:00
|
|
|
# we need the mkudfu tool from U-Boot build
|
2008-11-28 12:16:37 +02:00
|
|
|
#MKUDFU = ../uboot/u-boot/tools/mkudfu
|
2008-08-13 02:34:06 +03:00
|
|
|
|
|
|
|
export CROSS_COMPILE AD LD CC OBJCOPY OBJDUMP MKUDFU
|