binutils: Add missing perl modules to RDEPENDS for nativsdk variant

In SDK, missing perl modules causes 'x86_64-pokysdk-linux-gp-display-html --help' to abort with below errors..
  - Can't locate bignum.pm in @INC (you may need to install the feature module).
  - Can't locate Math/BigInt.pm in @INC (you may need to install the Math::BigInt module)

By adding the following perl modules to RDEPENDS fixes the above errors:
  nativesdk-perl-module-bignum
  nativesdk-perl-module-bigint
  nativesdk-perl-module-math-bigint

(From OE-Core rev: 75773577d8dd9c9d61aa039e1da2482c064c666a)

Signed-off-by: Harish Sadineni <Harish.Sadineni@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 05f1099acbbb10b6ce33ea117d313749f7dc4a47)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
This commit is contained in:
Harish Sadineni
2024-09-19 05:48:48 -07:00
committed by Steve Sakoman
parent 2b82219880
commit 80e1dff59f

View File

@@ -72,5 +72,9 @@ SRC_URI:append:class-nativesdk = " file://0003-binutils-nativesdk-Search-for-al
USE_ALTERNATIVES_FOR:class-nativesdk = ""
FILES:${PN}:append:class-nativesdk = " ${bindir}"
RDEPENDS:gprofng:class-nativesdk = " nativesdk-perl-module-bignum \
nativesdk-perl-module-bigint \
nativesdk-perl-module-math-bigint \
"
BBCLASSEXTEND = "native nativesdk"