]> code.ossystems Code Review - openembedded-core.git/commit
native: remove PN from DEPENDS automatically
authorRoss Burton <ross.burton@intel.com>
Mon, 2 Feb 2015 11:03:28 +0000 (11:03 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 3 Feb 2015 14:53:43 +0000 (14:53 +0000)
commit3e9392c0965166462e0993d46f4cc2fb1832f1e5
tree036ed1ab137823f4df5468a7d8ef0318f0d8311d
parent2a675bc63b22724f12e6ed6ff58d0f1d1e0d3b29
native: remove PN from DEPENDS automatically

If a recipe (say, wayland) has DEPENDS=wayland-native and BBCLASSEXTEND=native,
when built as wayland-native it has DEPENDS=wayland-native which results in a
circular dependency.

Typically this is resolved by having explicit DEPENDS_class-native statements
but as this is duplication which can lead to inconsistent dependencies,
automatically remove the circular dependency.

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