diff options
Diffstat (limited to 'recipes/gnuradio/gnuradio.inc')
-rw-r--r-- | recipes/gnuradio/gnuradio.inc | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/recipes/gnuradio/gnuradio.inc b/recipes/gnuradio/gnuradio.inc index b1c83b4ab1..85fd5a16b6 100644 --- a/recipes/gnuradio/gnuradio.inc +++ b/recipes/gnuradio/gnuradio.inc @@ -2,7 +2,8 @@ DESCRIPTION = "GNU Radio" SECTION = "apps" PRIORITY = "optional" LICENSE = "GPL" -DEPENDS = "guile-native fftwf python virtual/libsdl alsa-lib jack boost cppunit sdcc-native swig-native python-numpy" +DEPENDS = "libusb guile-native fftwf python virtual/libsdl alsa-lib jack boost cppunit sdcc-native swig-native python-numpy" +INC_PR = "r7" inherit distutils-base autotools autotools_stage pkgconfig @@ -12,6 +13,7 @@ export HOST_SYS=${MULTIMACH_TARGET_SYS} CXXFLAGS_powerpc += "-lstdc++" EXTRA_OECONF = " \ + --program-prefix= \ ${GR_CPU_SELECTION} \ --disable-gr-atsc \ --enable-gr-video-sdl \ @@ -43,6 +45,9 @@ do_buildlibusb() { cd ${WORKDIR} } +addtask buildlibusb before do_configure after do_unpack + +do_buildlibusb[deptask] = "do_populate_staging" do_configure_prepend() { if [ -e ${WORKDIR}/acinclude.m4 ] ; then @@ -54,6 +59,11 @@ do_configure_append() { find ${S} -name Makefile | xargs sed -i s:'-I/usr/include':'-I${STAGING_INCDIR}':g } +do_stage() { + autotools_stage_all + sed -i s,-l:libusb-gnur.a,,g ${STAGING_LIBDIR}/libusrp.la +} + RDEPENDS_${PN} = "python-core python-audio python-threading python-codecs python-lang python-textutils \ python-shell python-pickle python-compiler python-pkgutil python-pydoc python-mmap \ python-netclient python-unittest python-difflib python-pprint python-numpy \ |