]> git.openpandora.org Git - openembedded.git/commitdiff
native and autotools bbclass: use autotools_stage_all instead of oe_runmake install...
authorKoen Kooi <koen@openembedded.org>
Wed, 19 Mar 2008 15:07:06 +0000 (15:07 +0000)
committerKoen Kooi <koen@openembedded.org>
Wed, 19 Mar 2008 15:07:06 +0000 (15:07 +0000)
classes/autotools.bbclass
classes/native.bbclass

index 733ee81e14df26f18368f98001981b6b245231ef..7a87cc0bf81c1fe94bdcb3180693ae45514a7850 100644 (file)
@@ -1,5 +1,8 @@
 inherit base
 
+# use autotools_stage_all for native packages
+AUTOTOOLS_NATIVE_STAGE_INSTALL = "1"
+
 def autotools_dep_prepend(d):
        import bb;
 
index 63e97413975634c137703436e3bfa367362a1189..ddbbc04e19fccee61ea13b61a9a2edacb59db249 100644 (file)
@@ -76,7 +76,12 @@ export oldincludedir = "${STAGING_DIR_NATIVE}${layout_includedir}"
 do_stage () {
        if [ "${INHIBIT_NATIVE_STAGE_INSTALL}" != "1" ]
        then
-               oe_runmake install
+               if [ "${AUTOTOOLS_NATIVE_STAGE_INSTALL}" != "1"]
+               then
+                       oe_runmake install
+               else
+                       autotools_stage_all
+               fi
        fi
 }