Subversion Repositories freemyipod

Rev

Rev 457 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 457 Rev 462
Line 1... Line 1...
1
NAME := uclstub
1
NAME := uclstub
2
 
2
 
-
 
3
ifeq ($(shell uname),WindowsNT)
-
 
4
CCACHE :=
-
 
5
else
-
 
6
CCACHE := $(shell which ccache)
-
 
7
endif
-
 
8
 
3
CROSS   ?= arm-elf-eabi-
9
CROSS   ?= arm-elf-eabi-
4
CC      := $(CROSS)gcc
10
CC      := $(CCACHE) $(CROSS)gcc
5
AS      := $(CROSS)as
11
AS      := $(CROSS)as
6
LD      := $(CROSS)ld
12
LD      := $(CROSS)ld
7
OBJCOPY := $(CROSS)objcopy
13
OBJCOPY := $(CROSS)objcopy
8
 
14
 
9
CFLAGS  += -Os -fno-pie -fno-stack-protector -fomit-frame-pointer -I. -ffunction-sections -fdata-sections -mcpu=arm940t
15
CFLAGS  += -Os -fno-pie -fno-stack-protector -fomit-frame-pointer -I. -ffunction-sections -fdata-sections -mcpu=arm940t