There's a BPN assignment in common.inc which means all recipes need to
either be called clang, or set BPN themselves.
Move the assignment to the clang recipes. For now I'm leaving the
existing BPN assignments in the other recipes, in case there are complex
multilib-related reasons to retain them.
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
SECTION = "devel"
PN = "clang-cross-canadian-${TRANSLATED_TARGET_ARCH}"
+BPN = "clang"
require common-clang.inc
require common-source.inc
SECTION = "devel"
PN = "clang-cross-${TARGET_ARCH}"
+BPN = "clang"
require common-clang.inc
require common-source.inc
SECTION = "devel"
PN = "clang-crosssdk-${SDK_SYS}"
+BPN = "clang"
require common-clang.inc
require common-source.inc
require common-clang.inc
require common-source.inc
+BPN = "clang"
+
INHIBIT_DEFAULT_DEPS:class-native = "1"
LDFLAGS:append:class-target:riscv32 = " -Wl,--no-as-needed -latomic -Wl,--as-needed"
# The real WORKDIR location isn't a dependency for the shared workdir.
src_patches[vardepsexclude] = "WORKDIR"
should_apply[vardepsexclude] += "PN"
-
-BPN = "clang"