fxsdk: define TARGET_FX9860G and TARGET_FXCG50 in Makefiles

The older FX9860G and FXCG50 are still supported for backwards
compatibility, but are deprecated.
This commit is contained in:
Lephenixnoir 2021-01-27 11:25:46 +01:00
parent 4a6bc4724d
commit 70ff9ba6b8
Signed by: Lephenixnoir
GPG Key ID: 1BBA026E13FC0495
1 changed files with 2 additions and 2 deletions

View File

@ -47,8 +47,8 @@ CFLAGS := -mb -ffreestanding -nostdlib -fstrict-volatile-bitfields
# <> If you are using an sh-elf with several targets, specify whichever you
# support. I recommend -m3 on FX and -m4-nofpu on CG.
# Please see also TOOLCHAIN_FX and TOOLCHAIN_CG above.
CFLAGS_FX := -D FX9860G -m3
CFLAGS_CG := -D FXCG50 -m4-nofpu
CFLAGS_FX := -D FX9860G -D TARGET_FX9860G -m3
CFLAGS_CG := -D FXCG50 -D TARGET_FXCG50 -m4-nofpu
# Additional compiler flags, change to your own taste!
CFLAGS += -Wall -Wextra -Wno-missing-field-initializers -Os