external-toolchain: Really accept toolchains built by meta-toolchain.bb
authorBernhard Kaindl <bernhard.kaindl@gmx.net>
Sun, 22 Nov 2009 04:45:40 +0000 (04:45 +0000)
committerDenys Dmytriyenko <denis@denix.org>
Fri, 19 Feb 2010 23:10:33 +0000 (18:10 -0500)
commit4f0d9f93c1d1ca5d8d3d83dae101891a720b6305
tree75d8d81758e777c78831ad6886d427f397bdfb01
parent5114a4e19d81882d83149213f040a0d81ad87b0a
external-toolchain: Really accept toolchains built by meta-toolchain.bb

external-toolchain-generic,
external-toolchain:

* The current external-toolchain recipes which are documented to accept
  toolchains built by meta-toolchain actually do not accept such because
  they expect ${prefix}/package-status to exist which is provieded by
  the poky toolchains but not the current OE meta-toolchain package.

  Fix this by also looking for ${prefix}/usr/lib/opkg/status, which is the
  package-status file of the OE meta-toolchain package.

* Also change the error message which is shown when neither file is found
  more explicit.

Cc: Denys Dmytriyenko <denis@denix.org>
Signed-off-by: Bernhard Kaindl <bernhard.kaindl@gmx.net>
Acked-by: Denys Dmytriyenko <denis@denix.org>
 external-toolchain-generic.bb |    4 ++--
 external-toolchain.bb         |    4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)
recipes/meta/external-toolchain-generic.bb
recipes/meta/external-toolchain.bb