]> code.ossystems Code Review - openembedded-core.git/commitdiff
classes: Fixed the problem of undefined variables when compiling meta-toolchain.
authorzangrc <zangrc.fnst@cn.fujitsu.com>
Thu, 15 Oct 2020 03:47:29 +0000 (11:47 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 17 Oct 2020 11:33:30 +0000 (12:33 +0100)
The product name when compiling meta-toolchain is:
poky-glibc-x86_64-${IMAGE_BASENAME}-cortexa57-qemuarm64-toolchain-3.1+snapshot.host.manifest
poky-glibc-x86_64-${IMAGE_BASENAME}-cortexa57-qemuarm64-toolchain-3.1+snapshot.target.manifest
poky-glibc-x86_64-${IMAGE_BASENAME}-cortexa57-qemuarm64-toolchain-3.1+snapshot.testdata.json
poky-glibc-x86_64--cortexa57-qemuarm64-toolchain-3.1+snapshot.sh

inherit image-artifact-names to solve this problem.

Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/populate_sdk_base.bbclass

index 61b31d5e5e5d05c8ff96ca3e57d0194187c8b1cf..49b183326564a0669f6eddd46b6455872a8d6388 100644 (file)
@@ -1,4 +1,4 @@
-inherit meta image-postinst-intercepts
+inherit meta image-postinst-intercepts image-artifact-names
 
 # Wildcards specifying complementary packages to install for every package that has been explicitly
 # installed into the rootfs