comparison components/gdi @ 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
comparison
equal deleted inserted replaced
451:fd1d9063ad40 452:4d7c2ccb5814
40 fi 40 fi
41 41
42 CPPFLAGS="$CPPFLAGS -DMMI_EM_ENABLED" 42 CPPFLAGS="$CPPFLAGS -DMMI_EM_ENABLED"
43 CPPFLAGS="$CPPFLAGS -DNO_ASCIIZ" 43 CPPFLAGS="$CPPFLAGS -DNO_ASCIIZ"
44 44
45 if [ "$TARGET" != c139 -a "$TARGET" != c11x ] 45 case "$UI_CONFIG" in
46 then 46 bigcolor)
47 if [ "$DSAMPLE_FULL_COLOR" = 1 ]
48 then
49 CPPFLAGS="$CPPFLAGS -DCOLOURDISPLAY" 47 CPPFLAGS="$CPPFLAGS -DCOLOURDISPLAY"
50 fi 48 CPPFLAGS="$CPPFLAGS -DLSCREEN"
51 CPPFLAGS="$CPPFLAGS -DLSCREEN" 49 ;;
52 fi 50 bigbw)
51 CPPFLAGS="$CPPFLAGS -DLSCREEN"
52 ;;
53 84x48)
54 ;;
55 *)
56 echo "Error: UI_CONFIG=$UI_CONFIG setting not understood" 1>&2
57 exit 1
58 esac
53 59
54 CPPFLAGS="$CPPFLAGS -DINT_PHONEBOOK" 60 CPPFLAGS="$CPPFLAGS -DINT_PHONEBOOK"
55 CPPFLAGS="$CPPFLAGS -DNEW_EDITOR" 61 CPPFLAGS="$CPPFLAGS -DNEW_EDITOR"
56 CPPFLAGS="$CPPFLAGS -DTRGT_G23" 62 CPPFLAGS="$CPPFLAGS -DTRGT_G23"
57 CPPFLAGS="$CPPFLAGS -DAUS_CONDAT_TYPE_PORTING" 63 CPPFLAGS="$CPPFLAGS -DAUS_CONDAT_TYPE_PORTING"