diff options
-rw-r--r-- | classes/rm_work.bbclass | 9 | ||||
-rw-r--r-- | packages/gpsd/gpsd.inc | 5 |
2 files changed, 10 insertions, 4 deletions
diff --git a/classes/rm_work.bbclass b/classes/rm_work.bbclass index 0f613b7a95..e0a4ccf133 100644 --- a/classes/rm_work.bbclass +++ b/classes/rm_work.bbclass @@ -7,7 +7,7 @@ # RMWORK_ORIG_TASK := "${BB_DEFAULT_TASK}" -BB_DEFAULT_TASK = "rm_work" +BB_DEFAULT_TASK = "rm_work_all" do_rm_work () { cd ${WORKDIR} @@ -23,4 +23,9 @@ do_rm_work () { # Uncomment me when we can use bitbake 1.8.8 #addtask rm_work after do_${RMWORK_ORIG_TASK} addtask rm_work after do_build -do_rm_work[recrdeptask] = "do_rm_work" + +do_rm_work_all () { + : +} +do_rm_work_all[recrdeptask] = "do_rm_work" +addtask rm_work_all diff --git a/packages/gpsd/gpsd.inc b/packages/gpsd/gpsd.inc index b43c50b58c..d493b2bca7 100644 --- a/packages/gpsd/gpsd.inc +++ b/packages/gpsd/gpsd.inc @@ -7,7 +7,7 @@ DEPENDS = "dbus-glib ncurses python" EXTRA_OECONF = "--x-includes=${STAGING_INCDIR}/X11 \ --x-libraries=${STAGING_LIBDIR} \ --enable-dbus \ - --disable-python" + --enable-python" SRC_URI = "http://download.berlios.de/gpsd/gpsd-${PV}.tar.gz \ file://gpsd-default \ @@ -23,6 +23,7 @@ export LDFLAGS = "-L${STAGING_LIBDIR} -lm" do_compile_prepend() { export BUILD_SYS="${BUILD_SYS}" export HOST_SYS="${HOST_SYS}" + find ${S} -name "*.so" -exec rm -f {} \; } do_install_prepend() { @@ -48,7 +49,7 @@ do_install_append() { PACKAGES =+ "libgps python-pygps" FILES_${PN} += "${sysconfdir}" -FILES_libgps = "${libdir}/*.so*" +FILES_libgps = "${libdir}/*.so.*" CONFFILES_${PN} = "${sysconfdir}/default/gpsd" DESCRIPTION_python-pygps = "Python bindings to gpsd" |