Subversion Repositories freemyipod

Rev

Rev 33 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 33 Rev 37
Line 1... Line 1...
1
NAME := embios
1
NAME := embios
2
 
2
 
3
CROSS   ?= arm-none-eabi-
3
CROSS   ?= arm-none-eabi
4
CC      := $(CROSS)gcc
4
CC      := $(CROSS)-gcc
5
AS      := $(CROSS)as
5
AS      := $(CROSS)-as
6
LD      := $(CROSS)ld
6
LD      := $(CROSS)-ld
7
OBJCOPY := $(CROSS)objcopy
7
OBJCOPY := $(CROSS)-objcopy
8
UCLPACK := ucl2e10singleblk
8
UCLPACK := ucl2e10singleblk
9
 
9
 
10
CFLAGS  += -Os -fno-pie -fno-stack-protector -fomit-frame-pointer -I. -ffunction-sections -fdata-sections
10
CFLAGS  += -Os -fno-pie -fno-stack-protector -fomit-frame-pointer -I. -ffunction-sections -fdata-sections
11
LDFLAGS += "$(shell $(CC) -print-libgcc-file-name)" --gc-sections
11
LDFLAGS += "$(shell $(CC) -print-libgcc-file-name)" --gc-sections
12
 
12