]> code.ossystems Code Review - openembedded-core.git/commitdiff
Finally deprecate all legacy do_stage functions. This changes the existing warning
authorRichard Purdie <rpurdie@linux.intel.com>
Thu, 22 Jul 2010 10:27:13 +0000 (11:27 +0100)
committerRichard Purdie <rpurdie@linux.intel.com>
Thu, 22 Jul 2010 10:44:28 +0000 (11:44 +0100)
into a fatal error if any legacy do_stage functions are found.

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
88 files changed:
meta-gnome/packages/gnome/libbonobo.inc
meta-gnome/packages/gnome/libbonoboui_2.18.0.bb
meta-gnome/packages/gnome/libgnome_2.24.0.bb
meta-gnome/packages/gnome/libgnomeui_2.24.0.bb
meta-gnome/packages/gnome/orbit2_2.14.16.bb
meta-gnome/packages/gthumb/gthumb_2.10.11.bb
meta-moblin/packages/boost/boost-jam-native.inc
meta-moblin/packages/consolekit/consolekit_0.3.0.bb
meta-moblin/packages/gnome/gnome-menus_2.24.1.bb
meta-moblin/packages/gnome/gvfs_1.0.2.bb
meta-moblin/packages/libnotify/libnotify_0.4.4.bb
meta-moblin/packages/pulseaudio/libcanberra_0.10.bb
meta-moblin/packages/pulseaudio/pulseaudio.inc
meta-moblin/packages/uicmoc/uicmoc3-native_3.3.5.bb
meta-moblin/packages/xorg-app/xterm_207.bb
meta-openmoko/packages/libspiff/libspiff_0.8.3.bb
meta-openmoko/packages/liburiparser/liburiparser_0.5.1.bb
meta-openmoko/packages/openmoko2/libjana_svn.bb
meta-openmoko/packages/openmoko2/libmokogsmd2_svn.bb
meta-openmoko/packages/openmoko2/libmokojournal2_svn.bb
meta-openmoko/packages/openmoko2/libmokopanelui2_svn.bb
meta-openmoko/packages/openmoko2/libmokoui2_svn.bb
meta-openmoko/packages/openmoko2/openmoko-libs.inc
meta-openmoko/packages/usbpath/usbpath-native_svn.bb
meta-openmoko/packages/usbpath/usbpath_svn.bb
meta-openmoko/packages/vala/vala_0.1.5.bb
meta/classes/autotools.bbclass
meta/classes/cpan.bbclass
meta/classes/cpan_build.bbclass
meta/classes/cross.bbclass
meta/classes/native.bbclass
meta/classes/staging.bbclass
meta/classes/xlibs.bbclass
meta/packages/automake/automake_1.11.1.bb
meta/packages/binutils/binutils-cross-canadian.inc
meta/packages/binutils/binutils-cross.inc
meta/packages/cdrtools/cdrtools-native_2.01.bb
meta/packages/dosfstools/dosfstools_2.10.bb
meta/packages/dosfstools/dosfstools_2.11.bb
meta/packages/fuse/fuse_2.7.2.bb
meta/packages/gcc/gcc-cross-kernel.inc
meta/packages/gcc/gcc-cross.inc
meta/packages/glibc/ldconfig-native_2.5.bb
meta/packages/gnu-config/gnu-config_20080123.bb
meta/packages/gtk-doc/gtk-doc.bb
meta/packages/insserv/insserv_1.11.0.bb
meta/packages/kern-tools/kern-tools-native_git.bb
meta/packages/libsoup/libsoup-2.4_2.31.2.bb
meta/packages/libsoup/libsoup-2.4_2.4.1.bb
meta/packages/makedevs/makedevs_1.0.0.bb
meta/packages/mesa/qemugl_git.bb
meta/packages/mtd/mtd-utils_1.3.1.bb
meta/packages/mutter/mutter.inc
meta/packages/nasm/nasm_2.07.bb
meta/packages/openssl/openssl.inc
meta/packages/opensync/libopensync_0.37.bb
meta/packages/opensync/libsyncml_0.5.4.bb
meta/packages/opkg-utils/opkg-utils_svn.bb
meta/packages/osc/osc-native_svn.bb
meta/packages/pango/pango.inc
meta/packages/pax-utils/pax-utils_0.2.1.bb
meta/packages/perl/perl-native_5.8.8.bb
meta/packages/pseudo/pseudo_git.bb
meta/packages/python/python-iniparse-native_0.3.2.bb
meta/packages/python/python-native_2.6.5.bb
meta/packages/python/python-pycurl_7.19.0.bb
meta/packages/python/python-pygobject-native_2.21.1.bb
meta/packages/python/python-pyrex-native_0.9.9.bb
meta/packages/python/python-scons-native_1.3.0.bb
meta/packages/python/python-urlgrabber-native_3.9.1.bb
meta/packages/python/yum-metadata-parser-native_1.1.4.bb
meta/packages/shasum/shasum.inc
meta/packages/stage-manager/stagemanager-native_0.0.1.bb
meta/packages/syslinux/syslinux_3.86.bb
meta/packages/tzcode/tzcode-native_2009r.bb
meta/packages/uboot/u-boot-mkimage-native_1.3.2.bb
meta/packages/uboot/u-boot-mkimage_2009.08.bb
meta/packages/udev/udev_141.bb
meta/packages/udev/udev_145.bb
meta/packages/uicmoc/uicmoc4-native.inc
meta/packages/unifdef/unifdef-native_2.6.18+git.bb
meta/packages/unzip/unzip_6.0.bb
meta/packages/update-alternatives/update-alternatives-dpkg.inc
meta/packages/update-rc.d/update-rc.d_0.7.bb
meta/packages/x-load/signgp-native.bb
meta/packages/yaffs2/yaffs2-utils.inc
meta/packages/zaurus-updater/encdec-updater.bb
meta/packages/zip/zip.inc

index 9f3642b80b8e034b34566f6a651570aace6ba95b..db5c58a51e465e44677066e2ab8b31511d1d741e 100644 (file)
@@ -27,38 +27,10 @@ do_configure_prepend() {
        install ${WORKDIR}/gtk-doc.make ./
 }
 
-ACTIVATION_HEADERS = "Bonobo_Unknown.h Bonobo_GenericFactory.h Bonobo_Activation_types.h \
-                     bonobo-activation.h bonobo-activation-async.h bonobo-activation-activate.h \
-                     bonobo-activation-init.h bonobo-activation-shlib.h bonobo-activation-register.h \
-                     bonobo-activation-server-info.h bonobo-activation-version.h"
-
-BONOBO_HEADERS = "Bonobo.h bonobo-arg.h bonobo-context.h bonobo-event-source.h bonobo-exception.h \
-                 bonobo-generic-factory.h bonobo-item-container.h bonobo-item-handler.h \
-                 bonobo-listener.h bonobo-main.h bonobo-macros.h bonobo-moniker-extender.h \
-                 bonobo-moniker-simple.h bonobo-moniker-util.h bonobo-moniker.h bonobo-object.h \
-                 bonobo-foreign-object.h bonobo-persist-file.h bonobo-persist-stream.h \
-                 bonobo-persist.h bonobo-persist-client.h bonobo-property-bag.h \
-                 bonobo-property-bag-client.h bonobo-shlib-factory.h  bonobo-storage.h \
-                 bonobo-stream.h bonobo-stream-client.h bonobo-stream-memory.h \
-                 bonobo-storage-memory.h bonobo-xobject.h bonobo-i18n.h bonobo-types.h \
-                 bonobo-app-client.h bonobo-application.h"
-
 do_compile() {
        oe_runmake ORBIT_IDL="${ORBIT_IDL_SRC}"
 }
 
