comparison components/bmi-tcs3 @ 452:4d7c2ccb5814

config mechanism: high-level UI config made separate from target display drivers
author Mychaela Falconia <falcon@freecalypso.org>
date Wed, 14 Mar 2018 07:22:05 +0000
parents fd1d9063ad40
children ad7f986afae3
comparison
equal deleted inserted replaced
451:fd1d9063ad40 452:4d7c2ccb5814
18 fi 18 fi
19 19
20 CPPFLAGS="$CPPFLAGS -DMMI_EM_ENABLED" 20 CPPFLAGS="$CPPFLAGS -DMMI_EM_ENABLED"
21 CPPFLAGS="$CPPFLAGS -DNO_ASCIIZ" 21 CPPFLAGS="$CPPFLAGS -DNO_ASCIIZ"
22 22
23 if [ "$TARGET" != c139 -a "$TARGET" != c11x ] 23 case "$UI_CONFIG" in
24 then 24 bigcolor)
25 if [ "$DSAMPLE_FULL_COLOR" = 1 ]
26 then
27 CPPFLAGS="$CPPFLAGS -DCOLOURDISPLAY" 25 CPPFLAGS="$CPPFLAGS -DCOLOURDISPLAY"
28 fi 26 CPPFLAGS="$CPPFLAGS -DLSCREEN"
29 CPPFLAGS="$CPPFLAGS -DLSCREEN" 27 ;;
30 fi 28 bigbw)
29 CPPFLAGS="$CPPFLAGS -DLSCREEN"
30 ;;
31 84x48)
32 ;;
33 *)
34 echo "Error: UI_CONFIG=$UI_CONFIG setting not understood" 1>&2
35 exit 1
36 esac
31 37
32 CPPFLAGS="$CPPFLAGS -DINT_PHONEBOOK" 38 CPPFLAGS="$CPPFLAGS -DINT_PHONEBOOK"
33 CPPFLAGS="$CPPFLAGS -DNEW_EDITOR" 39 CPPFLAGS="$CPPFLAGS -DNEW_EDITOR"
34 CPPFLAGS="$CPPFLAGS -DTRGT_G23" 40 CPPFLAGS="$CPPFLAGS -DTRGT_G23"
35 CPPFLAGS="$CPPFLAGS -DAUS_CONDAT_TYPE_PORTING" 41 CPPFLAGS="$CPPFLAGS -DAUS_CONDAT_TYPE_PORTING"