diff components/riviera_cust_flash @ 6:6a05d91d1435

components: first round of changes for the FFS editor
author Mychaela Falconia <falcon@freecalypso.org>
date Fri, 15 May 2020 02:39:15 +0000
parents 3b367f330821
children
line wrap: on
line diff
--- a/components/riviera_cust_flash	Fri May 15 02:20:23 2020 +0000
+++ b/components/riviera_cust_flash	Fri May 15 02:39:15 2020 +0000
@@ -4,17 +4,10 @@
 CFLAGS_gcc="-g -O2 -fno-builtin -mthumb-interwork -mthumb"
 CPPFLAGS="-DTOOL_CHOICE=0 -D_TMS470"
 
-if [ "$MMI" = 0 ]
+CPPFLAGS="$CPPFLAGS -DPSEUDO_MODEM_KEEPALIVE"
+if [ "$TARGET" = pirelli -a "$RVTMUX_ON_MODEM" = 0 ]
 then
-	case "$TARGET" in
-		c11x|c139|c155|j100)
-			CPPFLAGS="$CPPFLAGS -DPSEUDO_MODEM_KEEPALIVE"
-			;;
-		pirelli)
-			CPPFLAGS="$CPPFLAGS -DPSEUDO_MODEM_KEEPALIVE"
-			CPPFLAGS="$CPPFLAGS -DPSEUDO_MODEM_USB"
-			;;
-	esac
+	CPPFLAGS="$CPPFLAGS -DPSEUDO_MODEM_USB"
 fi
 
 # Includes
@@ -22,8 +15,8 @@
 CPPFLAGS="$CPPFLAGS -I$SRC/nucleus"
 CPPFLAGS="$CPPFLAGS -I.."
 CPPFLAGS="$CPPFLAGS -I../config"
-CPPFLAGS="$CPPFLAGS -I$SRC/gpf/inc"
-CPPFLAGS="$CPPFLAGS -I$SRC/gpf/frame/cust_os"
+#CPPFLAGS="$CPPFLAGS -I$SRC/gpf/inc"
+#CPPFLAGS="$CPPFLAGS -I$SRC/gpf/frame/cust_os"
 CPPFLAGS="$CPPFLAGS -I$SRC/cs/system"
 CPPFLAGS="$CPPFLAGS -I$SRC/cs/riviera"
 CPPFLAGS="$CPPFLAGS -I$SRC/cs/riviera/rv"