base.bbclass: fixed 'apply=no' behavior
authorEnrico Scholz <enrico.scholz@sigma-chemnitz.de>
Thu, 27 May 2010 02:41:10 +0000 (02:41 +0000)
committerChris Larson <chris_larson@mentor.com>
Thu, 27 May 2010 19:56:46 +0000 (12:56 -0700)
commiteb8ad2af3a59dc7b4c64814815fc13977efaec6b
tree12c610e725f261d252d126ef62981f741c34ad3d
parent0d270547fdb047fb2bcc1f69d6ba1f440c78578a
base.bbclass: fixed 'apply=no' behavior

After the recent change to autodetect patchfiles in SRC_URI's, files
with 'apply=no' were not copied to workdir anymore.  This broke e.g.
dropbear which marks a patch as 'apply=no' and applies it manually.

This patch evaluates content of 'apply' parameter and copies files to
workdir when it is not a patch or the parameter is false.

Slightly altered to use oe.utils -kergoth

Signed-off-by: Enrico Scholz <enrico.scholz@sigma-chemnitz.de>
Signed-off-by: Chris Larson <chris_larson@mentor.com>
classes/base.bbclass