FreeCalypso > hg > fc-selenite
comparison components/sim_drv @ 50:a9a7d531e673
components: initial support for gcc
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Thu, 19 Jul 2018 19:23:19 +0000 |
parents | b6c8dd9a1b02 |
children | 1155be085fc1 |
comparison
equal
deleted
inserted
replaced
49:19f5e7133949 | 50:a9a7d531e673 |
---|---|
3 SRCDIR=$SRC/cs/drivers/drv_app/sim | 3 SRCDIR=$SRC/cs/drivers/drv_app/sim |
4 | 4 |
5 # CFLAGS and CPPFLAGS for sim.c | 5 # CFLAGS and CPPFLAGS for sim.c |
6 | 6 |
7 CFLAGS="-mn -mt -o -x -mw -me -pw2" | 7 CFLAGS="-mn -mt -o -x -mw -me -pw2" |
8 CFLAGS_gcc="-O2 -fno-builtin -mthumb-interwork -mthumb" | |
8 CPPFLAGS="-DTOOL_CHOICE=0 -D_TMS470" | 9 CPPFLAGS="-DTOOL_CHOICE=0 -D_TMS470" |
9 | 10 |
10 # Includes | 11 # Includes |
11 | 12 |
12 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_app" | 13 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_app" |
47 c_file $SRCDIR/sim.c | 48 c_file $SRCDIR/sim.c |
48 | 49 |
49 # CFLAGS and CPPFLAGS for sim32.c | 50 # CFLAGS and CPPFLAGS for sim32.c |
50 | 51 |
51 CFLAGS="-o -x -mw -me -pw2" | 52 CFLAGS="-o -x -mw -me -pw2" |
53 CFLAGS_gcc="-O2 -fno-builtin -mthumb-interwork" | |
52 CPPFLAGS="-DTOOL_CHOICE=0 -D_TMS470" | 54 CPPFLAGS="-DTOOL_CHOICE=0 -D_TMS470" |
53 | 55 |
54 # Includes | 56 # Includes |
55 | 57 |
56 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_app" | 58 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_app" |