comparison components/uart_drv @ 307:6d1eac845d3e

make it possible to enable SERIAL_DYNAMIC_SWITCH on the configure.sh line
author Mychaela Falconia <falcon@freecalypso.org>
date Thu, 02 Nov 2017 05:49:53 +0000
parents 967319e95535
children
comparison
equal deleted inserted replaced
306:67d1fd7c824c 307:6d1eac845d3e
1 # Building uart_drv.lib 1 # Building uart_drv.lib
2 2
3 CFLAGS="-mn -mt -o -x -mw -me -pw2" 3 CFLAGS="-mn -mt -o -x -mw -me -pw2"
4 CPPFLAGS="-DTOOL_CHOICE=0 -D_TMS470" 4 CPPFLAGS="-DTOOL_CHOICE=0 -D_TMS470"
5
6 if [ "$SERIAL_DYNAMIC_SWITCH" = 1 ]
7 then
8 CPPFLAGS="$CPPFLAGS -DSERIAL_DYNAMIC_SWITCH"
9 fi
5 10
6 # Includes 11 # Includes
7 12
8 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_app" 13 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_app"
9 CPPFLAGS="$CPPFLAGS -I$SRC/cs/os/nucleus" 14 CPPFLAGS="$CPPFLAGS -I$SRC/cs/os/nucleus"