rootfs_rpm.bbclass: Fix multilib configurations to use DEFAULTTUNE
authorMark Hatle <mark.hatle@windriver.com>
Sat, 30 Jul 2011 01:57:31 +0000 (20:57 -0500)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 1 Aug 2011 13:16:56 +0000 (14:16 +0100)
Earlier iterations of the multilib patch used "TUNENAME", which was later
renamed to DEFAULTTUNE.  This file was missed in the rename.

(From OE-Core rev: fdd39925df8268ad41c1ff643a0761b03fad8e08)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/rootfs_rpm.bbclass

index 4db5e98..dfe4612 100644 (file)
@@ -217,7 +217,7 @@ python () {
             overrides = localdata.getVar("OVERRIDES", False) + ":virtclass-multilib-" + eext[1]
             localdata.setVar("OVERRIDES", overrides)
             # TEMP: OVERRIDES isn't working right
-            localdata.setVar("TUNENAME", localdata.getVar("TUNENAME_virtclass-multilib-" + eext[1], False) or "")
+            localdata.setVar("DEFAULTTUNE", localdata.getVar("DEFAULTTUNE_virtclass-multilib-" + eext[1], False) or "")
             ml_package_archs += localdata.getVar("PACKAGE_ARCHS", True) or ""
             #bb.note("ML_PACKAGE_ARCHS %s %s %s" % (eext[1], localdata.getVar("PACKAGE_ARCHS", True) or "(none)", overrides))
     bb.data.setVar('MULTILIB_PACKAGE_ARCHS', ml_package_archs, d)