Commit 2b4c3615 authored by Måns Rullgård's avatar Måns Rullgård
Browse files

add powerpc_perf to CONFIG_LIST, rename --powerpc-perf-enable option

to --enable-powerpc-perf

Originally committed as revision 7969 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 35f97369
...@@ -116,7 +116,7 @@ show_help(){ ...@@ -116,7 +116,7 @@ show_help(){
echo " --arch=ARCH select architecture [$arch]" echo " --arch=ARCH select architecture [$arch]"
echo " --cpu=CPU selects the minimum cpu required (affects" echo " --cpu=CPU selects the minimum cpu required (affects"
echo " instruction selection, may crash on older CPUs)" echo " instruction selection, may crash on older CPUs)"
echo " --powerpc-perf-enable enable performance report on PPC" echo " --enable-powerpc-perf enable performance report on PPC"
echo " (requires enabling PMC)" echo " (requires enabling PMC)"
echo " --disable-mmx disable MMX usage" echo " --disable-mmx disable MMX usage"
echo " --disable-armv5te disable armv5te usage" echo " --disable-armv5te disable armv5te usage"
...@@ -502,6 +502,7 @@ CONFIG_LIST=' ...@@ -502,6 +502,7 @@ CONFIG_LIST='
memalign_hack memalign_hack
mpegaudio_hp mpegaudio_hp
network network
powerpc_perf
pp pp
protocols protocols
swscaler swscaler
...@@ -1029,8 +1030,6 @@ for opt do ...@@ -1029,8 +1030,6 @@ for opt do
;; ;;
--cpu=*) cpu="$optval" --cpu=*) cpu="$optval"
;; ;;
--powerpc-perf-enable) powerpc_perf="yes"
;;
--disable-v4l) video4linux="no" --disable-v4l) video4linux="no"
;; ;;
--disable-v4l2) video4linux2="no" --disable-v4l2) video4linux2="no"
...@@ -1890,9 +1889,6 @@ case "$arch" in ...@@ -1890,9 +1889,6 @@ case "$arch" in
if test "$POWERPCMODE" = "64bits"; then if test "$POWERPCMODE" = "64bits"; then
echo "#define POWERPC_MODE_64BITS 1" >> $TMPH echo "#define POWERPC_MODE_64BITS 1" >> $TMPH
fi fi
if enabled powerpc_perf; then
echo "#define CONFIG_POWERPC_PERF 1" >> $TMPH
fi
;; ;;
sparc64) sparc64)
echo "TARGET_ARCH_SPARC=yes" >> config.mak echo "TARGET_ARCH_SPARC=yes" >> config.mak
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment