Message ID | GVAP278MB0117C3BBC581C7A3D59986B0DBF49@GVAP278MB0117.CHEP278.PROD.OUTLOOK.COM |
---|---|
State | Rejected |
Delegated to: | Ryan Eatmon |
Headers | show |
Series | Patch for enabling yocto populate_sdk | expand |
On Tue, Jan 03, 2023 at 01:54:23PM +0000, Bernd Sprenger wrote: > Hello, > > as a dumb yocto user I would appreciate if a working sdk for > cross-compilation could be created the yocto way by appending "-c > populate_sdk" to the bitbake command. Only the small patch below for tag > 08.04.00.005 would enable this. Maybe you could integrate this into the next > releases... What's the issue? Is there an error message or some failure logs? $ bitbake tisdk-base-image -c populate_sdk -e | grep "^TOOLCHAIN_HOST_TASK=" TOOLCHAIN_HOST_TASK=" nativesdk-buildtools-perl-dummy" Everything seems in order. > Thanks a lot, > have a nice day, > Bernd > > > diff --git a/meta-arago-distro/recipes-core/images/arago-image.inc b/meta-arago-distro/recipes-core/images/arago-image.inc > index e068287e..2029ccd0 100644 > --- a/meta-arago-distro/recipes-core/images/arago-image.inc > +++ b/meta-arago-distro/recipes-core/images/arago-image.inc > @@ -19,7 +19,7 @@ export IMAGE_BASENAME = "arago-image" > IMAGE_LINGUAS = "" > -TOOLCHAIN_HOST_TASK += "nativesdk-buildtools-perl-dummy" > +TOOLCHAIN_HOST_TASK_append += "nativesdk-buildtools-perl-dummy" There are few issues with this change: 1. you shouldn't mix += with _append - use either one of them 2. when using _append, you need to provide a leading space > SDK_PACKAGE_ARCHS += "buildtools-dummy-${SDKPKGSUFFIX}" > make_bootfiles_symlinks_relative() {
diff --git a/meta-arago-distro/recipes-core/images/arago-image.inc b/meta-arago-distro/recipes-core/images/arago-image.inc index e068287e..2029ccd0 100644 --- a/meta-arago-distro/recipes-core/images/arago-image.inc +++ b/meta-arago-distro/recipes-core/images/arago-image.inc @@ -19,7 +19,7 @@ export IMAGE_BASENAME = "arago-image" IMAGE_LINGUAS = "" -TOOLCHAIN_HOST_TASK += "nativesdk-buildtools-perl-dummy" +TOOLCHAIN_HOST_TASK_append += "nativesdk-buildtools-perl-dummy" SDK_PACKAGE_ARCHS += "buildtools-dummy-${SDKPKGSUFFIX}" make_bootfiles_symlinks_relative() {