Makefiles: add a hint on how to list these predefined macros.
No functional change.
This commit is contained in:
parent
ce40b678f6
commit
829e4d475b
|
|
@ -119,6 +119,7 @@ CFLAGS += -Os
|
||||||
CFLAGS += -flto
|
CFLAGS += -flto
|
||||||
CFLAGS += -ffunction-sections
|
CFLAGS += -ffunction-sections
|
||||||
CFLAGS += -fdata-sections
|
CFLAGS += -fdata-sections
|
||||||
|
#CFLAGS += -dM -E # To list all predefined macros into the .o file.
|
||||||
# Until we're done with basic porting ...
|
# Until we're done with basic porting ...
|
||||||
CFLAGS += -D__ARMEL_NOTYET__
|
CFLAGS += -D__ARMEL_NOTYET__
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -133,6 +133,7 @@ CFLAGS += -ffunction-sections
|
||||||
CFLAGS += -finline-functions-called-once
|
CFLAGS += -finline-functions-called-once
|
||||||
CFLAGS += -mcall-prologues
|
CFLAGS += -mcall-prologues
|
||||||
CFLAGS += -Wa,-adhlns=$(@:.o=.al)
|
CFLAGS += -Wa,-adhlns=$(@:.o=.al)
|
||||||
|
#CFLAGS += -dM -E # To list all predefined macros into the .o file.
|
||||||
|
|
||||||
LDFLAGS = -Wl,--as-needed
|
LDFLAGS = -Wl,--as-needed
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -48,6 +48,7 @@ CFLAGS = $(EXTRA_CFLAGS)
|
||||||
CFLAGS += -g -Wall -Wstrict-prototypes -Wno-format -Os $(DEFS) -std=gnu99
|
CFLAGS += -g -Wall -Wstrict-prototypes -Wno-format -Os $(DEFS) -std=gnu99
|
||||||
CFLAGS += -funsigned-char -funsigned-bitfields -fshort-enums -I.. -I.
|
CFLAGS += -funsigned-char -funsigned-bitfields -fshort-enums -I.. -I.
|
||||||
CFLAGS += -DSIMULATOR -Wno-format -Wno-format-security
|
CFLAGS += -DSIMULATOR -Wno-format -Wno-format-security
|
||||||
|
#CFLAGS += -dM -E # To list all predefined macros into the .o file.
|
||||||
|
|
||||||
# Satisfy all current config chip targets
|
# Satisfy all current config chip targets
|
||||||
CFLAGS += -D__AVR_ATmega644__ -D__AVR_ATmega644A__ -D__AVR_ATmega644P__
|
CFLAGS += -D__AVR_ATmega644__ -D__AVR_ATmega644A__ -D__AVR_ATmega644P__
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue