Subversion Repositories freemyipod

Rev

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

Rev 946 Rev 971
Line 16... Line 16...
16
OBJDUMP := $(CROSS)objdump
16
OBJDUMP := $(CROSS)objdump
17
 
17
 
18
CFLAGS_GENERAL  := -c -ffunction-sections -fdata-sections -fmessage-length=0 -Wall $(CFLAGS_GENERAL)
18
CFLAGS_GENERAL  := -c -ffunction-sections -fdata-sections -fmessage-length=0 -Wall $(CFLAGS_GENERAL)
19
CFLAGS_ASM      := -x assembler-with-cpp $(CFLAGS_ASM)
19
CFLAGS_ASM      := -x assembler-with-cpp $(CFLAGS_ASM)
20
CFLAGS_debug    := -O0 -g3 -gdwarf-2 $(CFLAGS_DEBUG)
20
CFLAGS_debug    := -O0 -g3 -gdwarf-2 $(CFLAGS_DEBUG)
21
CFLAGS_release  := $(FLTO) -Os -fno-pie -fno-stack-protector -fomit-frame-pointer $(CFLAGS_RELEASE)
21
CFLAGS_release  := $(FLTO) -ffat-lto-objects -Os -fno-pie -fno-stack-protector -fomit-frame-pointer $(CFLAGS_RELEASE)
22
LDFLAGS_GENERAL := -nostdlib --gc-sections $(LDFLAGS_GENERAL)
22
LDFLAGS_GENERAL := -nostdlib --gc-sections $(LDFLAGS_GENERAL)
23
LDFLAGS_debug   := -O0 $(LDFLAGS_DEBUG)
23
LDFLAGS_debug   := -O0 $(LDFLAGS_DEBUG)
24
LDFLAGS_release := $(FLTO) -Os $(LDFLAGS_RELEASE)
24
LDFLAGS_release := $(FLTO) -Os $(LDFLAGS_RELEASE)
25
PPFLAGS_GENERAL := -DTARGET_$(subst /,_,$(TARGET)) -DTARGET=$(TARGET) -DCONFIG_H=target/$(TARGET)/config.h -DTARGET_H=target/$(TARGET)/target.h -Isrc
25
PPFLAGS_GENERAL := -DTARGET_$(subst /,_,$(TARGET)) -DTARGET=$(TARGET) -DCONFIG_H=target/$(TARGET)/config.h -DTARGET_H=target/$(TARGET)/target.h -Isrc
26
PPFLAGS_debug   := -DDEBUG
26
PPFLAGS_debug   := -DDEBUG