| Line 13... |
Line 13... |
| 13 |
CC := $(CCACHE) $(CROSS)gcc
|
13 |
CC := $(CCACHE) $(CROSS)gcc
|
| 14 |
LD := $(CROSS)ld
|
14 |
LD := $(CROSS)ld
|
| 15 |
OBJCOPY := $(CROSS)objcopy
|
15 |
OBJCOPY := $(CROSS)objcopy
|
| 16 |
OBJDUMP := $(CROSS)objdump
|
16 |
OBJDUMP := $(CROSS)objdump
|
| 17 |
|
17 |
|
| 18 |
CFLAGS_GENERAL := -c -ffunction-sections -fdata-sections -fmessage-length=0 -Wall -I/usr/include $(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) -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)
|