mirror of
git://projects.qi-hardware.com/xburst-tools.git
synced 2024-11-22 23:14:38 +02:00
ba82ccbff1
X-Git-Url: http://git.openmoko.org/?p=qi.git;a=commitdiff_plain;h=bdc874553c41b5c540188798928433ad9ef89a76 add-mkudfu-to-qi
23 lines
585 B
Makefile
23 lines
585 B
Makefile
#
|
|
# Include the make variables (CC, etc...)
|
|
#
|
|
|
|
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}`
|
|
|
|
AS = $(CROSS_COMPILE)as
|
|
LD = $(CROSS_COMPILE)ld
|
|
CC = $(CROSS_COMPILE)gcc
|
|
OBJCOPY = $(CROSS_COMPILE)objcopy
|
|
OBJDUMP = $(CROSS_COMPILE)objdump
|
|
HOSTCC = gcc
|
|
|
|
# we need the mkudfu tool from U-Boot build
|
|
#MKUDFU = ../uboot/u-boot/tools/mkudfu
|
|
|
|
export CROSS_COMPILE AD LD CC OBJCOPY OBJDUMP MKUDFU
|