summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2010-07-22 11:27:13 +0100
committerRichard Purdie <rpurdie@linux.intel.com>2010-07-22 11:44:28 +0100
commitdc807f54f858419f97e211cd62fd2d30db9a80de (patch)
tree59adc7578ccccd566b5db07ed2a8e764c30510d8
parent5c63f8a2494cd74792e1a67b114a90a0a2fdbbcc (diff)
downloadpoky-dc807f54f858419f97e211cd62fd2d30db9a80de.tar.gz
Finally deprecate all legacy do_stage functions. This changes the existing warning
into a fatal error if any legacy do_stage functions are found. Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
-rw-r--r--meta-gnome/packages/gnome/libbonobo.inc28
-rw-r--r--meta-gnome/packages/gnome/libbonoboui_2.18.0.bb44
-rw-r--r--meta-gnome/packages/gnome/libgnome_2.24.0.bb3
-rw-r--r--meta-gnome/packages/gnome/libgnomeui_2.24.0.bb4
-rw-r--r--meta-gnome/packages/gnome/orbit2_2.14.16.bb16
-rw-r--r--meta-gnome/packages/gthumb/gthumb_2.10.11.bb4
-rw-r--r--meta-moblin/packages/boost/boost-jam-native.inc1
-rw-r--r--meta-moblin/packages/consolekit/consolekit_0.3.0.bb4
-rw-r--r--meta-moblin/packages/gnome/gnome-menus_2.24.1.bb4
-rw-r--r--meta-moblin/packages/gnome/gvfs_1.0.2.bb4
-rw-r--r--meta-moblin/packages/libnotify/libnotify_0.4.4.bb4
-rw-r--r--meta-moblin/packages/pulseaudio/libcanberra_0.10.bb7
-rw-r--r--meta-moblin/packages/pulseaudio/pulseaudio.inc4
-rw-r--r--meta-moblin/packages/uicmoc/uicmoc3-native_3.3.5.bb1
-rw-r--r--meta-moblin/packages/xorg-app/xterm_207.bb4
-rw-r--r--meta-openmoko/packages/libspiff/libspiff_0.8.3.bb4
-rw-r--r--meta-openmoko/packages/liburiparser/liburiparser_0.5.1.bb3
-rw-r--r--meta-openmoko/packages/openmoko2/libjana_svn.bb4
-rw-r--r--meta-openmoko/packages/openmoko2/libmokogsmd2_svn.bb4
-rw-r--r--meta-openmoko/packages/openmoko2/libmokojournal2_svn.bb3
-rw-r--r--meta-openmoko/packages/openmoko2/libmokopanelui2_svn.bb4
-rw-r--r--meta-openmoko/packages/openmoko2/libmokoui2_svn.bb5
-rw-r--r--meta-openmoko/packages/openmoko2/openmoko-libs.inc4
-rw-r--r--meta-openmoko/packages/usbpath/usbpath-native_svn.bb5
-rw-r--r--meta-openmoko/packages/usbpath/usbpath_svn.bb4
-rw-r--r--meta-openmoko/packages/vala/vala_0.1.5.bb4
-rw-r--r--meta/classes/autotools.bbclass7
-rw-r--r--meta/classes/cpan.bbclass3
-rw-r--r--meta/classes/cpan_build.bbclass1
-rw-r--r--meta/classes/cross.bbclass4
-rw-r--r--meta/classes/native.bbclass24
-rw-r--r--meta/classes/staging.bbclass62
-rw-r--r--meta/classes/xlibs.bbclass8
-rw-r--r--meta/packages/automake/automake_1.11.1.bb1
-rw-r--r--meta/packages/binutils/binutils-cross-canadian.inc4
-rw-r--r--meta/packages/binutils/binutils-cross.inc4
-rw-r--r--meta/packages/cdrtools/cdrtools-native_2.01.bb1
-rw-r--r--meta/packages/dosfstools/dosfstools_2.10.bb1
-rw-r--r--meta/packages/dosfstools/dosfstools_2.11.bb1
-rw-r--r--meta/packages/fuse/fuse_2.7.2.bb5
-rw-r--r--meta/packages/gcc/gcc-cross-kernel.inc4
-rw-r--r--meta/packages/gcc/gcc-cross.inc4
-rw-r--r--meta/packages/glibc/ldconfig-native_2.5.bb1
-rw-r--r--meta/packages/gnu-config/gnu-config_20080123.bb1
-rw-r--r--meta/packages/gtk-doc/gtk-doc.bb1
-rw-r--r--meta/packages/insserv/insserv_1.11.0.bb1
-rw-r--r--meta/packages/kern-tools/kern-tools-native_git.bb3
-rw-r--r--meta/packages/libsoup/libsoup-2.4_2.31.2.bb3
-rw-r--r--meta/packages/libsoup/libsoup-2.4_2.4.1.bb3
-rw-r--r--meta/packages/makedevs/makedevs_1.0.0.bb1
-rw-r--r--meta/packages/mesa/qemugl_git.bb1
-rw-r--r--meta/packages/mtd/mtd-utils_1.3.1.bb1
-rw-r--r--meta/packages/mutter/mutter.inc4
-rw-r--r--meta/packages/nasm/nasm_2.07.bb1
-rw-r--r--meta/packages/openssl/openssl.inc1
-rw-r--r--meta/packages/opensync/libopensync_0.37.bb3
-rw-r--r--meta/packages/opensync/libsyncml_0.5.4.bb4
-rw-r--r--meta/packages/opkg-utils/opkg-utils_svn.bb1
-rwxr-xr-xmeta/packages/osc/osc-native_svn.bb1
-rw-r--r--meta/packages/pango/pango.inc4
-rw-r--r--meta/packages/pax-utils/pax-utils_0.2.1.bb1
-rw-r--r--meta/packages/perl/perl-native_5.8.8.bb1
-rw-r--r--meta/packages/pseudo/pseudo_git.bb2
-rw-r--r--meta/packages/python/python-iniparse-native_0.3.2.bb1
-rw-r--r--meta/packages/python/python-native_2.6.5.bb1
-rw-r--r--meta/packages/python/python-pycurl_7.19.0.bb2
-rw-r--r--meta/packages/python/python-pygobject-native_2.21.1.bb2
-rw-r--r--meta/packages/python/python-pyrex-native_0.9.9.bb2
-rw-r--r--meta/packages/python/python-scons-native_1.3.0.bb2
-rw-r--r--meta/packages/python/python-urlgrabber-native_3.9.1.bb3
-rw-r--r--meta/packages/python/yum-metadata-parser-native_1.1.4.bb2
-rw-r--r--meta/packages/shasum/shasum.inc1
-rw-r--r--meta/packages/stage-manager/stagemanager-native_0.0.1.bb2
-rw-r--r--meta/packages/syslinux/syslinux_3.86.bb1
-rw-r--r--meta/packages/tzcode/tzcode-native_2009r.bb1
-rw-r--r--meta/packages/uboot/u-boot-mkimage-native_1.3.2.bb1
-rw-r--r--meta/packages/uboot/u-boot-mkimage_2009.08.bb1
-rw-r--r--meta/packages/udev/udev_141.bb3
-rw-r--r--meta/packages/udev/udev_145.bb3
-rw-r--r--meta/packages/uicmoc/uicmoc4-native.inc1
-rw-r--r--meta/packages/unifdef/unifdef-native_2.6.18+git.bb2
-rw-r--r--meta/packages/unzip/unzip_6.0.bb1
-rw-r--r--meta/packages/update-alternatives/update-alternatives-dpkg.inc1
-rw-r--r--meta/packages/update-rc.d/update-rc.d_0.7.bb1
-rw-r--r--meta/packages/x-load/signgp-native.bb1
-rw-r--r--meta/packages/yaffs2/yaffs2-utils.inc1
-rw-r--r--meta/packages/zaurus-updater/encdec-updater.bb1
-rw-r--r--meta/packages/zip/zip.inc1
88 files changed, 23 insertions, 364 deletions
diff --git a/meta-gnome/packages/gnome/libbonobo.inc b/meta-gnome/packages/gnome/libbonobo.inc
index 9f3642b80b..db5c58a51e 100644
--- a/meta-gnome/packages/gnome/libbonobo.inc
+++ b/meta-gnome/packages/gnome/libbonobo.inc
@@ -27,38 +27,10 @@ do_configure_prepend() {
27 install ${WORKDIR}/gtk-doc.make ./ 27 install ${WORKDIR}/gtk-doc.make ./
28} 28}
29 29
30ACTIVATION_HEADERS = "Bonobo_Unknown.h Bonobo_GenericFactory.h Bonobo_Activation_types.h \
31 bonobo-activation.h bonobo-activation-async.h bonobo-activation-activate.h \
32 bonobo-activation-init.h bonobo-activation-shlib.h bonobo-activation-register.h \
33 bonobo-activation-server-info.h bonobo-activation-version.h"
34
35BONOBO_HEADERS = "Bonobo.h bonobo-arg.h bonobo-context.h bonobo-event-source.h bonobo-exception.h \
36 bonobo-generic-factory.h bonobo-item-container.h bonobo-item-handler.h \
37 bonobo-listener.h bonobo-main.h bonobo-macros.h bonobo-moniker-extender.h \
38 bonobo-moniker-simple.h bonobo-moniker-util.h bonobo-moniker.h bonobo-object.h \
39 bonobo-foreign-object.h bonobo-persist-file.h bonobo-persist-stream.h \
40 bonobo-persist.h bonobo-persist-client.h bonobo-property-bag.h \
41 bonobo-property-bag-client.h bonobo-shlib-factory.h bonobo-storage.h \
42 bonobo-stream.h bonobo-stream-client.h bonobo-stream-memory.h \
43 bonobo-storage-memory.h bonobo-xobject.h bonobo-i18n.h bonobo-types.h \
44 bonobo-app-client.h bonobo-application.h"
45
46do_compile() { 30do_compile() {
47 oe_runmake ORBIT_IDL="${ORBIT_IDL_SRC}" 31 oe_runmake ORBIT_IDL="${ORBIT_IDL_SRC}"
48} 32}
49 33
50do_stage() {
51 install -d ${STAGING_INCDIR}/bonobo-activation-2.0/bonobo-activation
52 for i in ${ACTIVATION_HEADERS}; do install -m 0644 bonobo-activation/$i ${STAGING_INCDIR}/bonobo-activation-2.0/bonobo-activation/; done
53 install -d ${STAGING_INCDIR}/libbonobo-2.0/bonobo
54 for i in ${BONOBO_HEADERS}; do install -m 0644 bonobo/$i ${STAGING_INCDIR}/libbonobo-2.0/bonobo/; done
55 install -m 0644 libbonobo.h ${STAGING_INCDIR}/libbonobo-2.0/
56 install -d ${STAGING_DATADIR}/idl/bonobo-activation-2.0/
57 install idl/*.idl ${STAGING_DATADIR}/idl/bonobo-activation-2.0/
58 oe_libinstall -so -C bonobo libbonobo-2 ${STAGING_LIBDIR}
59 oe_libinstall -so -C bonobo-activation libbonobo-activation ${STAGING_LIBDIR}
60}
61
62do_install() { 34do_install() {
63 oe_runmake ORBIT_IDL="${ORBIT_IDL_SRC}" DESTDIR="${D}" install 35 oe_runmake ORBIT_IDL="${ORBIT_IDL_SRC}" DESTDIR="${D}" install
64} 36}
diff --git a/meta-gnome/packages/gnome/libbonoboui_2.18.0.bb b/meta-gnome/packages/gnome/libbonoboui_2.18.0.bb
index 53380c6fa0..85840f705c 100644
--- a/meta-gnome/packages/gnome/libbonoboui_2.18.0.bb
+++ b/meta-gnome/packages/gnome/libbonoboui_2.18.0.bb
@@ -13,47 +13,3 @@ FILES_${PN}-dbg += "${libdir}/bonobo-2.0/samples/.debug \
13DEPENDS = "libgnomecanvas libbonobo libgnome glib-2.0 gtk-doc gconf libxml2 libglade" 13DEPENDS = "libgnomecanvas libbonobo libgnome glib-2.0 gtk-doc gconf libxml2 libglade"
14 14
15EXTRA_OECONF = "--disable-gtk-doc" 15EXTRA_OECONF = "--disable-gtk-doc"
16
17HEADERS = " \
18bonobo/bonobo-zoomable.h \
19bonobo/bonobo-ui-component.h \
20bonobo/bonobo-dock-layout.h \
21bonobo/bonobo-ui-type-builtins.h \
22bonobo/bonobo-canvas-component.h \
23bonobo/bonobo-widget.h \
24bonobo/bonobo-ui-engine.h \
25bonobo/bonobo-window.h \
26bonobo/bonobo-ui-toolbar.h \
27bonobo/bonobo-dock-band.h \
28bonobo/bonobo-ui-toolbar-item.h \
29bonobo/bonobo-control.h \
30bonobo/bonobo-dock-item.h \
31bonobo/bonobo-ui-config-widget.h \
32bonobo/bonobo-zoomable-frame.h \
33bonobo/bonobo-control-frame.h \
34bonobo/bonobo-dock.h \
35bonobo/bonobo-ui-main.h \
36bonobo/bonobo-canvas-item.h \
37bonobo/bonobo-ui-node.h \
38bonobo/bonobo-socket.h \
39bonobo/bonobo-selector.h \
40bonobo/bonobo-ui-sync.h \
41bonobo/bonobo-ui-util.h \
42bonobo/bonobo-plug.h \
43bonobo/bonobo-ui-toolbar-button-item.h \
44bonobo/bonobo-ui-toolbar-toggle-button-item.h \
45bonobo/bonobo-ui-container.h \
46bonobo/bonobo-file-selector-util.h \
47bonobo/bonobo-property-control.h \
48bonobo/bonobo-selector-widget.h \
49libbonoboui.h \
50bonobo.h \
51"
52
53do_stage() {
54 install -d ${STAGING_INCDIR}/libbonoboui-2.0/bonobo
55 for i in ${HEADERS}; do
56 install -m 0644 $i ${STAGING_INCDIR}/libbonoboui-2.0/$i
57 done
58 oe_libinstall -C bonobo -a -so libbonoboui-2 ${STAGING_LIBDIR}
59}
diff --git a/meta-gnome/packages/gnome/libgnome_2.24.0.bb b/meta-gnome/packages/gnome/libgnome_2.24.0.bb
index 549cda2855..21c5aaa8c1 100644
--- a/meta-gnome/packages/gnome/libgnome_2.24.0.bb
+++ b/meta-gnome/packages/gnome/libgnome_2.24.0.bb
@@ -14,6 +14,3 @@ FILES_${PN} += "${libdir}/bonobo/servers ${libdir}/bonobo/monikers/*.so \
14FILES_${PN}-dev += "${libdir}/bonobo/monikers/*a" 14FILES_${PN}-dev += "${libdir}/bonobo/monikers/*a"
15FILES_${PN}-dbg += "${libdir}/bonobo/monikers/.debug" 15FILES_${PN}-dbg += "${libdir}/bonobo/monikers/.debug"
16 16
17do_stage() {
18 autotools_stage_all
19}
diff --git a/meta-gnome/packages/gnome/libgnomeui_2.24.0.bb b/meta-gnome/packages/gnome/libgnomeui_2.24.0.bb
index d216942140..c379cee729 100644
--- a/meta-gnome/packages/gnome/libgnomeui_2.24.0.bb
+++ b/meta-gnome/packages/gnome/libgnomeui_2.24.0.bb
@@ -18,7 +18,3 @@ EXTRA_OECONF = "--disable-gtk-doc"
18do_configure_prepend() { 18do_configure_prepend() {
19 install -m 0644 ${WORKDIR}/gnome-stock-pixbufs.h ${S}/libgnomeui/pixmaps/gnome-stock-pixbufs.h 19 install -m 0644 ${WORKDIR}/gnome-stock-pixbufs.h ${S}/libgnomeui/pixmaps/gnome-stock-pixbufs.h
20} 20}
21
22do_stage() {
23 autotools_stage_all
24}
diff --git a/meta-gnome/packages/gnome/orbit2_2.14.16.bb b/meta-gnome/packages/gnome/orbit2_2.14.16.bb
index 5f6e6f6105..42ade84d1f 100644
--- a/meta-gnome/packages/gnome/orbit2_2.14.16.bb
+++ b/meta-gnome/packages/gnome/orbit2_2.14.16.bb
@@ -28,19 +28,3 @@ do_configure_prepend() {
28 install ${WORKDIR}/gtk-doc.make ./ 28 install ${WORKDIR}/gtk-doc.make ./
29} 29}
30 30
31do_stage() {
32 oe_libinstall -so -C src/orb libORBit-2 ${STAGING_LIBDIR}
33 oe_libinstall -so -C src/services/name libORBitCosNaming-2 ${STAGING_LIBDIR}
34 oe_libinstall -so -C src/services/imodule libORBit-imodule-2 ${STAGING_LIBDIR}
35 install -m 0644 src/services/name/libname-server-2.a ${STAGING_LIBDIR}/
36
37 for dir in orbit orbit/poa orbit/orb-core orbit/util orbit/dynamic; do
38 install -d ${STAGING_INCDIR}/orbit-2.0/$dir
39 ( cd include/$dir; for i in *.h; do install -m 0644 $i ${STAGING_INCDIR}/orbit-2.0/$dir/$i; done )
40 done
41
42 install -d ${STAGING_INCDIR}/orbit-2.0/ORBitservices
43 install -m 0644 src/services/name/CosNaming.h ${STAGING_INCDIR}/orbit-2.0/ORBitservices/
44 install -m 0644 src/services/name/CosNaming_impl.h ${STAGING_INCDIR}/orbit-2.0/ORBitservices/
45 install -m 0644 src/services/imodule/orbit-imodule.h ${STAGING_INCDIR}/orbit-2.0/ORBitservices/
46}
diff --git a/meta-gnome/packages/gthumb/gthumb_2.10.11.bb b/meta-gnome/packages/gthumb/gthumb_2.10.11.bb
index 1b957e0a8d..2e588d71a8 100644
--- a/meta-gnome/packages/gthumb/gthumb_2.10.11.bb
+++ b/meta-gnome/packages/gthumb/gthumb_2.10.11.bb
@@ -7,9 +7,5 @@ DEPENDS = "glib-2.0 gtk+ libbonobo libgnome libgnomeui gnome-vfs libxml2 libglad
7 7
8inherit gnome pkgconfig 8inherit gnome pkgconfig
9 9
10do_stage () {
11 autotools_stage_all
12}
13
14FILES_${PN} += "${datadir}/icons" 10FILES_${PN} += "${datadir}/icons"
15FILES_${PN}-dbg += "${libdir}/gthumb/modules/.debug" \ No newline at end of file 11FILES_${PN}-dbg += "${libdir}/gthumb/modules/.debug" \ No newline at end of file
diff --git a/meta-moblin/packages/boost/boost-jam-native.inc b/meta-moblin/packages/boost/boost-jam-native.inc
index 5293ea5e09..fe181ad00f 100644
--- a/meta-moblin/packages/boost/boost-jam-native.inc
+++ b/meta-moblin/packages/boost/boost-jam-native.inc
@@ -21,7 +21,6 @@ do_compile() {
21 ./build.sh gcc 21 ./build.sh gcc
22} 22}
23 23
24NATIVE_INSTALL_WORKS = "1"
25# This is too terrible - the build script doesn't give any good 24# This is too terrible - the build script doesn't give any good
26# way I can see to find out where the binaries are placed, so 25# way I can see to find out where the binaries are placed, so
27# rely on only one bin.foo directory being created. 26# rely on only one bin.foo directory being created.
diff --git a/meta-moblin/packages/consolekit/consolekit_0.3.0.bb b/meta-moblin/packages/consolekit/consolekit_0.3.0.bb
index b4656c099d..fcd735d7ad 100644
--- a/meta-moblin/packages/consolekit/consolekit_0.3.0.bb
+++ b/meta-moblin/packages/consolekit/consolekit_0.3.0.bb
@@ -8,10 +8,6 @@ SRC_URI = "http://people.freedesktop.org/~mccann/dist/ConsoleKit-${PV}.tar.bz2 \
8 file://nopolkit.patch;patch=1" 8 file://nopolkit.patch;patch=1"
9S = "${WORKDIR}/ConsoleKit-${PV}" 9S = "${WORKDIR}/ConsoleKit-${PV}"
10 10
11do_stage () {
12 autotools_stage_all
13}
14
15FILES_${PN} += "${libdir}/ConsoleKit ${datadir}/dbus-1 ${datadir}/PolicyKit" 11FILES_${PN} += "${libdir}/ConsoleKit ${datadir}/dbus-1 ${datadir}/PolicyKit"
16 12
17 13
diff --git a/meta-moblin/packages/gnome/gnome-menus_2.24.1.bb b/meta-moblin/packages/gnome/gnome-menus_2.24.1.bb
index dae1059b75..c36b3ef50b 100644
--- a/meta-moblin/packages/gnome/gnome-menus_2.24.1.bb
+++ b/meta-moblin/packages/gnome/gnome-menus_2.24.1.bb
@@ -5,10 +5,6 @@ inherit gnome pkgconfig
5 5
6DEPENDS += "intltool" 6DEPENDS += "intltool"
7 7
8do_stage() {
9 autotools_stage_all
10}
11
12PACKAGES += "${PN}-python" 8PACKAGES += "${PN}-python"
13FILES_${PN} += "${datadir}/desktop-directories/" 9FILES_${PN} += "${datadir}/desktop-directories/"
14FILES_${PN}-python = "${libdir}/python*" 10FILES_${PN}-python = "${libdir}/python*"
diff --git a/meta-moblin/packages/gnome/gvfs_1.0.2.bb b/meta-moblin/packages/gnome/gvfs_1.0.2.bb
index b4eab9bd8d..da071c4a64 100644
--- a/meta-moblin/packages/gnome/gvfs_1.0.2.bb
+++ b/meta-moblin/packages/gnome/gvfs_1.0.2.bb
@@ -15,7 +15,3 @@ FILES_${PN}-dev += "${libdir}/gio/modules/*.la"
15FILES_gvfsd-ftp = "${libexecdir}/gvfsd-ftp ${sysconfdir}/gvfs/mounts/ftp.mount" 15FILES_gvfsd-ftp = "${libexecdir}/gvfsd-ftp ${sysconfdir}/gvfs/mounts/ftp.mount"
16FILES_gvfsd-sftp = "${libexecdir}/gvfsd-sftp ${sysconfdir}/gvfs/mounts/sftp.mount" 16FILES_gvfsd-sftp = "${libexecdir}/gvfsd-sftp ${sysconfdir}/gvfs/mounts/sftp.mount"
17FILES_gvfsd-trash = "${libexecdir}/gvfsd-trash ${sysconfdir}/gvfs/mounts/trash.mount" 17FILES_gvfsd-trash = "${libexecdir}/gvfsd-trash ${sysconfdir}/gvfs/mounts/trash.mount"
18
19do_stage() {
20 autotools_stage_all
21}
diff --git a/meta-moblin/packages/libnotify/libnotify_0.4.4.bb b/meta-moblin/packages/libnotify/libnotify_0.4.4.bb
index 7c95fb2ad6..a3f622e84d 100644
--- a/meta-moblin/packages/libnotify/libnotify_0.4.4.bb
+++ b/meta-moblin/packages/libnotify/libnotify_0.4.4.bb
@@ -8,7 +8,3 @@ PR = "r0"
8SRC_URI = "http://www.galago-project.org/files/releases/source/${PN}/${PN}-${PV}.tar.gz" 8SRC_URI = "http://www.galago-project.org/files/releases/source/${PN}/${PN}-${PV}.tar.gz"
9 9
10inherit autotools pkgconfig 10inherit autotools pkgconfig
11
12do_stage() {
13 autotools_stage_all
14}
diff --git a/meta-moblin/packages/pulseaudio/libcanberra_0.10.bb b/meta-moblin/packages/pulseaudio/libcanberra_0.10.bb
index 93f02c8459..c6d25dccb0 100644
--- a/meta-moblin/packages/pulseaudio/libcanberra_0.10.bb
+++ b/meta-moblin/packages/pulseaudio/libcanberra_0.10.bb
@@ -20,10 +20,3 @@ FILES_${PN}-dbg += "${libdir}/gtk-2.0/modules/.debug"
20 20
21AUTOTOOLS_STAGE_PKGCONFIG = "1" 21AUTOTOOLS_STAGE_PKGCONFIG = "1"
22 22
23do_stage() {
24 autotools_stage_all
25}
26
27
28
29
diff --git a/meta-moblin/packages/pulseaudio/pulseaudio.inc b/meta-moblin/packages/pulseaudio/pulseaudio.inc
index 2390e341fd..fd8e60c471 100644
--- a/meta-moblin/packages/pulseaudio/pulseaudio.inc
+++ b/meta-moblin/packages/pulseaudio/pulseaudio.inc
@@ -34,10 +34,6 @@ export TARGET_PFPU = "${TARGET_FPU}"
34OE_LT_RPATH_ALLOW = "any" 34OE_LT_RPATH_ALLOW = "any"
35OE_LT_RPATH_ALLOW[export]="1" 35OE_LT_RPATH_ALLOW[export]="1"
36 36
37do_stage() {
38 autotools_stage_all
39}
40
41do_install_append() { 37do_install_append() {
42 install -d ${D}${sysconfdir}/default/volatiles 38 install -d ${D}${sysconfdir}/default/volatiles
43 install -m 0644 ${WORKDIR}/volatiles.04_pulse ${D}${sysconfdir}/default/volatiles/volatiles.04_pulse 39 install -m 0644 ${WORKDIR}/volatiles.04_pulse ${D}${sysconfdir}/default/volatiles/volatiles.04_pulse
diff --git a/meta-moblin/packages/uicmoc/uicmoc3-native_3.3.5.bb b/meta-moblin/packages/uicmoc/uicmoc3-native_3.3.5.bb
index 1203571f5a..68582850a2 100644
--- a/meta-moblin/packages/uicmoc/uicmoc3-native_3.3.5.bb
+++ b/meta-moblin/packages/uicmoc/uicmoc3-native_3.3.5.bb
@@ -36,7 +36,6 @@ do_compile() {
36 oe_runmake sub-tools || die "Building tools failed" 36 oe_runmake sub-tools || die "Building tools failed"
37} 37}
38 38
39NATIVE_INSTALL_WORKS = "1"
40do_install() { 39do_install() {
41 install -d ${D}${bindir}/ 40 install -d ${D}${bindir}/
42 install -d ${D}/qte3/lib/ 41 install -d ${D}/qte3/lib/
diff --git a/meta-moblin/packages/xorg-app/xterm_207.bb b/meta-moblin/packages/xorg-app/xterm_207.bb
index 547b42d0f1..aae600b545 100644
--- a/meta-moblin/packages/xorg-app/xterm_207.bb
+++ b/meta-moblin/packages/xorg-app/xterm_207.bb
@@ -22,7 +22,3 @@ do_configure() {
22 22
23 oe_runconf 23 oe_runconf
24} 24}
25
26do_stage() {
27 autotools_stage_all
28}
diff --git a/meta-openmoko/packages/libspiff/libspiff_0.8.3.bb b/meta-openmoko/packages/libspiff/libspiff_0.8.3.bb
index f91005ec8a..f10ff59f69 100644
--- a/meta-openmoko/packages/libspiff/libspiff_0.8.3.bb
+++ b/meta-openmoko/packages/libspiff/libspiff_0.8.3.bb
@@ -19,7 +19,3 @@ EXTRA_OECONF = "\
19 19
20CPPFLAGS += "-I${S}/include" 20CPPFLAGS += "-I${S}/include"
21 21
22do_stage() {
23 autotools_stage_all
24}
25
diff --git a/meta-openmoko/packages/liburiparser/liburiparser_0.5.1.bb b/meta-openmoko/packages/liburiparser/liburiparser_0.5.1.bb
index 60c88cba23..55ef0a057e 100644
--- a/meta-openmoko/packages/liburiparser/liburiparser_0.5.1.bb
+++ b/meta-openmoko/packages/liburiparser/liburiparser_0.5.1.bb
@@ -9,7 +9,4 @@ S = "${WORKDIR}/uriparser-${PV}"
9 9
10inherit autotools pkgconfig 10inherit autotools pkgconfig
11 11
12do_stage() {
13 autotools_stage_all
14}
15 12
diff --git a/meta-openmoko/packages/openmoko2/libjana_svn.bb b/meta-openmoko/packages/openmoko2/libjana_svn.bb
index 48779e50fe..85d0f4a631 100644
--- a/meta-openmoko/packages/openmoko2/libjana_svn.bb
+++ b/meta-openmoko/packages/openmoko2/libjana_svn.bb
@@ -14,10 +14,6 @@ do_configure_prepend() {
14 touch gtk-doc.make 14 touch gtk-doc.make
15} 15}
16 16
17do_stage() {
18 autotools_stage_all
19}
20
21PACKAGES =+ "libjana-ecal libjana-ecal-dbg \ 17PACKAGES =+ "libjana-ecal libjana-ecal-dbg \
22 libjana-gtk libjana-gtk-dbg \ 18 libjana-gtk libjana-gtk-dbg \
23 " 19 "
diff --git a/meta-openmoko/packages/openmoko2/libmokogsmd2_svn.bb b/meta-openmoko/packages/openmoko2/libmokogsmd2_svn.bb
index 5625bf809d..261116ece7 100644
--- a/meta-openmoko/packages/openmoko2/libmokogsmd2_svn.bb
+++ b/meta-openmoko/packages/openmoko2/libmokogsmd2_svn.bb
@@ -5,7 +5,3 @@ PR = "r2"
5 5
6inherit openmoko2 6inherit openmoko2
7 7
8do_stage() {
9 autotools_stage_all
10}
11
diff --git a/meta-openmoko/packages/openmoko2/libmokojournal2_svn.bb b/meta-openmoko/packages/openmoko2/libmokojournal2_svn.bb
index 354b8e3f26..d9fd351c84 100644
--- a/meta-openmoko/packages/openmoko2/libmokojournal2_svn.bb
+++ b/meta-openmoko/packages/openmoko2/libmokojournal2_svn.bb
@@ -9,7 +9,4 @@ do_configure_prepend() {
9 touch gtk-doc.make 9 touch gtk-doc.make
10} 10}
11 11
12do_stage() {
13 autotools_stage_all
14}
15 12
diff --git a/meta-openmoko/packages/openmoko2/libmokopanelui2_svn.bb b/meta-openmoko/packages/openmoko2/libmokopanelui2_svn.bb
index a8d53ff2d5..a715ff8f0d 100644
--- a/meta-openmoko/packages/openmoko2/libmokopanelui2_svn.bb
+++ b/meta-openmoko/packages/openmoko2/libmokopanelui2_svn.bb
@@ -4,7 +4,3 @@ PV = "0.3.0+svnr${SRCREV}"
4PR = "r0" 4PR = "r0"
5 5
6inherit openmoko2 6inherit openmoko2
7
8do_stage() {
9 autotools_stage_all
10}
diff --git a/meta-openmoko/packages/openmoko2/libmokoui2_svn.bb b/meta-openmoko/packages/openmoko2/libmokoui2_svn.bb
index 3785074a82..f427fa8f99 100644
--- a/meta-openmoko/packages/openmoko2/libmokoui2_svn.bb
+++ b/meta-openmoko/packages/openmoko2/libmokoui2_svn.bb
@@ -8,8 +8,3 @@ inherit openmoko2
8do_configure_prepend() { 8do_configure_prepend() {
9 touch gtk-doc.make 9 touch gtk-doc.make
10} 10}
11
12do_stage() {
13 autotools_stage_all
14}
15
diff --git a/meta-openmoko/packages/openmoko2/openmoko-libs.inc b/meta-openmoko/packages/openmoko2/openmoko-libs.inc
index 9166934fee..13a9d8d62f 100644
--- a/meta-openmoko/packages/openmoko2/openmoko-libs.inc
+++ b/meta-openmoko/packages/openmoko2/openmoko-libs.inc
@@ -7,7 +7,3 @@ inherit autotools pkgconfig
7SRC_URI = "svn://svn.openmoko.org/trunk/src/target/OM-2007.2/libraries;module=${REAL_PN};proto=http" 7SRC_URI = "svn://svn.openmoko.org/trunk/src/target/OM-2007.2/libraries;module=${REAL_PN};proto=http"
8 8
9S = "${WORKDIR}/${PN}" 9S = "${WORKDIR}/${PN}"
10
11do_stage() {
12 autotools_stage_all
13}
diff --git a/meta-openmoko/packages/usbpath/usbpath-native_svn.bb b/meta-openmoko/packages/usbpath/usbpath-native_svn.bb
index 3b5ef7bdcd..7389e161c4 100644
--- a/meta-openmoko/packages/usbpath/usbpath-native_svn.bb
+++ b/meta-openmoko/packages/usbpath/usbpath-native_svn.bb
@@ -1,8 +1,3 @@
1require usbpath_svn.bb 1require usbpath_svn.bb
2inherit native 2inherit native
3DEPENDS = "libusb-native" 3DEPENDS = "libusb-native"
4
5do_stage () {
6 autotools_stage_all
7}
8
diff --git a/meta-openmoko/packages/usbpath/usbpath_svn.bb b/meta-openmoko/packages/usbpath/usbpath_svn.bb
index 0a06477b9a..0c0873ffe1 100644
--- a/meta-openmoko/packages/usbpath/usbpath_svn.bb
+++ b/meta-openmoko/packages/usbpath/usbpath_svn.bb
@@ -12,7 +12,3 @@ S = "${WORKDIR}/usbpath"
12 12
13inherit autotools 13inherit autotools
14 14
15do_stage () {
16 autotools_stage_all
17}
18
diff --git a/meta-openmoko/packages/vala/vala_0.1.5.bb b/meta-openmoko/packages/vala/vala_0.1.5.bb
index 0d357945b7..b83d19650a 100644
--- a/meta-openmoko/packages/vala/vala_0.1.5.bb
+++ b/meta-openmoko/packages/vala/vala_0.1.5.bb
@@ -9,7 +9,3 @@ S = "${WORKDIR}/vala-${PV}"
9 9
10inherit autotools lib_package 10inherit autotools lib_package
11 11
12do_stage() {
13 autotools_stage_all
14}
15
diff --git a/meta/classes/autotools.bbclass b/meta/classes/autotools.bbclass
index 20dc72a1df..649e269f3e 100644
--- a/meta/classes/autotools.bbclass
+++ b/meta/classes/autotools.bbclass
@@ -1,6 +1,3 @@
1# use autotools_stage_all for native packages
2AUTOTOOLS_NATIVE_STAGE_INSTALL = "1"
3
4def autotools_dep_prepend(d): 1def autotools_dep_prepend(d):
5 if bb.data.getVar('INHIBIT_AUTOTOOLS_DEPS', d, 1): 2 if bb.data.getVar('INHIBIT_AUTOTOOLS_DEPS', d, 1):
6 return '' 3 return ''
@@ -204,8 +201,4 @@ autotools_stage_all() {
204 rm -rf ${STAGE_TEMP} 201 rm -rf ${STAGE_TEMP}
205} 202}
206 203
207do_stage () {
208 autotools_stage_all
209}
210
211EXPORT_FUNCTIONS do_configure do_install 204EXPORT_FUNCTIONS do_configure do_install
diff --git a/meta/classes/cpan.bbclass b/meta/classes/cpan.bbclass
index 3b1280c07b..513f0b3ce7 100644
--- a/meta/classes/cpan.bbclass
+++ b/meta/classes/cpan.bbclass
@@ -31,9 +31,8 @@ cpan_do_compile () {
31 oe_runmake PASTHRU_INC="${CFLAGS}" CCFLAGS="${CFLAGS}" LD="${CCLD}" 31 oe_runmake PASTHRU_INC="${CFLAGS}" CCFLAGS="${CFLAGS}" LD="${CCLD}"
32} 32}
33 33
34NATIVE_INSTALL_WORKS = "1"
35cpan_do_install () { 34cpan_do_install () {
36 oe_runmake DESTDIR="${D}" install_vendor 35 oe_runmake DESTDIR="${D}" install_vendor
37} 36}
38 37
39EXPORT_FUNCTIONS do_configure do_compile do_install do_stage 38EXPORT_FUNCTIONS do_configure do_compile do_install
diff --git a/meta/classes/cpan_build.bbclass b/meta/classes/cpan_build.bbclass
index 944e8d4ac0..dd8d5434d5 100644
--- a/meta/classes/cpan_build.bbclass
+++ b/meta/classes/cpan_build.bbclass
@@ -42,7 +42,6 @@ cpan_build_do_compile () {
42 perl Build 42 perl Build
43} 43}
44 44
45NATIVE_INSTALL_WORKS = "1"
46cpan_build_do_install () { 45cpan_build_do_install () {
47 perl Build install 46 perl Build install
48} 47}
diff --git a/meta/classes/cross.bbclass b/meta/classes/cross.bbclass
index b7dbd86c35..de44e99d70 100644
--- a/meta/classes/cross.bbclass
+++ b/meta/classes/cross.bbclass
@@ -50,10 +50,6 @@ do_install () {
50 oe_runmake 'DESTDIR=${D}' install 50 oe_runmake 'DESTDIR=${D}' install
51} 51}
52 52
53do_stage () {
54 autotools_stage_all
55}
56
57# 53#
58# Override the default sysroot staging copy since this won't look like a target system 54# Override the default sysroot staging copy since this won't look like a target system
59# 55#
diff --git a/meta/classes/native.bbclass b/meta/classes/native.bbclass
index 9d678fd802..529f1c259d 100644
--- a/meta/classes/native.bbclass
+++ b/meta/classes/native.bbclass
@@ -66,25 +66,6 @@ STAGING_DIR_TARGET = ""
66SHLIBSDIR = "${STAGING_DIR_NATIVE}/shlibs" 66SHLIBSDIR = "${STAGING_DIR_NATIVE}/shlibs"
67PKG_CONFIG_DIR = "${libdir}/pkgconfig" 67PKG_CONFIG_DIR = "${libdir}/pkgconfig"
68 68
69#
70# If changing this function, please make sure packaged-staging.bbclass is
71# updated too
72#
73do_stage_native () {
74 # If autotools is active, use the autotools staging function, else
75 # use our "make install" equivalent
76 if [ "${AUTOTOOLS_NATIVE_STAGE_INSTALL}" == "1" ]
77 then
78 autotools_stage_all
79 else
80 oe_runmake install
81 fi
82}
83
84do_stage () {
85 do_stage_native
86}
87
88PKG_CONFIG_PATH .= "${EXTRA_NATIVE_PKGCONFIG_PATH}" 69PKG_CONFIG_PATH .= "${EXTRA_NATIVE_PKGCONFIG_PATH}"
89PKG_CONFIG_SYSROOT_DIR = "" 70PKG_CONFIG_SYSROOT_DIR = ""
90 71
@@ -93,11 +74,6 @@ ORIG_DEPENDS := "${DEPENDS}"
93DEPENDS_virtclass-native ?= "${ORIG_DEPENDS}" 74DEPENDS_virtclass-native ?= "${ORIG_DEPENDS}"
94 75
95python __anonymous () { 76python __anonymous () {
96 # If we've a legacy native do_stage, we need to neuter do_install
97 stagefunc = bb.data.getVar('do_stage', d, True)
98 if (stagefunc.strip() != "do_stage_native" and stagefunc.strip() != "autotools_stage_all") and bb.data.getVar('AUTOTOOLS_NATIVE_STAGE_INSTALL', d, 1) == "1":
99 bb.data.setVar("do_install", " :", d)
100
101 if "native" in (bb.data.getVar('BBCLASSEXTEND', d, True) or ""): 77 if "native" in (bb.data.getVar('BBCLASSEXTEND', d, True) or ""):
102 pn = bb.data.getVar("PN", d, True) 78 pn = bb.data.getVar("PN", d, True)
103 depends = bb.data.getVar("DEPENDS_virtclass-native", d, True) 79 depends = bb.data.getVar("DEPENDS_virtclass-native", d, True)
diff --git a/meta/classes/staging.bbclass b/meta/classes/staging.bbclass
index b771b92fae..0b2e457a93 100644
--- a/meta/classes/staging.bbclass
+++ b/meta/classes/staging.bbclass
@@ -76,21 +76,6 @@ sysroot_stage_all() {
76 sysroot_stage_dirs ${D} ${SYSROOT_DESTDIR} 76 sysroot_stage_dirs ${D} ${SYSROOT_DESTDIR}
77} 77}
78 78
79def is_legacy_staging(d):
80 stagefunc = bb.data.getVar('do_stage', d, True)
81 legacy = True
82 if stagefunc is None:
83 legacy = False
84 elif stagefunc.strip() == "use_do_install_for_stage":
85 legacy = False
86 elif stagefunc.strip() == "autotools_stage_all":
87 legacy = False
88 elif stagefunc.strip() == "do_stage_native" and bb.data.getVar('AUTOTOOLS_NATIVE_STAGE_INSTALL', d, 1) == "1":
89 legacy = False
90 elif bb.data.getVar('NATIVE_INSTALL_WORKS', d, 1) == "1":
91 legacy = False
92 return legacy
93
94do_populate_sysroot[dirs] = "${STAGING_DIR_TARGET}/${bindir} ${STAGING_DIR_TARGET}/${libdir} \ 79do_populate_sysroot[dirs] = "${STAGING_DIR_TARGET}/${bindir} ${STAGING_DIR_TARGET}/${libdir} \
95 ${STAGING_DIR_TARGET}/${includedir} \ 80 ${STAGING_DIR_TARGET}/${includedir} \
96 ${STAGING_BINDIR_NATIVE} ${STAGING_LIBDIR_NATIVE} \ 81 ${STAGING_BINDIR_NATIVE} ${STAGING_LIBDIR_NATIVE} \
@@ -119,36 +104,31 @@ python do_populate_sysroot () {
119 pstageactive = (bb.data.getVar("PSTAGING_ACTIVE", d, True) == "1") 104 pstageactive = (bb.data.getVar("PSTAGING_ACTIVE", d, True) == "1")
120 lockfile = bb.data.getVar("SYSROOT_LOCK", d, True) 105 lockfile = bb.data.getVar("SYSROOT_LOCK", d, True)
121 stagefunc = bb.data.getVar('do_stage', d, True) 106 stagefunc = bb.data.getVar('do_stage', d, True)
122 legacy = is_legacy_staging(d) 107
123 if legacy: 108 dest = bb.data.getVar('D', d, True)
124 bb.data.setVar("SYSROOT_DESTDIR", "", d) 109 sysrootdest = bb.data.expand('${SYSROOT_DESTDIR}${STAGING_DIR_TARGET}', d)
125 bb.note("Legacy staging mode for %s" % bb.data.getVar("FILE", d, True)) 110 bb.mkdirhier(sysrootdest)
126 lock = bb.utils.lockfile(lockfile) 111
127 bb.build.exec_func('populate_sysroot_prehook', d) 112 bb.build.exec_func("sysroot_stage_all", d)
128 bb.build.exec_func('do_stage', d) 113 #os.system('cp -pPR %s/* %s/' % (dest, sysrootdest))
129 for f in (bb.data.getVar('SYSROOT_PREPROCESS_FUNCS', d, True) or '').split(): 114 for f in (bb.data.getVar('SYSROOT_PREPROCESS_FUNCS', d, True) or '').split():
130 bb.build.exec_func(f, d) 115 bb.build.exec_func(f, d)
131 bb.build.exec_func('populate_sysroot_posthook', d) 116 bb.build.exec_func("packagedstaging_fastpath", d)
132 bb.utils.unlockfile(lock) 117
133 else: 118 lock = bb.utils.lockfile(lockfile)
134 dest = bb.data.getVar('D', d, True) 119 os.system(bb.data.expand('cp -pPR ${SYSROOT_DESTDIR}${TMPDIR}/* ${TMPDIR}/', d))
135 sysrootdest = bb.data.expand('${SYSROOT_DESTDIR}${STAGING_DIR_TARGET}', d) 120 bb.utils.unlockfile(lock)
136 bb.mkdirhier(sysrootdest)
137
138 bb.build.exec_func("sysroot_stage_all", d)
139 #os.system('cp -pPR %s/* %s/' % (dest, sysrootdest))
140 for f in (bb.data.getVar('SYSROOT_PREPROCESS_FUNCS', d, True) or '').split():
141 bb.build.exec_func(f, d)
142 bb.build.exec_func("packagedstaging_fastpath", d)
143
144 lock = bb.utils.lockfile(lockfile)
145 os.system(bb.data.expand('cp -pPR ${SYSROOT_DESTDIR}${TMPDIR}/* ${TMPDIR}/', d))
146 bb.utils.unlockfile(lock)
147} 121}
148 122
123def is_legacy_staging(d):
124 stagefunc = bb.data.getVar('do_stage', d, True)
125 if stagefunc is None:
126 return False
127 return True
128
149python () { 129python () {
150 if is_legacy_staging(d): 130 if is_legacy_staging(d):
151 bb.note("Legacy staging mode for %s" % bb.data.getVar("FILE", d, True)) 131 bb.fatal("Legacy staging found for %s as it has a do_stage function. This will need conversion to a do_install or often simply removal to work with Poky" % bb.data.getVar("FILE", d, True))
152} 132}
153 133
154 134
diff --git a/meta/classes/xlibs.bbclass b/meta/classes/xlibs.bbclass
index fc52400b9f..7271d7b029 100644
--- a/meta/classes/xlibs.bbclass
+++ b/meta/classes/xlibs.bbclass
@@ -5,11 +5,3 @@ XLIBS_CVS = "${FREEDESKTOP_CVS}/xlibs"
5 5
6inherit autotools pkgconfig 6inherit autotools pkgconfig
7 7
8do_stage() {
9 oe_runmake install prefix=${STAGING_DIR_HOST}${prefix} \
10 bindir=${STAGING_BINDIR} \
11 includedir=${STAGING_INCDIR} \
12 libdir=${STAGING_LIBDIR} \
13 datadir=${STAGING_DATADIR} \
14 mandir=${STAGING_DIR_HOST}${mandir}
15}
diff --git a/meta/packages/automake/automake_1.11.1.bb b/meta/packages/automake/automake_1.11.1.bb
index 067898a44f..a78b6901f1 100644
--- a/meta/packages/automake/automake_1.11.1.bb
+++ b/meta/packages/automake/automake_1.11.1.bb
@@ -33,7 +33,6 @@ PATHFIXPATCH_virtclass-native = ""
33 33
34SRC_URI += "${PATHFIXPATCH}" 34SRC_URI += "${PATHFIXPATCH}"
35 35
36NATIVE_INSTALL_WORKS = "1"
37do_install () { 36do_install () {
38 oe_runmake 'DESTDIR=${D}' install 37 oe_runmake 'DESTDIR=${D}' install
39 install -d ${D}${datadir} 38 install -d ${D}${datadir}
diff --git a/meta/packages/binutils/binutils-cross-canadian.inc b/meta/packages/binutils/binutils-cross-canadian.inc
index 9fe3ed5451..23dfa161eb 100644
--- a/meta/packages/binutils/binutils-cross-canadian.inc
+++ b/meta/packages/binutils/binutils-cross-canadian.inc
@@ -18,7 +18,3 @@ do_install () {
18 install -m 644 ${S}/include/ansidecl.h ${D}${includedir} 18 install -m 644 ${S}/include/ansidecl.h ${D}${includedir}
19 install -m 644 ${S}/include/libiberty.h ${D}${includedir} 19 install -m 644 ${S}/include/libiberty.h ${D}${includedir}
20} 20}
21
22do_stage () {
23 use_do_install_for_stage
24}
diff --git a/meta/packages/binutils/binutils-cross.inc b/meta/packages/binutils/binutils-cross.inc
index f784a66ce0..b5310a6187 100644
--- a/meta/packages/binutils/binutils-cross.inc
+++ b/meta/packages/binutils/binutils-cross.inc
@@ -23,7 +23,3 @@ do_install () {
23 rmdir ${D}${STAGING_DIR_NATIVE}${prefix_native}/${libdir}64 || : 23 rmdir ${D}${STAGING_DIR_NATIVE}${prefix_native}/${libdir}64 || :
24 rmdir ${D}${STAGING_DIR_NATIVE}${prefix_native}/${prefix} || : 24 rmdir ${D}${STAGING_DIR_NATIVE}${prefix_native}/${prefix} || :
25} 25}
26
27do_stage () {
28 use_do_install_for_stage
29}
diff --git a/meta/packages/cdrtools/cdrtools-native_2.01.bb b/meta/packages/cdrtools/cdrtools-native_2.01.bb
index b4b496f6e7..2421b23640 100644
--- a/meta/packages/cdrtools/cdrtools-native_2.01.bb
+++ b/meta/packages/cdrtools/cdrtools-native_2.01.bb
@@ -15,7 +15,6 @@ inherit native
15 15
16STAGE_TEMP="${WORKDIR}/image-temp" 16STAGE_TEMP="${WORKDIR}/image-temp"
17 17
18NATIVE_INSTALL_WORKS = "1"
19do_install() { 18do_install() {
20 install -d ${STAGE_TEMP} 19 install -d ${STAGE_TEMP}
21 make install INS_BASE=${STAGE_TEMP} 20 make install INS_BASE=${STAGE_TEMP}
diff --git a/meta/packages/dosfstools/dosfstools_2.10.bb b/meta/packages/dosfstools/dosfstools_2.10.bb
index 4d8f6fb8e0..100044b75d 100644
--- a/meta/packages/dosfstools/dosfstools_2.10.bb
+++ b/meta/packages/dosfstools/dosfstools_2.10.bb
@@ -16,7 +16,6 @@ SRC_URI = "ftp://ftp.uni-erlangen.de/pub/Linux/LOCAL/dosfstools/dosfstools-${PV}
16 file://msdos_fat12_undefined.patch;patch=1 \ 16 file://msdos_fat12_undefined.patch;patch=1 \
17 file://include-linux-types.patch;patch=1" 17 file://include-linux-types.patch;patch=1"
18 18
19NATIVE_INSTALL_WORKS = "1"
20do_install () { 19do_install () {
21 oe_runmake "PREFIX=${D}" "SBINDIR=${D}${sbindir}" \ 20 oe_runmake "PREFIX=${D}" "SBINDIR=${D}${sbindir}" \
22 "MANDIR=${D}${mandir}/man8" install 21 "MANDIR=${D}${mandir}/man8" install
diff --git a/meta/packages/dosfstools/dosfstools_2.11.bb b/meta/packages/dosfstools/dosfstools_2.11.bb
index 91430c0b6b..a5f6e034dd 100644
--- a/meta/packages/dosfstools/dosfstools_2.11.bb
+++ b/meta/packages/dosfstools/dosfstools_2.11.bb
@@ -15,7 +15,6 @@ SRC_URI = "ftp://ftp.uni-erlangen.de/pub/Linux/LOCAL/dosfstools/dosfstools-${PV}
15 file://msdos_fat12_undefined.patch;patch=1 \ 15 file://msdos_fat12_undefined.patch;patch=1 \
16 file://include-linux-types.patch;patch=1" 16 file://include-linux-types.patch;patch=1"
17 17
18NATIVE_INSTALL_WORKS = "1"
19do_install () { 18do_install () {
20 oe_runmake "PREFIX=${D}" "SBINDIR=${D}${sbindir}" \ 19 oe_runmake "PREFIX=${D}" "SBINDIR=${D}${sbindir}" \
21 "MANDIR=${D}${mandir}/man8" install 20 "MANDIR=${D}${mandir}/man8" install
diff --git a/meta/packages/fuse/fuse_2.7.2.bb b/meta/packages/fuse/fuse_2.7.2.bb
index a1795e7f0c..d284a25f5f 100644
--- a/meta/packages/fuse/fuse_2.7.2.bb
+++ b/meta/packages/fuse/fuse_2.7.2.bb
@@ -20,8 +20,3 @@ FILES_fuse-utils-dbg = "${bindir}/.debug ${base_sbindir}/.debug"
20DEBIAN_NOAUTONAME_fuse-utils = "1" 20DEBIAN_NOAUTONAME_fuse-utils = "1"
21DEBIAN_NOAUTONAME_fuse-utils-dbg = "1" 21DEBIAN_NOAUTONAME_fuse-utils-dbg = "1"
22 22
23fakeroot do_stage() {
24 autotools_stage_all
25}
26
27
diff --git a/meta/packages/gcc/gcc-cross-kernel.inc b/meta/packages/gcc/gcc-cross-kernel.inc
index 02d44583c9..5347762762 100644
--- a/meta/packages/gcc/gcc-cross-kernel.inc
+++ b/meta/packages/gcc/gcc-cross-kernel.inc
@@ -8,7 +8,3 @@ do_install () {
8 oe_runmake 'DESTDIR=${D}' install-common install-headers install-libgcc 8 oe_runmake 'DESTDIR=${D}' install-common install-headers install-libgcc
9 install -m 0755 xgcc ${D}${STAGING_DIR_NATIVE}${prefix_native}/bin/${TARGET_PREFIX}gcc-${PV} 9 install -m 0755 xgcc ${D}${STAGING_DIR_NATIVE}${prefix_native}/bin/${TARGET_PREFIX}gcc-${PV}
10} 10}
11
12do_stage () {
13 use_do_install_for_stage
14} \ No newline at end of file
diff --git a/meta/packages/gcc/gcc-cross.inc b/meta/packages/gcc/gcc-cross.inc
index 02b23ffce0..5a796bcde6 100644
--- a/meta/packages/gcc/gcc-cross.inc
+++ b/meta/packages/gcc/gcc-cross.inc
@@ -3,10 +3,6 @@ inherit cross
3DEPENDS = "virtual/${TARGET_PREFIX}binutils virtual/${TARGET_PREFIX}libc-for-gcc ${NATIVEDEPS}" 3DEPENDS = "virtual/${TARGET_PREFIX}binutils virtual/${TARGET_PREFIX}libc-for-gcc ${NATIVEDEPS}"
4PROVIDES = "virtual/${TARGET_PREFIX}gcc virtual/${TARGET_PREFIX}g++" 4PROVIDES = "virtual/${TARGET_PREFIX}gcc virtual/${TARGET_PREFIX}g++"
5 5
6do_stage () {
7 use_do_install_for_stage
8}
9
10require gcc-configure-cross.inc 6require gcc-configure-cross.inc
11require gcc-package-cross.inc 7require gcc-package-cross.inc
12 8
diff --git a/meta/packages/glibc/ldconfig-native_2.5.bb b/meta/packages/glibc/ldconfig-native_2.5.bb
index 3c3a1b1a64..d08787af6d 100644
--- a/meta/packages/glibc/ldconfig-native_2.5.bb
+++ b/meta/packages/glibc/ldconfig-native_2.5.bb
@@ -14,7 +14,6 @@ do_compile () {
14 $CC ldconfig.c -std=gnu99 chroot_canon.c xmalloc.c xstrdup.c cache.c readlib.c -I. dl-cache.c -o ldconfig 14 $CC ldconfig.c -std=gnu99 chroot_canon.c xmalloc.c xstrdup.c cache.c readlib.c -I. dl-cache.c -o ldconfig
15} 15}
16 16
17NATIVE_INSTALL_WORKS = "1"
18do_install () { 17do_install () {
19 install -d ${D}/${bindir}/ 18 install -d ${D}/${bindir}/
20 install ldconfig ${D}/${bindir}/ 19 install ldconfig ${D}/${bindir}/
diff --git a/meta/packages/gnu-config/gnu-config_20080123.bb b/meta/packages/gnu-config/gnu-config_20080123.bb
index 5dc76524d3..66d027e933 100644
--- a/meta/packages/gnu-config/gnu-config_20080123.bb
+++ b/meta/packages/gnu-config/gnu-config_20080123.bb
@@ -36,4 +36,3 @@ PACKAGES = "${PN}"
36FILES_${PN} = "${bindir} ${datadir}/gnu-config" 36FILES_${PN} = "${bindir} ${datadir}/gnu-config"
37 37
38BBCLASSEXTEND = "native" 38BBCLASSEXTEND = "native"
39NATIVE_INSTALL_WORKS = "1"
diff --git a/meta/packages/gtk-doc/gtk-doc.bb b/meta/packages/gtk-doc/gtk-doc.bb
index b60bc85ed3..3f5e29121b 100644
--- a/meta/packages/gtk-doc/gtk-doc.bb
+++ b/meta/packages/gtk-doc/gtk-doc.bb
@@ -7,7 +7,6 @@ ALLOW_EMPTY_${PN} = "1"
7 7
8BBCLASSEXTEND = "native" 8BBCLASSEXTEND = "native"
9 9
10NATIVE_INSTALL_WORKS = "1"
11do_install () { 10do_install () {
12 install -d ${D}${datadir}/aclocal/ 11 install -d ${D}${datadir}/aclocal/
13 install -m 0644 ${WORKDIR}/gtk-doc.m4 ${D}${datadir}/aclocal/ 12 install -m 0644 ${WORKDIR}/gtk-doc.m4 ${D}${datadir}/aclocal/
diff --git a/meta/packages/insserv/insserv_1.11.0.bb b/meta/packages/insserv/insserv_1.11.0.bb
index 0fe439ba69..a45ccda48f 100644
--- a/meta/packages/insserv/insserv_1.11.0.bb
+++ b/meta/packages/insserv/insserv_1.11.0.bb
@@ -9,7 +9,6 @@ SRC_URI = "ftp://ftp.suse.com/pub/projects/init/${BPN}-${PV}.tar.gz \
9 file://crosscompile_fix.patch;patch=1 \ 9 file://crosscompile_fix.patch;patch=1 \
10 file://insserv.conf" 10 file://insserv.conf"
11 11
12NATIVE_INSTALL_WORKS = "1"
13do_install () { 12do_install () {
14 oe_runmake 'DESTDIR=${D}' install 13 oe_runmake 'DESTDIR=${D}' install
15 install -m0644 ${WORKDIR}/insserv.conf ${D}${sysconfdir}/insserv.conf 14 install -m0644 ${WORKDIR}/insserv.conf ${D}${sysconfdir}/insserv.conf
diff --git a/meta/packages/kern-tools/kern-tools-native_git.bb b/meta/packages/kern-tools/kern-tools-native_git.bb
index 417bcb689b..4e4b86b979 100644
--- a/meta/packages/kern-tools/kern-tools-native_git.bb
+++ b/meta/packages/kern-tools/kern-tools-native_git.bb
@@ -7,9 +7,6 @@ DEPENDS = "git-native"
7PR = r4 7PR = r4
8PV = "0.1+git${SRCPV}" 8PV = "0.1+git${SRCPV}"
9 9
10# needed until the native do_stage goes away
11NATIVE_INSTALL_WORKS=1
12
13inherit native 10inherit native
14 11
15SRC_URI = "git://git.pokylinux.org/wr-kernel-tools.git;protocol=git" 12SRC_URI = "git://git.pokylinux.org/wr-kernel-tools.git;protocol=git"
diff --git a/meta/packages/libsoup/libsoup-2.4_2.31.2.bb b/meta/packages/libsoup/libsoup-2.4_2.31.2.bb
index da1499b5fc..9a00e07da0 100644
--- a/meta/packages/libsoup/libsoup-2.4_2.31.2.bb
+++ b/meta/packages/libsoup/libsoup-2.4_2.31.2.bb
@@ -15,6 +15,3 @@ S = "${WORKDIR}/libsoup-${PV}"
15 15
16inherit autotools pkgconfig 16inherit autotools pkgconfig
17 17
18do_stage() {
19 autotools_stage_all
20}
diff --git a/meta/packages/libsoup/libsoup-2.4_2.4.1.bb b/meta/packages/libsoup/libsoup-2.4_2.4.1.bb
index 303f667dcf..f48ac3d6c9 100644
--- a/meta/packages/libsoup/libsoup-2.4_2.4.1.bb
+++ b/meta/packages/libsoup/libsoup-2.4_2.4.1.bb
@@ -9,6 +9,3 @@ S = "${WORKDIR}/libsoup-${PV}"
9 9
10inherit autotools pkgconfig 10inherit autotools pkgconfig
11 11
12do_stage() {
13 autotools_stage_all
14}
diff --git a/meta/packages/makedevs/makedevs_1.0.0.bb b/meta/packages/makedevs/makedevs_1.0.0.bb
index 7e87765207..5db2d9b142 100644
--- a/meta/packages/makedevs/makedevs_1.0.0.bb
+++ b/meta/packages/makedevs/makedevs_1.0.0.bb
@@ -19,4 +19,3 @@ do_install() {
19} 19}
20 20
21BBCLASSEXTEND = "native" 21BBCLASSEXTEND = "native"
22NATIVE_INSTALL_WORKS = "1"
diff --git a/meta/packages/mesa/qemugl_git.bb b/meta/packages/mesa/qemugl_git.bb
index 086553fecc..5472901111 100644
--- a/meta/packages/mesa/qemugl_git.bb
+++ b/meta/packages/mesa/qemugl_git.bb
@@ -16,7 +16,6 @@ PR = "r6"
16 16
17DEFAULT_PREFERENCE = "-1" 17DEFAULT_PREFERENCE = "-1"
18 18
19NATIVE_INSTALL_WORKS = "1"
20do_install () { 19do_install () {
21 install -d ${D}${libdir}/ 20 install -d ${D}${libdir}/
22 if [ "${PN}" != "qemugl-nativesdk" ]; then 21 if [ "${PN}" != "qemugl-nativesdk" ]; then
diff --git a/meta/packages/mtd/mtd-utils_1.3.1.bb b/meta/packages/mtd/mtd-utils_1.3.1.bb
index 909b28b21c..faa2332a25 100644
--- a/meta/packages/mtd/mtd-utils_1.3.1.bb
+++ b/meta/packages/mtd/mtd-utils_1.3.1.bb
@@ -24,4 +24,3 @@ do_install () {
24PARALLEL_MAKE = "" 24PARALLEL_MAKE = ""
25 25
26BBCLASSEXTEND = "native" 26BBCLASSEXTEND = "native"
27NATIVE_INSTALL_WORKS = "1"
diff --git a/meta/packages/mutter/mutter.inc b/meta/packages/mutter/mutter.inc
index 860d9906d5..456348754f 100644
--- a/meta/packages/mutter/mutter.inc
+++ b/meta/packages/mutter/mutter.inc
@@ -28,10 +28,6 @@ do_configure_prepend () {
28 echo "EXTRA_DIST=" > ${S}/gnome-doc-utils.make 28 echo "EXTRA_DIST=" > ${S}/gnome-doc-utils.make
29} 29}
30 30
31do_stage () {
32 autotools_stage_all
33}
34
35pkg_postinst_${PN} () { 31pkg_postinst_${PN} () {
36#!/bin/sh -e 32#!/bin/sh -e
37if [ "x$D" != "x" ]; then 33if [ "x$D" != "x" ]; then
diff --git a/meta/packages/nasm/nasm_2.07.bb b/meta/packages/nasm/nasm_2.07.bb
index 5c4f9f6923..4e482a04d6 100644
--- a/meta/packages/nasm/nasm_2.07.bb
+++ b/meta/packages/nasm/nasm_2.07.bb
@@ -22,4 +22,3 @@ do_install() {
22} 22}
23 23
24BBCLASSEXTEND = "native" 24BBCLASSEXTEND = "native"
25NATIVE_INSTALL_WORKS = "1"
diff --git a/meta/packages/openssl/openssl.inc b/meta/packages/openssl/openssl.inc
index a2a1ce67b8..2482585c64 100644
--- a/meta/packages/openssl/openssl.inc
+++ b/meta/packages/openssl/openssl.inc
@@ -91,7 +91,6 @@ do_compile () {
91 oe_runmake 91 oe_runmake
92} 92}
93 93
94NATIVE_INSTALL_WORKS = "1"
95do_install () { 94do_install () {
96 install -m 0755 -d ${D}${libdir}/pkgconfig 95 install -m 0755 -d ${D}${libdir}/pkgconfig
97 oe_runmake INSTALL_PREFIX="${D}" install 96 oe_runmake INSTALL_PREFIX="${D}" install
diff --git a/meta/packages/opensync/libopensync_0.37.bb b/meta/packages/opensync/libopensync_0.37.bb
index 0748bec99a..e9b8ce202e 100644
--- a/meta/packages/opensync/libopensync_0.37.bb
+++ b/meta/packages/opensync/libopensync_0.37.bb
@@ -23,6 +23,3 @@ FILES_${PN} += " ${libdir}/opensync*/formats/*.so \
23FILES_${PN}-dbg += " ${libdir}/opensync*/formats/.debug/*.so \ 23FILES_${PN}-dbg += " ${libdir}/opensync*/formats/.debug/*.so \
24 ${libdir}/opensync*/.debug/osplugin " 24 ${libdir}/opensync*/.debug/osplugin "
25 25
26do_stage() {
27 autotools_stage_all
28}
diff --git a/meta/packages/opensync/libsyncml_0.5.4.bb b/meta/packages/opensync/libsyncml_0.5.4.bb
index 394b3489de..7feb5e0f18 100644
--- a/meta/packages/opensync/libsyncml_0.5.4.bb
+++ b/meta/packages/opensync/libsyncml_0.5.4.bb
@@ -9,10 +9,6 @@ SRC_URI = "${SOURCEFORGE_MIRROR}/libsyncml/0.5.4/libsyncml-0.5.4.tar.bz2 \
9 9
10inherit cmake pkgconfig 10inherit cmake pkgconfig
11 11
12do_stage() {
13 autotools_stage_all
14}
15
16PACKAGES += "${PN}-tools" 12PACKAGES += "${PN}-tools"
17 13
18FILES_${PN}-tools = "${bindir}" 14FILES_${PN}-tools = "${bindir}"
diff --git a/meta/packages/opkg-utils/opkg-utils_svn.bb b/meta/packages/opkg-utils/opkg-utils_svn.bb
index 18259b3c39..f3b6f1f4cb 100644
--- a/meta/packages/opkg-utils/opkg-utils_svn.bb
+++ b/meta/packages/opkg-utils/opkg-utils_svn.bb
@@ -21,5 +21,4 @@ do_install() {
21 oe_runmake PREFIX=${prefix} DESTDIR=${D} install 21 oe_runmake PREFIX=${prefix} DESTDIR=${D} install
22} 22}
23 23
24NATIVE_INSTALL_WORKS = "1"
25BBCLASSEXTEND = "native" 24BBCLASSEXTEND = "native"
diff --git a/meta/packages/osc/osc-native_svn.bb b/meta/packages/osc/osc-native_svn.bb
index ef9a42a00a..ab0ee0ba3a 100755
--- a/meta/packages/osc/osc-native_svn.bb
+++ b/meta/packages/osc/osc-native_svn.bb
@@ -12,7 +12,6 @@ S = "${WORKDIR}/osc"
12 12
13inherit native 13inherit native
14 14
15NATIVE_INSTALL_WORKS = "1"
16do_install() { 15do_install() {
17 BUILD_SYS=${BUILD_SYS} HOST_SYS=${HOST_SYS} \ 16 BUILD_SYS=${BUILD_SYS} HOST_SYS=${HOST_SYS} \
18 STAGING_LIBDIR=${STAGING_LIBDIR} STAGING_INCDIR=${STAGING_INCDIR} \ 17 STAGING_LIBDIR=${STAGING_LIBDIR} STAGING_INCDIR=${STAGING_INCDIR} \
diff --git a/meta/packages/pango/pango.inc b/meta/packages/pango/pango.inc
index 2e28cc4431..fa22fa578e 100644
--- a/meta/packages/pango/pango.inc
+++ b/meta/packages/pango/pango.inc
@@ -26,10 +26,6 @@ EXTRA_OECONF = "--disable-glibtest \
26LEAD_SONAME = "libpango-1.0*" 26LEAD_SONAME = "libpango-1.0*"
27LIBV = "1.6.0" 27LIBV = "1.6.0"
28 28
29do_stage () {
30 autotools_stage_all
31}
32
33postinst_prologue() { 29postinst_prologue() {
34if [ "x$D" != "x" ]; then 30if [ "x$D" != "x" ]; then
35 exit 1 31 exit 1
diff --git a/meta/packages/pax-utils/pax-utils_0.2.1.bb b/meta/packages/pax-utils/pax-utils_0.2.1.bb
index 404b90c69a..f450f32f1c 100644
--- a/meta/packages/pax-utils/pax-utils_0.2.1.bb
+++ b/meta/packages/pax-utils/pax-utils_0.2.1.bb
@@ -10,5 +10,4 @@ do_install() {
10 oe_runmake PREFIX=${D}${prefix} DESTDIR=${D} install 10 oe_runmake PREFIX=${D}${prefix} DESTDIR=${D} install
11} 11}
12 12
13NATIVE_INSTALL_WORKS = "1"
14BBCLASSEXTEND = "native" 13BBCLASSEXTEND = "native"
diff --git a/meta/packages/perl/perl-native_5.8.8.bb b/meta/packages/perl/perl-native_5.8.8.bb
index 05b4c1e64e..534b6700df 100644
--- a/meta/packages/perl/perl-native_5.8.8.bb
+++ b/meta/packages/perl/perl-native_5.8.8.bb
@@ -56,7 +56,6 @@ do_configure () {
56 -Uusenm -des 56 -Uusenm -des
57} 57}
58 58
59NATIVE_INSTALL_WORKS = "1"
60do_install () { 59do_install () {
61 oe_runmake 'DESTDIR=${D}' install 60 oe_runmake 'DESTDIR=${D}' install
62 61
diff --git a/meta/packages/pseudo/pseudo_git.bb b/meta/packages/pseudo/pseudo_git.bb
index 92ea897d66..88c7ee2c5a 100644
--- a/meta/packages/pseudo/pseudo_git.bb
+++ b/meta/packages/pseudo/pseudo_git.bb
@@ -30,8 +30,6 @@ do_install () {
30 oe_runmake 'DESTDIR=${D}' install 30 oe_runmake 'DESTDIR=${D}' install
31} 31}
32 32
33NATIVE_INSTALL_WORKS = "1"
34
35BBCLASSEXTEND = "native" 33BBCLASSEXTEND = "native"
36 34
37 35
diff --git a/meta/packages/python/python-iniparse-native_0.3.2.bb b/meta/packages/python/python-iniparse-native_0.3.2.bb
index 85c7a27ac0..41aa13d97a 100644
--- a/meta/packages/python/python-iniparse-native_0.3.2.bb
+++ b/meta/packages/python/python-iniparse-native_0.3.2.bb
@@ -3,5 +3,4 @@ inherit native
3DEPENDS = "python-native" 3DEPENDS = "python-native"
4RDEPENDS = "" 4RDEPENDS = ""
5PR = "r0" 5PR = "r0"
6NATIVE_INSTALL_WORKS = "1"
7 6
diff --git a/meta/packages/python/python-native_2.6.5.bb b/meta/packages/python/python-native_2.6.5.bb
index d766853c18..cb95e4b964 100644
--- a/meta/packages/python/python-native_2.6.5.bb
+++ b/meta/packages/python/python-native_2.6.5.bb
@@ -23,7 +23,6 @@ EXTRA_OEMAKE = '\
23 STAGING_INCDIR=${STAGING_INCDIR_NATIVE} \ 23 STAGING_INCDIR=${STAGING_INCDIR_NATIVE} \
24' 24'
25 25
26NATIVE_INSTALL_WORKS = "1"
27do_install() { 26do_install() {
28 oe_runmake 'DESTDIR=${D}' install 27 oe_runmake 'DESTDIR=${D}' install
29 install -d ${D}${bindir}/ 28 install -d ${D}${bindir}/
diff --git a/meta/packages/python/python-pycurl_7.19.0.bb b/meta/packages/python/python-pycurl_7.19.0.bb
index 2af031ebd1..1a04767266 100644
--- a/meta/packages/python/python-pycurl_7.19.0.bb
+++ b/meta/packages/python/python-pycurl_7.19.0.bb
@@ -26,6 +26,4 @@ export HOST_SYS
26export STAGING_INCDIR 26export STAGING_INCDIR
27export STAGING_LIBDIR 27export STAGING_LIBDIR
28 28
29NATIVE_INSTALL_WORKS = "1"
30
31BBCLASSEXTEND = "native" 29BBCLASSEXTEND = "native"
diff --git a/meta/packages/python/python-pygobject-native_2.21.1.bb b/meta/packages/python/python-pygobject-native_2.21.1.bb
index 7699f74b3b..d3602277a4 100644
--- a/meta/packages/python/python-pygobject-native_2.21.1.bb
+++ b/meta/packages/python/python-pygobject-native_2.21.1.bb
@@ -7,8 +7,6 @@ PARALLEL_MAKE = ""
7 7
8inherit native 8inherit native
9 9
10NATIVE_INSTALL_WORKS = "1"
11
12SRC_URI = "ftp://ftp.gnome.org/pub/GNOME/sources/pygobject/${MAJ_VER}/pygobject-${PV}.tar.bz2" 10SRC_URI = "ftp://ftp.gnome.org/pub/GNOME/sources/pygobject/${MAJ_VER}/pygobject-${PV}.tar.bz2"
13 11
14do_install_append() { 12do_install_append() {
diff --git a/meta/packages/python/python-pyrex-native_0.9.9.bb b/meta/packages/python/python-pyrex-native_0.9.9.bb
index ba70d7d167..90b6b16836 100644
--- a/meta/packages/python/python-pyrex-native_0.9.9.bb
+++ b/meta/packages/python/python-pyrex-native_0.9.9.bb
@@ -3,5 +3,3 @@ inherit native
3DEPENDS = "python-native" 3DEPENDS = "python-native"
4RDEPENDS = "" 4RDEPENDS = ""
5PR = "r0" 5PR = "r0"
6
7NATIVE_INSTALL_WORKS = "1"
diff --git a/meta/packages/python/python-scons-native_1.3.0.bb b/meta/packages/python/python-scons-native_1.3.0.bb
index d3dd65cbdf..a4bcd4258a 100644
--- a/meta/packages/python/python-scons-native_1.3.0.bb
+++ b/meta/packages/python/python-scons-native_1.3.0.bb
@@ -4,5 +4,3 @@ DEPENDS = "python-native"
4RDEPENDS = "" 4RDEPENDS = ""
5PR = "r0" 5PR = "r0"
6 6
7NATIVE_INSTALL_WORKS = "1"
8
diff --git a/meta/packages/python/python-urlgrabber-native_3.9.1.bb b/meta/packages/python/python-urlgrabber-native_3.9.1.bb
index 61c0f60d80..ff8f02ecd7 100644
--- a/meta/packages/python/python-urlgrabber-native_3.9.1.bb
+++ b/meta/packages/python/python-urlgrabber-native_3.9.1.bb
@@ -2,6 +2,3 @@ require python-urlgrabber_${PV}.bb
2inherit native 2inherit native
3DEPENDS = "python-native python-pycurl-native" 3DEPENDS = "python-native python-pycurl-native"
4RDEPENDS = "" 4RDEPENDS = ""
5
6NATIVE_INSTALL_WORKS = "1"
7
diff --git a/meta/packages/python/yum-metadata-parser-native_1.1.4.bb b/meta/packages/python/yum-metadata-parser-native_1.1.4.bb
index d7aae337e0..0a44b99e2c 100644
--- a/meta/packages/python/yum-metadata-parser-native_1.1.4.bb
+++ b/meta/packages/python/yum-metadata-parser-native_1.1.4.bb
@@ -5,5 +5,3 @@ RDEPENDS = ""
5PR = "r0" 5PR = "r0"
6 6
7#BUILD_CFLAGS += "-I${STAGING_LIBDIR}/glib-2.0" 7#BUILD_CFLAGS += "-I${STAGING_LIBDIR}/glib-2.0"
8
9NATIVE_INSTALL_WORKS = "1"
diff --git a/meta/packages/shasum/shasum.inc b/meta/packages/shasum/shasum.inc
index ad51bcc608..d5f1e8b928 100644
--- a/meta/packages/shasum/shasum.inc
+++ b/meta/packages/shasum/shasum.inc
@@ -17,7 +17,6 @@ do_compile() {
17 $CC $CFLAGS $CPPFLAGS -o oe_sha256sum main.c sha256.c 17 $CC $CFLAGS $CPPFLAGS -o oe_sha256sum main.c sha256.c
18} 18}
19 19
20NATIVE_INSTALL_WORKS = "1"
21do_install() { 20do_install() {
22 install -d ${D}${bindir}/ 21 install -d ${D}${bindir}/
23 install ${S}/oe_sha256sum ${D}${bindir}/ 22 install ${S}/oe_sha256sum ${D}${bindir}/
diff --git a/meta/packages/stage-manager/stagemanager-native_0.0.1.bb b/meta/packages/stage-manager/stagemanager-native_0.0.1.bb
index 63beb11add..d6c1b8cf52 100644
--- a/meta/packages/stage-manager/stagemanager-native_0.0.1.bb
+++ b/meta/packages/stage-manager/stagemanager-native_0.0.1.bb
@@ -17,7 +17,7 @@ INHIBIT_DEFAULT_DEPS = "1"
17 17
18PSTAGING_DISABLED = "1" 18PSTAGING_DISABLED = "1"
19 19
20NATIVE_INSTALL_WORKS = "1" 20# This function is special and allowed to onstall into staging directly
21do_install() { 21do_install() {
22 install -d ${STAGING_BINDIR} 22 install -d ${STAGING_BINDIR}
23 install -m 0755 ${WORKDIR}/stage-manager ${STAGING_BINDIR} 23 install -m 0755 ${WORKDIR}/stage-manager ${STAGING_BINDIR}
diff --git a/meta/packages/syslinux/syslinux_3.86.bb b/meta/packages/syslinux/syslinux_3.86.bb
index fb26a32fab..5edbd24086 100644
--- a/meta/packages/syslinux/syslinux_3.86.bb
+++ b/meta/packages/syslinux/syslinux_3.86.bb
@@ -35,7 +35,6 @@ do_compile() {
35 oe_runmake CC="${CC}" installer 35 oe_runmake CC="${CC}" installer
36} 36}
37 37
38NATIVE_INSTALL_WORKS = "1"
39do_install() { 38do_install() {
40 oe_runmake install INSTALLROOT="${D}" 39 oe_runmake install INSTALLROOT="${D}"
41 40
diff --git a/meta/packages/tzcode/tzcode-native_2009r.bb b/meta/packages/tzcode/tzcode-native_2009r.bb
index abe4783d00..c9a213b4f8 100644
--- a/meta/packages/tzcode/tzcode-native_2009r.bb
+++ b/meta/packages/tzcode/tzcode-native_2009r.bb
@@ -9,7 +9,6 @@ S = "${WORKDIR}"
9 9
10inherit native 10inherit native
11 11
12NATIVE_INSTALL_WORKS = "1"
13do_install () { 12do_install () {
14 install -d ${D}${bindir}/ 13 install -d ${D}${bindir}/
15 install -m 755 zic ${D}${bindir}/ 14 install -m 755 zic ${D}${bindir}/
diff --git a/meta/packages/uboot/u-boot-mkimage-native_1.3.2.bb b/meta/packages/uboot/u-boot-mkimage-native_1.3.2.bb
index 6922d69e07..fcba0d5662 100644
--- a/meta/packages/uboot/u-boot-mkimage-native_1.3.2.bb
+++ b/meta/packages/uboot/u-boot-mkimage-native_1.3.2.bb
@@ -16,7 +16,6 @@ do_compile () {
16 oe_runmake tools 16 oe_runmake tools
17} 17}
18 18
19NATIVE_INSTALL_WORKS = "1"
20do_install () { 19do_install () {
21 install -d ${D}${bindir}/ 20 install -d ${D}${bindir}/
22 install -m 0755 tools/mkimage ${D}${bindir}/uboot-mkimage 21 install -m 0755 tools/mkimage ${D}${bindir}/uboot-mkimage
diff --git a/meta/packages/uboot/u-boot-mkimage_2009.08.bb b/meta/packages/uboot/u-boot-mkimage_2009.08.bb
index 6e6ce1fca1..bf07198beb 100644
--- a/meta/packages/uboot/u-boot-mkimage_2009.08.bb
+++ b/meta/packages/uboot/u-boot-mkimage_2009.08.bb
@@ -17,7 +17,6 @@ do_compile () {
17 oe_runmake tools 17 oe_runmake tools
18} 18}
19 19
20NATIVE_INSTALL_WORKS = "1"
21do_install () { 20do_install () {
22 install -d ${D}${bindir} 21 install -d ${D}${bindir}
23 install -m 0755 tools/mkimage ${D}${bindir}/uboot-mkimage 22 install -m 0755 tools/mkimage ${D}${bindir}/uboot-mkimage
diff --git a/meta/packages/udev/udev_141.bb b/meta/packages/udev/udev_141.bb
index 5749e0a109..daadf6ec0c 100644
--- a/meta/packages/udev/udev_141.bb
+++ b/meta/packages/udev/udev_141.bb
@@ -63,6 +63,3 @@ do_install_append_h2200() {
63 install -m 0644 ${WORKDIR}/50-hostap_cs.rules ${D}${sysconfdir}/udev/rules.d/50-hostap_cs.rules 63 install -m 0644 ${WORKDIR}/50-hostap_cs.rules ${D}${sysconfdir}/udev/rules.d/50-hostap_cs.rules
64} 64}
65 65
66do_stage () {
67 autotools_stage_all
68}
diff --git a/meta/packages/udev/udev_145.bb b/meta/packages/udev/udev_145.bb
index ddde694503..9eba5d3bc5 100644
--- a/meta/packages/udev/udev_145.bb
+++ b/meta/packages/udev/udev_145.bb
@@ -63,6 +63,3 @@ do_install_append_h2200() {
63 install -m 0644 ${WORKDIR}/50-hostap_cs.rules ${D}${sysconfdir}/udev/rules.d/50-hostap_cs.rules 63 install -m 0644 ${WORKDIR}/50-hostap_cs.rules ${D}${sysconfdir}/udev/rules.d/50-hostap_cs.rules
64} 64}
65 65
66do_stage () {
67 autotools_stage_all
68}
diff --git a/meta/packages/uicmoc/uicmoc4-native.inc b/meta/packages/uicmoc/uicmoc4-native.inc
index 23821c3f96..b6933628d9 100644
--- a/meta/packages/uicmoc/uicmoc4-native.inc
+++ b/meta/packages/uicmoc/uicmoc4-native.inc
@@ -52,7 +52,6 @@ do_compile() {
52 done 52 done
53} 53}
54 54
55NATIVE_INSTALL_WORKS = "1"
56do_install() { 55do_install() {
57 install -d ${D}${bindir}/ 56 install -d ${D}${bindir}/
58 install -m 0755 bin/moc ${D}${bindir}//moc4 57 install -m 0755 bin/moc ${D}${bindir}//moc4
diff --git a/meta/packages/unifdef/unifdef-native_2.6.18+git.bb b/meta/packages/unifdef/unifdef-native_2.6.18+git.bb
index acdd6acf22..d879782b29 100644
--- a/meta/packages/unifdef/unifdef-native_2.6.18+git.bb
+++ b/meta/packages/unifdef/unifdef-native_2.6.18+git.bb
@@ -10,8 +10,6 @@ do_compile() {
10 ${CC} ${CFLAGS} ${LDFLAGS} -o unifdef ${WORKDIR}/unifdef.c 10 ${CC} ${CFLAGS} ${LDFLAGS} -o unifdef ${WORKDIR}/unifdef.c
11} 11}
12 12
13NATIVE_INSTALL_WORKS = "1"
14
15do_install() { 13do_install() {
16 install -d ${D}${bindir} 14 install -d ${D}${bindir}
17 install -m 0755 unifdef ${D}${bindir} 15 install -m 0755 unifdef ${D}${bindir}
diff --git a/meta/packages/unzip/unzip_6.0.bb b/meta/packages/unzip/unzip_6.0.bb
index 7b0f9dc721..069dfb8781 100644
--- a/meta/packages/unzip/unzip_6.0.bb
+++ b/meta/packages/unzip/unzip_6.0.bb
@@ -23,4 +23,3 @@ do_install() {
23} 23}
24 24
25BBCLASSEXTEND = "native" 25BBCLASSEXTEND = "native"
26NATIVE_INSTALL_WORKS = "1"
diff --git a/meta/packages/update-alternatives/update-alternatives-dpkg.inc b/meta/packages/update-alternatives/update-alternatives-dpkg.inc
index 91f9883ff3..106fa25e14 100644
--- a/meta/packages/update-alternatives/update-alternatives-dpkg.inc
+++ b/meta/packages/update-alternatives/update-alternatives-dpkg.inc
@@ -19,7 +19,6 @@ do_patch () {
19 p;' > ${S}/scripts/update-alternatives 19 p;' > ${S}/scripts/update-alternatives
20} 20}
21 21
22NATIVE_INSTALL_WORKS = "1"
23do_install () { 22do_install () {
24 install -d ${D}${sbindir} \ 23 install -d ${D}${sbindir} \
25 ${D}${localstatedir}/dpkg/alternatives \ 24 ${D}${localstatedir}/dpkg/alternatives \
diff --git a/meta/packages/update-rc.d/update-rc.d_0.7.bb b/meta/packages/update-rc.d/update-rc.d_0.7.bb
index 7f68d866de..03ac5c1a29 100644
--- a/meta/packages/update-rc.d/update-rc.d_0.7.bb
+++ b/meta/packages/update-rc.d/update-rc.d_0.7.bb
@@ -17,7 +17,6 @@ S = "${WORKDIR}/update-rc.d"
17do_compile() { 17do_compile() {
18} 18}
19 19
20NATIVE_INSTALL_WORKS = "1"
21do_install() { 20do_install() {
22 install -d ${D}${sbindir} 21 install -d ${D}${sbindir}
23 install -m 0755 ${S}/update-rc.d ${D}${sbindir}/update-rc.d 22 install -m 0755 ${S}/update-rc.d ${D}${sbindir}/update-rc.d
diff --git a/meta/packages/x-load/signgp-native.bb b/meta/packages/x-load/signgp-native.bb
index 36c5b6ce42..7eabb07bce 100644
--- a/meta/packages/x-load/signgp-native.bb
+++ b/meta/packages/x-load/signgp-native.bb
@@ -8,7 +8,6 @@ do_compile() {
8 ${CC} ${WORKDIR}/signGP.c -o signGP 8 ${CC} ${WORKDIR}/signGP.c -o signGP
9} 9}
10 10
11NATIVE_INSTALL_WORKS = "1"
12do_install() { 11do_install() {
13 install -d ${D}${bindir}/ 12 install -d ${D}${bindir}/
14 install -m 0755 signGP ${D}${bindir}/ 13 install -m 0755 signGP ${D}${bindir}/
diff --git a/meta/packages/yaffs2/yaffs2-utils.inc b/meta/packages/yaffs2/yaffs2-utils.inc
index a451f968c1..b25cc3b590 100644
--- a/meta/packages/yaffs2/yaffs2-utils.inc
+++ b/meta/packages/yaffs2/yaffs2-utils.inc
@@ -17,7 +17,6 @@ do_compile() {
17 cd utils && oe_runmake 17 cd utils && oe_runmake
18} 18}
19 19
20NATIVE_INSTALL_WORKS = "1"
21do_install() { 20do_install() {
22 install -d ${D}${sbindir}/ 21 install -d ${D}${sbindir}/
23 for i in mkyaffsimage mkyaffs2image; do 22 for i in mkyaffsimage mkyaffs2image; do
diff --git a/meta/packages/zaurus-updater/encdec-updater.bb b/meta/packages/zaurus-updater/encdec-updater.bb
index dfc157c026..c59d0e2976 100644
--- a/meta/packages/zaurus-updater/encdec-updater.bb
+++ b/meta/packages/zaurus-updater/encdec-updater.bb
@@ -10,7 +10,6 @@ do_compile() {
10 ${CC} -o encdec-updater ${WORKDIR}/encdec-updater.c 10 ${CC} -o encdec-updater ${WORKDIR}/encdec-updater.c
11} 11}
12 12
13NATIVE_INSTALL_WORKS = "1"
14do_install() { 13do_install() {
15 install -d ${D}${bindir} 14 install -d ${D}${bindir}
16 install -m 0755 encdec-updater ${D}${bindir}/ 15 install -m 0755 encdec-updater ${D}${bindir}/
diff --git a/meta/packages/zip/zip.inc b/meta/packages/zip/zip.inc
index 9a269ea890..9550447264 100644
--- a/meta/packages/zip/zip.inc
+++ b/meta/packages/zip/zip.inc
@@ -22,4 +22,3 @@ do_install() {
22} 22}
23 23
24BBCLASSEXTEND = "native" 24BBCLASSEXTEND = "native"
25NATIVE_INSTALL_WORKS = "1"