]> code.ossystems Code Review - openembedded-core.git/commit
insane: only check ${S} exists if we had sources to fetch
authorRoss Burton <ross.burton@intel.com>
Thu, 21 Jul 2016 19:29:27 +0000 (20:29 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 25 Jul 2016 22:47:00 +0000 (23:47 +0100)
commit8cba511ab6ea557fab9f7838dfe1fc8284bbdd68
treee7972e419113a27ac931d181948e8be914011450
parentce24d4c3632b71939ad198268a900ee823a89b27
insane: only check ${S} exists if we had sources to fetch

Only check that ${S} actually exists if there was something in ${SRC_URI} to
fetch, the argument being that if SRC_URI is empty the the recipe won't be using
${S} at all.

In general recipes that have no sources can remove the unpack task, but
expecting all recipes to do this relatively advanced operation isn't realistic.

Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/classes/insane.bbclass