comparison components/mfw-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
50 fi 50 fi
51 51
52 CPPFLAGS="$CPPFLAGS -DMMI_EM_ENABLED" 52 CPPFLAGS="$CPPFLAGS -DMMI_EM_ENABLED"
53 CPPFLAGS="$CPPFLAGS -DNO_ASCIIZ" 53 CPPFLAGS="$CPPFLAGS -DNO_ASCIIZ"
54 54
55 if [ "$TARGET" != c139 -a "$TARGET" != c11x ] 55 case "$UI_CONFIG" in
56 then 56 bigcolor)
57 if [ "$DSAMPLE_FULL_COLOR" = 1 ]
58 then
59 CPPFLAGS="$CPPFLAGS -DCOLOURDISPLAY" 57 CPPFLAGS="$CPPFLAGS -DCOLOURDISPLAY"
60 fi 58 CPPFLAGS="$CPPFLAGS -DLSCREEN"
61 CPPFLAGS="$CPPFLAGS -DLSCREEN" 59 ;;
62 fi 60 bigbw)
61 CPPFLAGS="$CPPFLAGS -DLSCREEN"
62 ;;
63 84x48)
64 ;;
65 *)
66 echo "Error: UI_CONFIG=$UI_CONFIG setting not understood" 1>&2
67 exit 1
68 esac
63 69
64 CPPFLAGS="$CPPFLAGS -DINT_PHONEBOOK" 70 CPPFLAGS="$CPPFLAGS -DINT_PHONEBOOK"
65 CPPFLAGS="$CPPFLAGS -DNEW_EDITOR" 71 CPPFLAGS="$CPPFLAGS -DNEW_EDITOR"
66 CPPFLAGS="$CPPFLAGS -DTRGT_G23" 72 CPPFLAGS="$CPPFLAGS -DTRGT_G23"
67 CPPFLAGS="$CPPFLAGS -DAUS_CONDAT_TYPE_PORTING" 73 CPPFLAGS="$CPPFLAGS -DAUS_CONDAT_TYPE_PORTING"