r2954 - trunk/src/target/OM-2007.2/daemons/neod
mickey at sita.openmoko.org
mickey at sita.openmoko.org
Tue Sep 11 17:26:57 CEST 2007
Author: mickey
Date: 2007-09-11 17:26:55 +0200 (Tue, 11 Sep 2007)
New Revision: 2954
Modified:
trunk/src/target/OM-2007.2/daemons/neod/configure.ac
Log:
neod: tell configure.ac about --with-platform=
Modified: trunk/src/target/OM-2007.2/daemons/neod/configure.ac
===================================================================
--- trunk/src/target/OM-2007.2/daemons/neod/configure.ac 2007-09-11 14:53:30 UTC (rev 2953)
+++ trunk/src/target/OM-2007.2/daemons/neod/configure.ac 2007-09-11 15:26:55 UTC (rev 2954)
@@ -20,6 +20,18 @@
PKG_CHECK_MODULES(NEOD, gtk+-2.0 gconf-2.0 libpulse)
+AC_ARG_WITH([platform],
+ AC_HELP_STRING([--with-platform], [Which platform to use [[default=vanilla]]]),
+ [neod_platform=$with_platform])
+
+if test x"$neod_platform" = x"neo1973"; then
+ NEOD_CFLAGS="$NEOD_CFLAGS -DNEOD_PLATFORM_FIC_NEO1973"
+fi
+
+if test x"$neod_platform" = x"ezx"; then
+ NEOD_CFLAGS="$NEOD_CFLAGS -DNEOD_PLATFORM_MOTOROLA_EZX"
+fi
+
CFLAGS=$NEOD_CFLAGS
AC_OUTPUT([
More information about the commitlog
mailing list