comparison components/icn @ 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
15 fi 15 fi
16 16
17 CPPFLAGS="$CPPFLAGS -DMMI_EM_ENABLED" 17 CPPFLAGS="$CPPFLAGS -DMMI_EM_ENABLED"
18 CPPFLAGS="$CPPFLAGS -DNO_ASCIIZ" 18 CPPFLAGS="$CPPFLAGS -DNO_ASCIIZ"
19 19
20 if [ "$TARGET" != c139 -a "$TARGET" != c11x ] 20 case "$UI_CONFIG" in
21 then 21 bigcolor)
22 if [ "$DSAMPLE_FULL_COLOR" = 1 ]
23 then
24 CPPFLAGS="$CPPFLAGS -DCOLOURDISPLAY" 22 CPPFLAGS="$CPPFLAGS -DCOLOURDISPLAY"
25 fi 23 CPPFLAGS="$CPPFLAGS -DLSCREEN"
26 CPPFLAGS="$CPPFLAGS -DLSCREEN" 24 ;;
27 fi 25 bigbw)
26 CPPFLAGS="$CPPFLAGS -DLSCREEN"
27 ;;
28 84x48)
29 ;;
30 *)
31 echo "Error: UI_CONFIG=$UI_CONFIG setting not understood" 1>&2
32 exit 1
33 esac
28 34
29 CPPFLAGS="$CPPFLAGS -DINT_PHONEBOOK" 35 CPPFLAGS="$CPPFLAGS -DINT_PHONEBOOK"
30 CPPFLAGS="$CPPFLAGS -DNEW_EDITOR" 36 CPPFLAGS="$CPPFLAGS -DNEW_EDITOR"
31 CPPFLAGS="$CPPFLAGS -DTRGT_G23" 37 CPPFLAGS="$CPPFLAGS -DTRGT_G23"
32 CPPFLAGS="$CPPFLAGS -DAUS_CONDAT_TYPE_PORTING" 38 CPPFLAGS="$CPPFLAGS -DAUS_CONDAT_TYPE_PORTING"