diff options
Diffstat (limited to 'packages/gnuradio/gnuradio.inc')
-rw-r--r-- | packages/gnuradio/gnuradio.inc | 28 |
1 files changed, 20 insertions, 8 deletions
diff --git a/packages/gnuradio/gnuradio.inc b/packages/gnuradio/gnuradio.inc index 26005e653b..30a4ee8154 100644 --- a/packages/gnuradio/gnuradio.inc +++ b/packages/gnuradio/gnuradio.inc @@ -11,12 +11,12 @@ RDEPENDS_${PN} = "python-core python-audio python-threading python-codecs python RDEPENDS_gnuradio-usrp = "python-core" -inherit autotools pkgconfig +inherit distutils-base autotools pkgconfig -CXXFLAGS_powerpc += "-lstdc++" +export BUILD_SYS +export HOST_SYS=${MULTIMACH_TARGET_SYS} -export BUILD_SYS := "${BUILD_SYS}" -export HOST_SYS := "${HOST_SYS}" +CXXFLAGS_powerpc += "-lstdc++" EXTRA_OECONF = " \ --disable-gr-atsc \ @@ -29,28 +29,40 @@ EXTRA_OECONF = " \ PYTHON_CPPFLAGS=-I${STAGING_INCDIR}/python2.5 \ " +do_configure_prepend() { +if [ -e ${WORKDIR}/acinclude.m4 ] ; then + cp ${WORKDIR}/acinclude.m4 ${S} +fi +} + do_configure_append() { find ${S} -name Makefile | xargs sed -i s:'-I/usr/include':'-I${STAGING_INCDIR}':g } PACKAGES =+ "libpmt libpmt-qa \ libmblock libmblock-qa \ - libgr-audio-alsa \ + libgr-audio-alsa libgr-audio-oss libgr-audio-jack\ libusrp libusrp-inband libusrp-inband-qa \ libgromnithread \ libgnuradio-core libgnuradio-core-qa \ - gnuradio-usrp-dbg gnuradio-usrp" + gnuradio-usrp-dbg gnuradio-usrp gnuradio-examples" + + +FILES_gnuradio-examples = "${datadir}/gnuradio/examples" FILES_libpmt = "${libdir}/libpmt.so" FILES_libpmt-qa = "${libdir}/libpmt-qa.so" FILES_libmblock = "${libdir}/libmblock.so" FILES_libmblock-qa = "${libdir}/libmblock-qa.so" -FILES_libgr-audio-alsa = "${libdir}/libgr_audio_alsa.so" +FILES_libgr-audio-alsa = "${libdir}/libgr_audio_alsa.so ${sysconfdir}/gnuradio/conf.d/gr-audio-alsa.conf" +FILES_libgr-audio-oss = "${libdir}/libgr_audio_oss.so ${sysconfdir}/gnuradio/conf.d/gr-audio-oss.conf" +FILES_libgr-audio-jack = "${libdir}/libgr_audio_jack.so ${sysconfdir}/gnuradio/conf.d/gr-audio-jack.conf" + FILES_libusrp = "${libdir}/libusrp.so.*" FILES_libusrp-inband = "${libdir}/libusrp_inband.so.*" FILES_libusrp-inband-qa = "${libdir}/libusrp_inband-qa.so" -FILES_libgnuradio-core = "${libdir}/libgnuradio-core.so.*" +FILES_libgnuradio-core = "${libdir}/libgnuradio-core.so.* ${sysconfdir}/gnuradio/conf.d/*core*" FILES_libgnuradio-core-qa = "${libdir}/libgnuradio-core-qa.so.*" FILES_libgromnithread = "${libdir}/libgromnithread.so*" |