Makefiles: add a hint on how to list these predefined macros.

No functional change.
This commit is contained in:
Markus Hitter 2015-07-18 12:38:31 +02:00
parent ce40b678f6
commit 829e4d475b
3 changed files with 3 additions and 0 deletions

View File

@ -119,6 +119,7 @@ CFLAGS += -Os
CFLAGS += -flto
CFLAGS += -ffunction-sections
CFLAGS += -fdata-sections
#CFLAGS += -dM -E # To list all predefined macros into the .o file.
# Until we're done with basic porting ...
CFLAGS += -D__ARMEL_NOTYET__

View File

@ -133,6 +133,7 @@ CFLAGS += -ffunction-sections
CFLAGS += -finline-functions-called-once
CFLAGS += -mcall-prologues
CFLAGS += -Wa,-adhlns=$(@:.o=.al)
#CFLAGS += -dM -E # To list all predefined macros into the .o file.
LDFLAGS = -Wl,--as-needed

View File

@ -48,6 +48,7 @@ CFLAGS = $(EXTRA_CFLAGS)
CFLAGS += -g -Wall -Wstrict-prototypes -Wno-format -Os $(DEFS) -std=gnu99
CFLAGS += -funsigned-char -funsigned-bitfields -fshort-enums -I.. -I.
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
CFLAGS += -D__AVR_ATmega644__ -D__AVR_ATmega644A__ -D__AVR_ATmega644P__