-do_stage() {
-       install -d ${STAGING_INCDIR}/bonobo-activation-2.0/bonobo-activation
-       for i in ${ACTIVATION_HEADERS}; do install -m 0644 bonobo-activation/$i ${STAGING_INCDIR}/bonobo-activation-2.0/bonobo-activation/; done
-       install -d ${STAGING_INCDIR}/libbonobo-2.0/bonobo
-       for i in ${BONOBO_HEADERS}; do install -m 0644 bonobo/$i ${STAGING_INCDIR}/libbonobo-2.0/bonobo/; done
-       install -m 0644 libbonobo.h ${STAGING_INCDIR}/libbonobo-2.0/
-       install -d ${STAGING_DATADIR}/idl/bonobo-activation-2.0/
-       install idl/*.idl ${STAGING_DATADIR}/idl/bonobo-activation-2.0/
-       oe_libinstall -so -C bonobo libbonobo-2 ${STAGING_LIBDIR}
-       oe_libinstall -so -C bonobo-activation libbonobo-activation ${STAGING_LIBDIR}
-}
-
 do_install() {
        oe_runmake ORBIT_IDL="${ORBIT_IDL_SRC}" DESTDIR="${D}" install
 }
index 53380c6fa00321a0cff6433d0e0c6eb1d089dc34..85840f705c51813ec872f57978d66b773bc743ba 100644 (file)
@@ -13,47 +13,3 @@ FILES_${PN}-dbg += "${libdir}/bonobo-2.0/samples/.debug \
 DEPENDS = "libgnomecanvas libbonobo libgnome glib-2.0 gtk-doc gconf libxml2 libglade"
 
 EXTRA_OECONF = "--disable-gtk-doc"
-
-HEADERS = " \
-bonobo/bonobo-zoomable.h \
-bonobo/bonobo-ui-component.h \
-bonobo/bonobo-dock-layout.h \
-bonobo/bonobo-ui-type-builtins.h \
-bonobo/bonobo-canvas-component.h \
-bonobo/bonobo-widget.h \
-bonobo/bonobo-ui-engine.h \
-bonobo/bonobo-window.h \
-bonobo/bonobo-ui-toolbar.h \
-bonobo/bonobo-dock-band.h \
-bonobo/bonobo-ui-toolbar-item.h \
-bonobo/bonobo-control.h \
-bonobo/bonobo-dock-item.h \
-bonobo/bonobo-ui-config-widget.h \
-bonobo/bonobo-zoomable-frame.h \
-bonobo/bonobo-control-frame.h \
-bonobo/bonobo-dock.h \
-bonobo/bonobo-ui-main.h \
-bonobo/bonobo-canvas-item.h \
-bonobo/bonobo-ui-node.h \
-bonobo/bonobo-socket.h \
-bonobo/bonobo-selector.h \
-bonobo/bonobo-ui-sync.h \
-bonobo/bonobo-ui-util.h \
-bonobo/bonobo-plug.h \
-bonobo/bonobo-ui-toolbar-button-item.h \
-bonobo/bonobo-ui-toolbar-toggle-button-item.h \
-bonobo/bonobo-ui-container.h \
-bonobo/bonobo-file-selector-util.h \
-bonobo/bonobo-property-control.h \
-bonobo/bonobo-selector-widget.h \
-libbonoboui.h \
-bonobo.h \
-"
-
-do_stage() {
-       install -d ${STAGING_INCDIR}/libbonoboui-2.0/bonobo
-       for i in ${HEADERS}; do
-               install -m 0644 $i ${STAGING_INCDIR}/libbonoboui-2.0/$i
-       done
-       oe_libinstall -C bonobo -a -so libbonoboui-2 ${STAGING_LIBDIR}
-}
index 549cda285500d86192e4924f37fea2e0ba6b5f03..21c5aaa8c1d8406db249131f81b62e5831b9b277 100644 (file)
@@ -14,6 +14,3 @@ FILES_${PN} += "${libdir}/bonobo/servers ${libdir}/bonobo/monikers/*.so \
 FILES_${PN}-dev += "${libdir}/bonobo/monikers/*a"
 FILES_${PN}-dbg += "${libdir}/bonobo/monikers/.debug"
 
-do_stage() {
-       autotools_stage_all
-}
index d2169421408b789ee7759563fc0d09d0923b10dd..c379cee7295cf197ff5582149226608ee2556b40 100644 (file)
@@ -18,7 +18,3 @@ EXTRA_OECONF = "--disable-gtk-doc"
 do_configure_prepend() {
        install -m 0644 ${WORKDIR}/gnome-stock-pixbufs.h ${S}/libgnomeui/pixmaps/gnome-stock-pixbufs.h
 }
-
-do_stage() {
-    autotools_stage_all
-}
index 5f6e6f610580ba367408ac5ac2e9bf81ccb2cd81..42ade84d1fa518f4661aac501f7d65841f5aa91b 100644 (file)
@@ -28,19 +28,3 @@ do_configure_prepend() {
        install ${WORKDIR}/gtk-doc.make ./
 }
 
-do_stage() {
-       oe_libinstall -so -C src/orb libORBit-2 ${STAGING_LIBDIR}
-       oe_libinstall -so -C src/services/name libORBitCosNaming-2 ${STAGING_LIBDIR}
-       oe_libinstall -so -C src/services/imodule libORBit-imodule-2 ${STAGING_LIBDIR}
-       install -m 0644 src/services/name/libname-server-2.a ${STAGING_LIBDIR}/
-
-       for dir in orbit orbit/poa orbit/orb-core orbit/util orbit/dynamic; do
-               install -d ${STAGING_INCDIR}/orbit-2.0/$dir
-               ( cd include/$dir; for i in *.h; do install -m 0644 $i ${STAGING_INCDIR}/orbit-2.0/$dir/$i; done )
-       done
-
-       install -d ${STAGING_INCDIR}/orbit-2.0/ORBitservices
-       install -m 0644 src/services/name/CosNaming.h ${STAGING_INCDIR}/orbit-2.0/ORBitservices/
-       install -m 0644 src/services/name/CosNaming_impl.h ${STAGING_INCDIR}/orbit-2.0/ORBitservices/
-       install -m 0644 src/services/imodule/orbit-imodule.h ${STAGING_INCDIR}/orbit-2.0/ORBitservices/
-}
index 1b957e0a8d8bb951c722281c5755cc825d966fdc..2e588d71a813a7364688593706ce8650797503c6 100644 (file)
@@ -7,9 +7,5 @@ DEPENDS = "glib-2.0 gtk+ libbonobo libgnome libgnomeui gnome-vfs libxml2 libglad
 
 inherit gnome pkgconfig
 
-do_stage () {
-       autotools_stage_all
-}
-
 FILES_${PN} += "${datadir}/icons"
 FILES_${PN}-dbg += "${libdir}/gthumb/modules/.debug"
\ No newline at end of file
index 5293ea5e0937fae9b4b33ec184d98911faf4cc10..fe181ad00fb15fef2167c76fa96ac30d8f29bf4b 100644 (file)
@@ -21,7 +21,6 @@ do_compile() {
        ./build.sh gcc
 }
 
-NATIVE_INSTALL_WORKS = "1"
 # This is too terrible - the build script doesn't give any good
 # way I can see to find out where the binaries are placed, so
 # rely on only one bin.foo directory being created.
index b4656c099d55a2c803694d52bfb981015842887c..fcd735d7adc64f4fa738eba87e023cad05b30bdc 100644 (file)
@@ -8,10 +8,6 @@ SRC_URI = "http://people.freedesktop.org/~mccann/dist/ConsoleKit-${PV}.tar.bz2 \
            file://nopolkit.patch;patch=1"
 S = "${WORKDIR}/ConsoleKit-${PV}"
 
-do_stage () {
-       autotools_stage_all
-}
-
 FILES_${PN} += "${libdir}/ConsoleKit ${datadir}/dbus-1 ${datadir}/PolicyKit"
 
 
index dae1059b756559c1400c45ccc71842b29f2f6b28..c36b3ef50bc790b21726e9b31732c197ba1351bb 100644 (file)
@@ -5,10 +5,6 @@ inherit gnome pkgconfig
 
 DEPENDS += "intltool"
 
-do_stage() {
-       autotools_stage_all
-}
-
 PACKAGES += "${PN}-python"
 FILES_${PN} += "${datadir}/desktop-directories/"
 FILES_${PN}-python = "${libdir}/python*"
index b4eab9bd8d8084fedf3a9ae8f78a797dc37d6a41..da071c4a6435ec93126136e3f77b3f933ca4ca34 100644 (file)
@@ -15,7 +15,3 @@ FILES_${PN}-dev += "${libdir}/gio/modules/*.la"
 FILES_gvfsd-ftp = "${libexecdir}/gvfsd-ftp ${sysconfdir}/gvfs/mounts/ftp.mount"
 FILES_gvfsd-sftp = "${libexecdir}/gvfsd-sftp ${sysconfdir}/gvfs/mounts/sftp.mount"
 FILES_gvfsd-trash = "${libexecdir}/gvfsd-trash ${sysconfdir}/gvfs/mounts/trash.mount"
-do_stage() {
-       autotools_stage_all
-}
index 7c95fb2ad61dd12398ce92b4498433bba9ff5518..a3f622e84dc0acf1fb040a40bfba5d1107648a96 100644 (file)
@@ -8,7 +8,3 @@ PR = "r0"
 SRC_URI = "http://www.galago-project.org/files/releases/source/${PN}/${PN}-${PV}.tar.gz"
 
 inherit autotools pkgconfig
-
-do_stage() {
-       autotools_stage_all
-}
index 93f02c845985bb43f75c371c5025ae8663cbd77a..c6d25dccb0062d0764a13d4d83c39eabf2d6b4ae 100644 (file)
@@ -20,10 +20,3 @@ FILES_${PN}-dbg += "${libdir}/gtk-2.0/modules/.debug"
 
 AUTOTOOLS_STAGE_PKGCONFIG = "1"
 
-do_stage() {
-        autotools_stage_all
-}
-
-
-
-
index 2390e341fdeee02cb230c115bb42db6e208e65c2..fd8e60c4711836eb5cfecbbc93c1239225bfa8f0 100644 (file)
@@ -34,10 +34,6 @@ export TARGET_PFPU = "${TARGET_FPU}"
 OE_LT_RPATH_ALLOW = "any"
 OE_LT_RPATH_ALLOW[export]="1"
 
-do_stage() {
-       autotools_stage_all
-}
-
 do_install_append() {
        install -d ${D}${sysconfdir}/default/volatiles
        install -m 0644 ${WORKDIR}/volatiles.04_pulse  ${D}${sysconfdir}/default/volatiles/volatiles.04_pulse
index 1203571f5a6e83b5fc26047530da3db772854cfa..68582850a22c1cee8ea87d702f8c64f15203ea24 100644 (file)
@@ -36,7 +36,6 @@ do_compile() {
     oe_runmake sub-tools || die "Building tools failed"
 }
 
-NATIVE_INSTALL_WORKS = "1"
 do_install() {
        install -d ${D}${bindir}/
        install -d ${D}/qte3/lib/
index 547b42d0f18034e7a8589e2d90020d93ef78dde9..aae600b545084eccd53b96d462fdeee3a5866975 100644 (file)
@@ -22,7 +22,3 @@ do_configure() {
 
        oe_runconf
 }
-
-do_stage() {
-       autotools_stage_all
-}
index f91005ec8ab5cae24cbd21322d647fdf28fa109a..f10ff59f698214d5c81d8838582caa7760840be8 100644 (file)
@@ -19,7 +19,3 @@ EXTRA_OECONF = "\
 
 CPPFLAGS += "-I${S}/include"
 
-do_stage() {
-       autotools_stage_all
-}
-
index 60c88cba2352ea3522c7819049a6a7dc499b9767..55ef0a057ec6c2b67aa75642ffa443456125d4bb 100644 (file)
@@ -9,7 +9,4 @@ S = "${WORKDIR}/uriparser-${PV}"
 
 inherit autotools pkgconfig
 
-do_stage() {
-       autotools_stage_all
-}
 
index 48779e50fed78f4509f605031a3ce0c6730de132..85d0f4a63152482b1b51f26a16c6575269135258 100644 (file)
@@ -14,10 +14,6 @@ do_configure_prepend() {
        touch gtk-doc.make
 }
 
-do_stage() {
-       autotools_stage_all
-}
-
 PACKAGES =+ "libjana-ecal libjana-ecal-dbg \
              libjana-gtk libjana-gtk-dbg \ 
             "
index 5625bf809d3ba19caedb79f7646cbec798bd084e..261116ece75ea199594311aec34a1a45b2472c91 100644 (file)
@@ -5,7 +5,3 @@ PR = "r2"
 
 inherit openmoko2
 
-do_stage() {
-        autotools_stage_all
-}
-
index 354b8e3f26e753f7e655cc55a74ba40c91cd052f..d9fd351c842ce995fa9dddb30ec20aac844a971e 100644 (file)
@@ -9,7 +9,4 @@ do_configure_prepend() {
         touch gtk-doc.make
 }
 
-do_stage() {
-        autotools_stage_all
-}
 
index a8d53ff2d549c21487b6f79636847bdb191a38e0..a715ff8f0df7b006c03d15e48a920d6c7dfdd639 100644 (file)
@@ -4,7 +4,3 @@ PV = "0.3.0+svnr${SRCREV}"
 PR = "r0"
 
 inherit openmoko2
-
-do_stage() {
-        autotools_stage_all
-}
index 3785074a823acc954a969359c96bb4fee4cc93b0..f427fa8f9935f98236a618aba8f444f851ef14b3 100644 (file)
@@ -8,8 +8,3 @@ inherit openmoko2
 do_configure_prepend() {
         touch gtk-doc.make
 }
-
-do_stage() {
-        autotools_stage_all
-}
-
index 9166934fee4a8dcbe780749bc8e2d05352ee38f3..13a9d8d62f253d2aae1293363a7bc404a46e4ce7 100644 (file)
@@ -7,7 +7,3 @@ inherit autotools pkgconfig
 SRC_URI = "svn://svn.openmoko.org/trunk/src/target/OM-2007.2/libraries;module=${REAL_PN};proto=http"
 
 S = "${WORKDIR}/${PN}"
-
-do_stage() {
-    autotools_stage_all
-}
index 3b5ef7bdcd052e259e85f923f32fff933e895f33..7389e161c47901e08ddcb26891285ae4cd91eda1 100644 (file)
@@ -1,8 +1,3 @@
 require usbpath_svn.bb
 inherit native
 DEPENDS = "libusb-native"
-
-do_stage () {
-       autotools_stage_all
-}
-
index 0a06477b9a69fc176d377fbebadac8f101a38d04..0c0873ffe13d76a26609656f5485d8ffcebe34d2 100644 (file)
@@ -12,7 +12,3 @@ S = "${WORKDIR}/usbpath"
 
 inherit autotools
 
-do_stage () {
-       autotools_stage_all
-}
-
index 0d357945b7d8b5decececeee365dff81bdc1c6ec..b83d19650a57e41856372ccd890d3e8391aefa89 100644 (file)
@@ -9,7 +9,3 @@ S = "${WORKDIR}/vala-${PV}"
 
 inherit autotools lib_package
 
-do_stage() {
-       autotools_stage_all
-}
-
index 20dc72a1dfed07c1ebd11f2c91ab84f19e68144b..649e269f3ee9eb1ada990eba875a225d82f0d967 100644 (file)
@@ -1,6 +1,3 @@
-# use autotools_stage_all for native packages
-AUTOTOOLS_NATIVE_STAGE_INSTALL = "1"
-
 def autotools_dep_prepend(d):
        if bb.data.getVar('INHIBIT_AUTOTOOLS_DEPS', d, 1):
                return ''
@@ -204,8 +201,4 @@ autotools_stage_all() {
        rm -rf ${STAGE_TEMP}
 }
 
-do_stage () {
-       autotools_stage_all
-}
-
 EXPORT_FUNCTIONS do_configure do_install
index 3b1280c07b3a72733ed5fad175826c7c055d6c7d..513f0b3ce72cc5ef5e9ca54234a802973eb04be7 100644 (file)
@@ -31,9 +31,8 @@ cpan_do_compile () {
        oe_runmake PASTHRU_INC="${CFLAGS}" CCFLAGS="${CFLAGS}" LD="${CCLD}"
 }
 
-NATIVE_INSTALL_WORKS = "1"
 cpan_do_install () {
        oe_runmake DESTDIR="${D}" install_vendor
 }
 
-EXPORT_FUNCTIONS do_configure do_compile do_install do_stage
+EXPORT_FUNCTIONS do_configure do_compile do_install
index 944e8d4ac06922a4580d5293cd54a08e963afc54..dd8d5434d51b92407d0c9f87fb15aaeffd437562 100644 (file)
@@ -42,7 +42,6 @@ cpan_build_do_compile () {
         perl Build
 }
 
-NATIVE_INSTALL_WORKS = "1"
 cpan_build_do_install () {
        perl Build install
 }
index b7dbd86c356f6c159a7256c8a0552b8fba240524..de44e99d70c241c039cc5e87196231cd79ec94a7 100644 (file)
@@ -50,10 +50,6 @@ do_install () {
        oe_runmake 'DESTDIR=${D}' install
 }
 
-do_stage () {
-       autotools_stage_all
-}
-
 #
 # Override the default sysroot staging copy since this won't look like a target system
 #
index 9d678fd802978bbb89683cb4495d48e964db6d56..529f1c259d90309732d2bc08d9d3b1cedbc0f230 100644 (file)
@@ -66,25 +66,6 @@ STAGING_DIR_TARGET = ""
 SHLIBSDIR = "${STAGING_DIR_NATIVE}/shlibs"
 PKG_CONFIG_DIR = "${libdir}/pkgconfig"
 
-#
-# If changing this function, please make sure packaged-staging.bbclass is
-# updated too
-#
-do_stage_native () {
-       # If autotools is active, use the autotools staging function, else 
-       # use our "make install" equivalent
-       if [ "${AUTOTOOLS_NATIVE_STAGE_INSTALL}" == "1" ]
-       then
-               autotools_stage_all
-       else
-               oe_runmake install
-       fi
-}
-
-do_stage () {
-       do_stage_native
-}
-
 PKG_CONFIG_PATH .= "${EXTRA_NATIVE_PKGCONFIG_PATH}"
 PKG_CONFIG_SYSROOT_DIR = ""
 
@@ -93,11 +74,6 @@ ORIG_DEPENDS := "${DEPENDS}"
 DEPENDS_virtclass-native ?= "${ORIG_DEPENDS}"
 
 python __anonymous () {
-    # If we've a legacy native do_stage, we need to neuter do_install
-    stagefunc = bb.data.getVar('do_stage', d, True)
-    if (stagefunc.strip() != "do_stage_native" and stagefunc.strip() != "autotools_stage_all") and bb.data.getVar('AUTOTOOLS_NATIVE_STAGE_INSTALL', d, 1) == "1":
-        bb.data.setVar("do_install", "      :", d)
-
     if "native" in (bb.data.getVar('BBCLASSEXTEND', d, True) or ""):
         pn = bb.data.getVar("PN", d, True)
         depends = bb.data.getVar("DEPENDS_virtclass-native", d, True)
index b771b92fae00883a68dbda47362921868aa6a56a..0b2e457a93faf05f7a620c4fa71323f310aec9f8 100644 (file)
@@ -76,21 +76,6 @@ sysroot_stage_all() {
        sysroot_stage_dirs ${D} ${SYSROOT_DESTDIR}
 }
 
-def is_legacy_staging(d):
-    stagefunc = bb.data.getVar('do_stage', d, True)
-    legacy = True
-    if stagefunc is None:
-        legacy = False
-    elif stagefunc.strip() == "use_do_install_for_stage":
-        legacy = False
-    elif stagefunc.strip() == "autotools_stage_all":
-        legacy = False
-    elif stagefunc.strip() == "do_stage_native" and bb.data.getVar('AUTOTOOLS_NATIVE_STAGE_INSTALL', d, 1) == "1":
-        legacy = False
-    elif bb.data.getVar('NATIVE_INSTALL_WORKS', d, 1) == "1":
-        legacy = False
-    return legacy
-
 do_populate_sysroot[dirs] = "${STAGING_DIR_TARGET}/${bindir} ${STAGING_DIR_TARGET}/${libdir} \
                             ${STAGING_DIR_TARGET}/${includedir} \
                             ${STAGING_BINDIR_NATIVE} ${STAGING_LIBDIR_NATIVE} \
@@ -119,36 +104,31 @@ python do_populate_sysroot () {
     pstageactive = (bb.data.getVar("PSTAGING_ACTIVE", d, True) == "1")
     lockfile = bb.data.getVar("SYSROOT_LOCK", d, True)
     stagefunc = bb.data.getVar('do_stage', d, True)
-    legacy = is_legacy_staging(d)
-    if legacy:
-        bb.data.setVar("SYSROOT_DESTDIR", "", d)
-        bb.note("Legacy staging mode for %s" % bb.data.getVar("FILE", d, True))
-        lock = bb.utils.lockfile(lockfile)
-        bb.build.exec_func('populate_sysroot_prehook', d)
-        bb.build.exec_func('do_stage', d)
-        for f in (bb.data.getVar('SYSROOT_PREPROCESS_FUNCS', d, True) or '').split():
-            bb.build.exec_func(f, d)
-        bb.build.exec_func('populate_sysroot_posthook', d)
-        bb.utils.unlockfile(lock)
-    else:
-        dest = bb.data.getVar('D', d, True)
-        sysrootdest = bb.data.expand('${SYSROOT_DESTDIR}${STAGING_DIR_TARGET}', d)
-        bb.mkdirhier(sysrootdest)
-
-        bb.build.exec_func("sysroot_stage_all", d)
-        #os.system('cp -pPR %s/* %s/' % (dest, sysrootdest))
-        for f in (bb.data.getVar('SYSROOT_PREPROCESS_FUNCS', d, True) or '').split():
-            bb.build.exec_func(f, d)
-        bb.build.exec_func("packagedstaging_fastpath", d)
-
-        lock = bb.utils.lockfile(lockfile)
-        os.system(bb.data.expand('cp -pPR ${SYSROOT_DESTDIR}${TMPDIR}/* ${TMPDIR}/', d))
-        bb.utils.unlockfile(lock)
+
+    dest = bb.data.getVar('D', d, True)
+    sysrootdest = bb.data.expand('${SYSROOT_DESTDIR}${STAGING_DIR_TARGET}', d)
+    bb.mkdirhier(sysrootdest)
+
+    bb.build.exec_func("sysroot_stage_all", d)
+    #os.system('cp -pPR %s/* %s/' % (dest, sysrootdest))
+    for f in (bb.data.getVar('SYSROOT_PREPROCESS_FUNCS', d, True) or '').split():
+        bb.build.exec_func(f, d)
+    bb.build.exec_func("packagedstaging_fastpath", d)
+
+    lock = bb.utils.lockfile(lockfile)
+    os.system(bb.data.expand('cp -pPR ${SYSROOT_DESTDIR}${TMPDIR}/* ${TMPDIR}/', d))
+    bb.utils.unlockfile(lock)
 }
 
+def is_legacy_staging(d):
+    stagefunc = bb.data.getVar('do_stage', d, True)
+    if stagefunc is None:
+        return False
+    return True
+
 python () {
     if is_legacy_staging(d):
-        bb.note("Legacy staging mode for %s" % bb.data.getVar("FILE", d, True))
+        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))
 }
 
 
index fc52400b9fd52317a993f811365bedbcfa67a3a3..7271d7b029861a1d31c6cb3bac885704382b18c7 100644 (file)
@@ -5,11 +5,3 @@ XLIBS_CVS = "${FREEDESKTOP_CVS}/xlibs"
 
 inherit autotools pkgconfig
 
-do_stage() {
-       oe_runmake install prefix=${STAGING_DIR_HOST}${prefix} \
-              bindir=${STAGING_BINDIR} \
-              includedir=${STAGING_INCDIR} \
-              libdir=${STAGING_LIBDIR} \
-              datadir=${STAGING_DATADIR} \
-               mandir=${STAGING_DIR_HOST}${mandir}
-}
index 067898a44f0bf6c8697d548bd86e7c153ba61f3e..a78b6901f1b6d4ea9f2e49043cedb79f43b0f50f 100644 (file)
@@ -33,7 +33,6 @@ PATHFIXPATCH_virtclass-native = ""
 
 SRC_URI += "${PATHFIXPATCH}"
 
-NATIVE_INSTALL_WORKS = "1"
 do_install () {
        oe_runmake 'DESTDIR=${D}' install
        install -d ${D}${datadir}
index 9fe3ed54512b417bebe87d9a72dd1806b8327b24..23dfa161ebf1e681e43d5301a76d9c008425abad 100644 (file)
@@ -18,7 +18,3 @@ do_install () {
         install -m 644 ${S}/include/ansidecl.h ${D}${includedir}
         install -m 644 ${S}/include/libiberty.h ${D}${includedir}
 }
-
-do_stage () {
-    use_do_install_for_stage
-}
index f784a66ce052e5a5c006275dfdb5707458020db8..b5310a618756f7f6f5cea51e657766e5e5c933b1 100644 (file)
@@ -23,7 +23,3 @@ do_install () {
        rmdir ${D}${STAGING_DIR_NATIVE}${prefix_native}/${libdir}64 || :
        rmdir ${D}${STAGING_DIR_NATIVE}${prefix_native}/${prefix} || :
 }
-
-do_stage () {
-       use_do_install_for_stage
-}
index b4b496f6e740cde7e9feaaa855393eee80b37888..2421b23640c33ebf8bca6aaef798d2de2935222e 100644 (file)
@@ -15,7 +15,6 @@ inherit native
 
 STAGE_TEMP="${WORKDIR}/image-temp"
 
-NATIVE_INSTALL_WORKS = "1"
 do_install() {
        install -d ${STAGE_TEMP}
        make install INS_BASE=${STAGE_TEMP}
index 4d8f6fb8e03a3994dae4e5ad6afea4792e462a6a..100044b75d0469856941507b9963324a3316aad3 100644 (file)
@@ -16,7 +16,6 @@ SRC_URI = "ftp://ftp.uni-erlangen.de/pub/Linux/LOCAL/dosfstools/dosfstools-${PV}
            file://msdos_fat12_undefined.patch;patch=1 \
           file://include-linux-types.patch;patch=1"
 
-NATIVE_INSTALL_WORKS = "1"
 do_install () {
        oe_runmake "PREFIX=${D}" "SBINDIR=${D}${sbindir}" \
                   "MANDIR=${D}${mandir}/man8" install
index 91430c0b6bcab144799303427a3bc397177664bb..a5f6e034dd35e8ad3e6c038af50511d569bfd1b0 100644 (file)
@@ -15,7 +15,6 @@ SRC_URI = "ftp://ftp.uni-erlangen.de/pub/Linux/LOCAL/dosfstools/dosfstools-${PV}
            file://msdos_fat12_undefined.patch;patch=1 \
           file://include-linux-types.patch;patch=1"
 
-NATIVE_INSTALL_WORKS = "1"
 do_install () {
        oe_runmake "PREFIX=${D}" "SBINDIR=${D}${sbindir}" \
                   "MANDIR=${D}${mandir}/man8" install
index a1795e7f0c0cec4d249d9aa08a3ae160014c9065..d284a25f5f6b211bae5d00c5230ee992ae3c3a34 100644 (file)
@@ -20,8 +20,3 @@ FILES_fuse-utils-dbg = "${bindir}/.debug ${base_sbindir}/.debug"
 DEBIAN_NOAUTONAME_fuse-utils = "1"
 DEBIAN_NOAUTONAME_fuse-utils-dbg = "1"
 
-fakeroot do_stage() {
-        autotools_stage_all
-}
-
-
index 02d44583c929d31c9cd97296de5900bcfe3e4970..534776276267f047cedf10f5da495ef07c507842 100644 (file)
@@ -8,7 +8,3 @@ do_install () {
        oe_runmake 'DESTDIR=${D}' install-common install-headers install-libgcc
        install -m 0755 xgcc ${D}${STAGING_DIR_NATIVE}${prefix_native}/bin/${TARGET_PREFIX}gcc-${PV}
 }
-
-do_stage () {
-    use_do_install_for_stage
-}
\ No newline at end of file
index 02b23ffce0609b0bfc3eed6df765289e957379f4..5a796bcde6a78a6998a70277716bdb7d49f166d8 100644 (file)
@@ -3,10 +3,6 @@ inherit cross
 DEPENDS = "virtual/${TARGET_PREFIX}binutils virtual/${TARGET_PREFIX}libc-for-gcc ${NATIVEDEPS}"
 PROVIDES = "virtual/${TARGET_PREFIX}gcc virtual/${TARGET_PREFIX}g++"
 
-do_stage () {
-    use_do_install_for_stage
-}
-
 require gcc-configure-cross.inc
 require gcc-package-cross.inc
 
index 3c3a1b1a64570eab2c7780d5d95bc87b808a19ab..d08787af6d1aef938fa810fe674a11794626251c 100644 (file)
@@ -14,7 +14,6 @@ do_compile () {
        $CC ldconfig.c -std=gnu99 chroot_canon.c xmalloc.c xstrdup.c cache.c readlib.c  -I. dl-cache.c -o ldconfig
 }
 
-NATIVE_INSTALL_WORKS = "1"
 do_install () {
        install -d ${D}/${bindir}/
        install ldconfig ${D}/${bindir}/
index 5dc76524d36fbabebc8906c9319cb2a7afb0aa1d..66d027e933a01d542508b317e5568112b0f56671 100644 (file)
@@ -36,4 +36,3 @@ PACKAGES = "${PN}"
 FILES_${PN} = "${bindir} ${datadir}/gnu-config"
 
 BBCLASSEXTEND = "native"
-NATIVE_INSTALL_WORKS = "1"
index b60bc85ed38b63ee81600761bd8330d33b6f66a0..3f5e29121bab1a0af6cd77e900387cd7bb28c0d6 100644 (file)
@@ -7,7 +7,6 @@ ALLOW_EMPTY_${PN} = "1"
 
 BBCLASSEXTEND = "native"
 
-NATIVE_INSTALL_WORKS = "1"
 do_install () {
        install -d ${D}${datadir}/aclocal/
        install -m 0644 ${WORKDIR}/gtk-doc.m4 ${D}${datadir}/aclocal/
index 0fe439ba69ef0aeadbb81de45364b2952ca373b0..a45ccda48f9866c968681f6544ea90915da6f55d 100644 (file)
@@ -9,7 +9,6 @@ SRC_URI = "ftp://ftp.suse.com/pub/projects/init/${BPN}-${PV}.tar.gz \
         file://crosscompile_fix.patch;patch=1 \
         file://insserv.conf"
 
-NATIVE_INSTALL_WORKS = "1"
 do_install () {
        oe_runmake 'DESTDIR=${D}' install
        install -m0644 ${WORKDIR}/insserv.conf ${D}${sysconfdir}/insserv.conf
index 417bcb689bbd3c8f020778d18f6eb202ddded716..4e4b86b979add1e8c5a4217ec4ba5a359b05ff15 100644 (file)
@@ -7,9 +7,6 @@ DEPENDS = "git-native"
 PR = r4
 PV = "0.1+git${SRCPV}"
 
-# needed until the native do_stage goes away
-NATIVE_INSTALL_WORKS=1
-
 inherit native
 
 SRC_URI = "git://git.pokylinux.org/wr-kernel-tools.git;protocol=git"
index da1499b5fcdb057373522536cde5eb1f31e5e62c..9a00e07da0e1a0237fb3af9a0adb7204a01ca91e 100644 (file)
@@ -15,6 +15,3 @@ S = "${WORKDIR}/libsoup-${PV}"
 
 inherit autotools pkgconfig
 
-do_stage() {
-       autotools_stage_all
-}
index 303f667dcf3b7edc710e8c6433468f90e94ec4d8..f48ac3d6c9d9bc5c70435c78b2bed346f8e6a3ce 100644 (file)
@@ -9,6 +9,3 @@ S = "${WORKDIR}/libsoup-${PV}"
 
 inherit autotools pkgconfig
 
-do_stage() {
-       autotools_stage_all
-}
index 7e877652074b080dc353b1eb894ffad0bda94fdb..5db2d9b142aad6841710864ef8ad624d3816cda7 100644 (file)
@@ -19,4 +19,3 @@ do_install() {
 }
 
 BBCLASSEXTEND = "native"
-NATIVE_INSTALL_WORKS = "1"
index 086553fecc66c1f06b2e5daf2d3e21531e307051..5472901111b4c2c73c3f7fb769b0236628d39c52 100644 (file)
@@ -16,7 +16,6 @@ PR = "r6"
 
 DEFAULT_PREFERENCE = "-1"
 
-NATIVE_INSTALL_WORKS = "1"
 do_install () {
        install -d ${D}${libdir}/
     if [ "${PN}" != "qemugl-nativesdk" ]; then
index 909b28b21cdd2630394547d83cc7f1666c5095e9..faa2332a2500d8a02e9690cb6c4a876b88780f16 100644 (file)
@@ -24,4 +24,3 @@ do_install () {
 PARALLEL_MAKE = ""
 
 BBCLASSEXTEND = "native"
-NATIVE_INSTALL_WORKS = "1"
index 860d9906d577beec4a8c886b2a14375d576bd151..456348754f8f90187ab2e2422fca54f3b467775a 100644 (file)
@@ -28,10 +28,6 @@ do_configure_prepend () {
         echo "EXTRA_DIST=" > ${S}/gnome-doc-utils.make
 }              
 
-do_stage () {
-        autotools_stage_all
-}
-
 pkg_postinst_${PN} () {
 #!/bin/sh -e
 if [ "x$D" != "x" ]; then
index 5c4f9f6923da34a8df77c6f1c4f8fdecb21216ab..4e482a04d6c2671210fa625b0055ee6a71dad57f 100644 (file)
@@ -22,4 +22,3 @@ do_install() {
 }
 
 BBCLASSEXTEND = "native"
-NATIVE_INSTALL_WORKS = "1"
index a2a1ce67b8257628bbe0c6cc59c607c3159f5d2f..2482585c64b055d0a994e126b7b9ac01c0d00bdc 100644 (file)
@@ -91,7 +91,6 @@ do_compile () {
        oe_runmake
 }
 
-NATIVE_INSTALL_WORKS = "1"
 do_install () {
        install -m 0755 -d ${D}${libdir}/pkgconfig
        oe_runmake INSTALL_PREFIX="${D}" install
index 0748bec99a9610bbf0136a83c9d62c36801e5150..e9b8ce202ee98af4b5183a8f807e4d4c4e2064d1 100644 (file)
@@ -23,6 +23,3 @@ FILES_${PN} += " ${libdir}/opensync*/formats/*.so \
 FILES_${PN}-dbg += " ${libdir}/opensync*/formats/.debug/*.so \
                     ${libdir}/opensync*/.debug/osplugin "
 
-do_stage() {
-    autotools_stage_all
-}
index 394b3489de71789996f6ceb7da9f6e8c380523b0..7feb5e0f18b15fb50392c5c343f4aa5e9ca9cb1e 100644 (file)
@@ -9,10 +9,6 @@ SRC_URI = "${SOURCEFORGE_MIRROR}/libsyncml/0.5.4/libsyncml-0.5.4.tar.bz2 \
 
 inherit cmake pkgconfig
 
-do_stage() {
-        autotools_stage_all
-}
-
 PACKAGES += "${PN}-tools"
 
 FILES_${PN}-tools = "${bindir}"
index 18259b3c39a7f6998d037e1a3cb50f151ae873c3..f3b6f1f4cb0e3fc7662e2e9245287469c9adf7f9 100644 (file)
@@ -21,5 +21,4 @@ do_install() {
        oe_runmake PREFIX=${prefix} DESTDIR=${D} install
 }
 
-NATIVE_INSTALL_WORKS = "1"
 BBCLASSEXTEND = "native"
index ef9a42a00a77f5d7b7842409f9167f736dd3fdaf..ab0ee0ba3a764384a22182a5858334e00cc59185 100755 (executable)
@@ -12,7 +12,6 @@ S = "${WORKDIR}/osc"
 
 inherit native
 
-NATIVE_INSTALL_WORKS = "1"
 do_install() {
         BUILD_SYS=${BUILD_SYS} HOST_SYS=${HOST_SYS} \
         STAGING_LIBDIR=${STAGING_LIBDIR} STAGING_INCDIR=${STAGING_INCDIR} \
index 2e28cc443144decde7ff7bb38c606e6e4f9d13ee..fa22fa578ed7a98069cc521abe8d4f56b8304040 100644 (file)
@@ -26,10 +26,6 @@ EXTRA_OECONF = "--disable-glibtest \
 LEAD_SONAME = "libpango-1.0*"
 LIBV = "1.6.0"
 
-do_stage () {
-       autotools_stage_all
-}
-
 postinst_prologue() {
 if [ "x$D" != "x" ]; then
   exit 1
index 404b90c69a2f2e5784c9d659bc906146372bc9a3..f450f32f1ca9636075aeb9a1947bca327ad4e5fd 100644 (file)
@@ -10,5 +10,4 @@ do_install() {
     oe_runmake PREFIX=${D}${prefix} DESTDIR=${D} install
 }
 
-NATIVE_INSTALL_WORKS = "1"
 BBCLASSEXTEND = "native"
index 05b4c1e64e55e0c84e5b378984df049de0d24316..534b6700dfc99542d6748d6f0a17d31c24579851 100644 (file)
@@ -56,7 +56,6 @@ do_configure () {
                -Uusenm -des
 }
 
-NATIVE_INSTALL_WORKS = "1"
 do_install () {
        oe_runmake 'DESTDIR=${D}' install
 
index 92ea897d66fdb207f117e3c365c662146307d058..88c7ee2c5ac77242043a0027869f98e2fb906ba4 100644 (file)
@@ -30,8 +30,6 @@ do_install () {
        oe_runmake 'DESTDIR=${D}' install
 }
 
-NATIVE_INSTALL_WORKS = "1"
-
 BBCLASSEXTEND = "native"
 
 
index 85c7a27ac08bd23fbf699f375180e4cf25c027fd..41aa13d97a2bfe74d7ee6a4bdf426692bd7c56c2 100644 (file)
@@ -3,5 +3,4 @@ inherit native
 DEPENDS = "python-native"
 RDEPENDS = ""
 PR = "r0"
-NATIVE_INSTALL_WORKS = "1"
 
index d766853c1855b3aa74481d2fca2a1ca5369fe849..cb95e4b96455d23f4ad5e21e31888c77ab6b463b 100644 (file)
@@ -23,7 +23,6 @@ EXTRA_OEMAKE = '\
   STAGING_INCDIR=${STAGING_INCDIR_NATIVE} \
 '
 
-NATIVE_INSTALL_WORKS = "1"
 do_install() {
        oe_runmake 'DESTDIR=${D}' install
        install -d ${D}${bindir}/
index 2af031ebd1a2926c8b4807461dd35cf30ee0c32b..1a04767266e5928bedd01c11df1c5c95240c6b27 100644 (file)
@@ -26,6 +26,4 @@ export HOST_SYS
 export STAGING_INCDIR
 export STAGING_LIBDIR
 
-NATIVE_INSTALL_WORKS = "1"
-
 BBCLASSEXTEND = "native"
index 7699f74b3bf7a0d53141b5bca13493d7c8328c07..d3602277a430dae0544fe185d9aba5e98778bacd 100644 (file)
@@ -7,8 +7,6 @@ PARALLEL_MAKE = ""
 
 inherit native
 
-NATIVE_INSTALL_WORKS = "1"
-
 SRC_URI = "ftp://ftp.gnome.org/pub/GNOME/sources/pygobject/${MAJ_VER}/pygobject-${PV}.tar.bz2"
 
 do_install_append() {
index ba70d7d1675e182517b1f493e54c783ea17c57b0..90b6b16836fed1d4930b1e0399b6cae60da09cc8 100644 (file)
@@ -3,5 +3,3 @@ inherit native
 DEPENDS = "python-native"
 RDEPENDS = ""
 PR = "r0"
-
-NATIVE_INSTALL_WORKS = "1"
index d3dd65cbdfa429c5e9e11874823570406c28e48f..a4bcd4258a56815c6c4a031d089b5b89d3e7ae62 100644 (file)
@@ -4,5 +4,3 @@ DEPENDS = "python-native"
 RDEPENDS = ""
 PR = "r0"
 
-NATIVE_INSTALL_WORKS = "1"
-
index 61c0f60d8061a627283b0f275a26939468c98036..ff8f02ecd73e34c289e4d18c299da513f6d7d028 100644 (file)
@@ -2,6 +2,3 @@ require python-urlgrabber_${PV}.bb
 inherit native
 DEPENDS = "python-native python-pycurl-native"
 RDEPENDS = ""
-
-NATIVE_INSTALL_WORKS = "1"
-
index d7aae337e05711d64d46e6261829adf354d4541a..0a44b99e2c7514b2da7d61247b9ec99d5dcfa1a5 100644 (file)
@@ -5,5 +5,3 @@ RDEPENDS = ""
 PR = "r0"
 
 #BUILD_CFLAGS += "-I${STAGING_LIBDIR}/glib-2.0"
-
-NATIVE_INSTALL_WORKS = "1"
index ad51bcc608da3c3407f4ccfc447cb36ddf469249..d5f1e8b9282d8b7c1e0a942dcfb5e5a996c09178 100644 (file)
@@ -17,7 +17,6 @@ do_compile() {
        $CC $CFLAGS $CPPFLAGS -o oe_sha256sum main.c sha256.c
 }
 
-NATIVE_INSTALL_WORKS = "1"
 do_install() {
        install -d ${D}${bindir}/
        install ${S}/oe_sha256sum ${D}${bindir}/
index 63beb11adddb73676e3438266d527971608ee6b5..d6c1b8cf5277313f479c58ed3fbee8fcd4da5ef8 100644 (file)
@@ -17,7 +17,7 @@ INHIBIT_DEFAULT_DEPS = "1"
 
 PSTAGING_DISABLED = "1"
 
-NATIVE_INSTALL_WORKS = "1"
+# This function is special and allowed to onstall into staging directly
 do_install() {
        install -d ${STAGING_BINDIR}
        install -m 0755 ${WORKDIR}/stage-manager ${STAGING_BINDIR}
index fb26a32fab258fb098500a1cfeabc1c73ecaa1c6..5edbd24086ee7f9be05e2f5f33251df25108a721 100644 (file)
@@ -35,7 +35,6 @@ do_compile() {
        oe_runmake CC="${CC}" installer
 }
 
-NATIVE_INSTALL_WORKS = "1"
 do_install() {
        oe_runmake install INSTALLROOT="${D}"
 
index abe4783d00662d222e5edf93900c712d6796abcb..c9a213b4f8efe99ade40be3f8b78204deb06684c 100644 (file)
@@ -9,7 +9,6 @@ S = "${WORKDIR}"
 
 inherit native
 
-NATIVE_INSTALL_WORKS = "1"
 do_install () {
         install -d ${D}${bindir}/
         install -m 755 zic ${D}${bindir}/
index 6922d69e070b32d064ff26893a582322ce387d7b..fcba0d5662f33274a3c4f54ddfd3d6b524998638 100644 (file)
@@ -16,7 +16,6 @@ do_compile () {
        oe_runmake tools
 }
 
-NATIVE_INSTALL_WORKS = "1"
 do_install () {
        install -d ${D}${bindir}/
        install -m 0755 tools/mkimage ${D}${bindir}/uboot-mkimage
index 6e6ce1fca14e9fb484c2c2166282ebed84008e01..bf07198beb11848ca599f0ba738e70991dc1a20c 100644 (file)
@@ -17,7 +17,6 @@ do_compile () {
   oe_runmake tools
 }
 
-NATIVE_INSTALL_WORKS = "1"
 do_install () {
   install -d ${D}${bindir}
   install -m 0755 tools/mkimage ${D}${bindir}/uboot-mkimage
index 5749e0a10925ab3440bba88f6f2d641fbdec9193..daadf6ec0c18d2b8d28317cb96da929e4a459f62 100644 (file)
@@ -63,6 +63,3 @@ do_install_append_h2200() {
        install -m 0644 ${WORKDIR}/50-hostap_cs.rules         ${D}${sysconfdir}/udev/rules.d/50-hostap_cs.rules
 }
 
-do_stage () {
-       autotools_stage_all
-}
index ddde69450377aa115a340d74bb951c6e2cea40dd..9eba5d3bc534e3d81a5f7f178b40b94e53a05679 100644 (file)
@@ -63,6 +63,3 @@ do_install_append_h2200() {
        install -m 0644 ${WORKDIR}/50-hostap_cs.rules         ${D}${sysconfdir}/udev/rules.d/50-hostap_cs.rules
 }
 
-do_stage () {
-       autotools_stage_all
-}
index 23821c3f965136237df2e0c75db23ed95b431039..b6933628d97d4b7225737684f932c766cb4b5e0d 100644 (file)
@@ -52,7 +52,6 @@ do_compile() {
        done
 }
 
-NATIVE_INSTALL_WORKS = "1"
 do_install() {
        install -d ${D}${bindir}/
        install -m 0755 bin/moc ${D}${bindir}//moc4
index acdd6acf227ee1c05df9e45c1f5b6996da87688e..d879782b2993dbb3290b468d10bd063215f46ef8 100644 (file)
@@ -10,8 +10,6 @@ do_compile() {
        ${CC} ${CFLAGS} ${LDFLAGS} -o unifdef ${WORKDIR}/unifdef.c
 }
 
-NATIVE_INSTALL_WORKS = "1"
-
 do_install() {
        install -d ${D}${bindir}
        install -m 0755 unifdef ${D}${bindir}
index 7b0f9dc721cf1d0badb9d5d509131cbbc6cc9eff..069dfb878114f4c0374bd8b99a01933d9e13c8f5 100644 (file)
@@ -23,4 +23,3 @@ do_install() {
 }
 
 BBCLASSEXTEND = "native"
-NATIVE_INSTALL_WORKS = "1"
index 91f9883ff3c2470537dc754390cb6e698f069eb4..106fa25e1463f2395499149c7fc0512da6ed6bd1 100644 (file)
@@ -19,7 +19,6 @@ do_patch () {
     p;' > ${S}/scripts/update-alternatives
 }
 
-NATIVE_INSTALL_WORKS = "1"
 do_install () {
     install -d ${D}${sbindir} \
                ${D}${localstatedir}/dpkg/alternatives \
index 7f68d866deb69f83a7475017641ebf4c99a1cc49..03ac5c1a29d24de5fb1fc436e788f37d979de225 100644 (file)
@@ -17,7 +17,6 @@ S = "${WORKDIR}/update-rc.d"
 do_compile() {
 }
 
-NATIVE_INSTALL_WORKS = "1"
 do_install() {
        install -d ${D}${sbindir}
        install -m 0755 ${S}/update-rc.d ${D}${sbindir}/update-rc.d
index 36c5b6ce42627cde24afbb2ddbe02ea903829e4e..7eabb07bcea1c6d505475a8fa3162df1802cacf7 100644 (file)
@@ -8,7 +8,6 @@ do_compile() {
        ${CC} ${WORKDIR}/signGP.c -o signGP
 }
 
-NATIVE_INSTALL_WORKS = "1"
 do_install() {
        install -d ${D}${bindir}/
        install -m 0755 signGP ${D}${bindir}/
index a451f968c1981578b210165a1fb3225e31b6854b..b25cc3b5905a9a988715935b810467f556eaf66f 100644 (file)
@@ -17,7 +17,6 @@ do_compile() {
        cd utils && oe_runmake
 }
 
-NATIVE_INSTALL_WORKS = "1"
 do_install() {
        install -d ${D}${sbindir}/
        for i in mkyaffsimage mkyaffs2image; do
index dfc157c0262241fa2d81aec0f6b7663b9ca51691..c59d0e29762b7c09bd68c79805582a0ee0db9030 100644 (file)
@@ -10,7 +10,6 @@ do_compile() {
        ${CC} -o encdec-updater ${WORKDIR}/encdec-updater.c
 }
 
-NATIVE_INSTALL_WORKS = "1"
 do_install() {
        install -d ${D}${bindir}
        install -m 0755 encdec-updater ${D}${bindir}/
index 9a269ea890d2cf082f6c7a10c12a9b647006c04b..9550447264bf622db412e27d892b55272241cf74 100644 (file)
@@ -22,4 +22,3 @@ do_install() {
 }
 
 BBCLASSEXTEND = "native"
-NATIVE_INSTALL_WORKS = "1"