mirror of
git://projects.qi-hardware.com/gmenu2x.git
synced 2024-11-23 06:30:37 +02:00
Keep CPU frequency scaling for the GCW0 build disabled until it works
This commit is contained in:
parent
610b489d51
commit
874ddd3cad
11
configure.in
11
configure.in
@ -34,10 +34,6 @@ AC_ARG_ENABLE(platform,
|
|||||||
[ --enable-platform=X specify the targeted platform],
|
[ --enable-platform=X specify the targeted platform],
|
||||||
[GMENU2X_PLATFORM="$enableval"], [GMENU2X_PLATFORM="default"])
|
[GMENU2X_PLATFORM="$enableval"], [GMENU2X_PLATFORM="default"])
|
||||||
|
|
||||||
AC_ARG_ENABLE(cpufreq,
|
|
||||||
[ --disable-cpufreq disable support for CPU frequency scaling],,
|
|
||||||
[CPUFREQ=yes])
|
|
||||||
|
|
||||||
case "$GMENU2X_PLATFORM" in
|
case "$GMENU2X_PLATFORM" in
|
||||||
a320)
|
a320)
|
||||||
AC_DEFINE(PLATFORM_A320)
|
AC_DEFINE(PLATFORM_A320)
|
||||||
@ -48,6 +44,7 @@ case "$GMENU2X_PLATFORM" in
|
|||||||
AC_DEFINE(PLATFORM_GCW0)
|
AC_DEFINE(PLATFORM_GCW0)
|
||||||
PLATFORM="gcw0"
|
PLATFORM="gcw0"
|
||||||
SCREEN_RES="320x240"
|
SCREEN_RES="320x240"
|
||||||
|
CPUFREQ=no
|
||||||
;;
|
;;
|
||||||
nanonote)
|
nanonote)
|
||||||
AC_DEFINE(PLATFORM_NANONOTE)
|
AC_DEFINE(PLATFORM_NANONOTE)
|
||||||
@ -75,11 +72,15 @@ case "$GMENU2X_PLATFORM" in
|
|||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
AC_ARG_ENABLE(cpufreq,
|
||||||
|
[ --disable-cpufreq disable support for CPU frequency scaling],
|
||||||
|
[CPUFREQ=no],,)
|
||||||
|
|
||||||
AC_SUBST(PLATFORM)
|
AC_SUBST(PLATFORM)
|
||||||
AC_SUBST(SCREEN_RES)
|
AC_SUBST(SCREEN_RES)
|
||||||
AC_DEFINE_UNQUOTED(PLATFORM, "${PLATFORM}")
|
AC_DEFINE_UNQUOTED(PLATFORM, "${PLATFORM}")
|
||||||
|
|
||||||
if test "x$CPUFREQ" = xyes ; then
|
if test "x$CPUFREQ" != xno ; then
|
||||||
AC_DEFINE(ENABLE_CPUFREQ)
|
AC_DEFINE(ENABLE_CPUFREQ)
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user