gnuradio : Pass machine specific optimization selection information to
authorPhilip Balister <philip@balister.org>
Thu, 29 Jan 2009 15:36:32 +0000 (10:36 -0500)
committerPhilip Balister <philip@balister.org>
Thu, 29 Jan 2009 15:39:54 +0000 (10:39 -0500)
           gnuradio configure script.
           NOTE: the current arm option needs changing to neon in the
           gnuradio neon patch.

packages/gnuradio/gnuradio.inc

index 8c97235..d406b50 100644 (file)
@@ -12,6 +12,7 @@ export HOST_SYS=${MULTIMACH_TARGET_SYS}
 CXXFLAGS_powerpc += "-lstdc++"
 
 EXTRA_OECONF = " \
+  ${GR_CPU_SELECTION} \
   --disable-gr-atsc \
   --enable-gr-video-sdl \
   --enable-gr-audio-alsa  \
@@ -23,6 +24,8 @@ EXTRA_OECONF = " \
   PYTHON_CPPFLAGS=-I${STAGING_INCDIR}/${PYTHON_DIR} \
 "
 
+GR_CPU_SELECTION_armv7a = " --with-md-cpu=arm "
+
 do_configure_prepend() {
        if [ -e ${WORKDIR}/acinclude.m4 ] ; then
                cp ${WORKDIR}/acinclude.m4 ${S}