sstate.bbclass: Move crosssdk before cross to ensure correct variables are set
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 12 Jul 2012 15:18:23 +0000 (16:18 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 17 Jul 2012 09:53:57 +0000 (10:53 +0100)
commit34f746a4fb85f9494c84d0164f1571e112ec653f
tree32727a07b39142f7e3676ea5d27eb4d1b7cf44fe
parent4eeb75904d235b738e0cba4362bfa4f6eab17607
sstate.bbclass: Move crosssdk before cross to ensure correct variables are set

There was a bug showing up where the crosssdk recipes were being installed as machine
specific in the sstate-control directory. This turned out to be due to the architecture
fields used by sstate being set incorrectly. The problem is that the crosssdk inherits
the cross class. It therefore needs to be listed in this if statement block before
the cross check, not after.

This should resolve some package architecture issue of crosssdk sstate files.

(From OE-Core rev: 79fe28e6033273f9632ca7549d1599d3fd1463ef)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/sstate.bbclass