On Thu, 2024-02-15 at 18:04 +0100, Enguerrand de Ribaucourt wrote:
> An exception was raised because we did not have the topdir attribute
> which was used in fallback mode (non cmake/meson recipes).
> 
> Already in the merge queue in Adrian's latest patches.
> ---
>  scripts/lib/devtool/ide_sdk.py | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/scripts/lib/devtool/ide_sdk.py
> b/scripts/lib/devtool/ide_sdk.py
> index 3986dc1436a..db2e95616be 100755
> --- a/scripts/lib/devtool/ide_sdk.py
> +++ b/scripts/lib/devtool/ide_sdk.py
> @@ -366,6 +366,7 @@ class RecipeModified:
>          self.target_arch = recipe_d.getVar('TARGET_ARCH')
>          self.topdir = recipe_d.getVar('TOPDIR')
>          self.workdir = os.path.realpath(recipe_d.getVar('WORKDIR'))
> +        self.topdir = os.path.realpath(recipe_d.getVar('TOPDIR'))

I think this patch is not needed. Two lines above the variable is
already initialized.
Some time ago there was an exception but it is fixes on master-next
already.

>  
>          self.__init_exported_variables(recipe_d)
>  

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#195728): 
https://lists.openembedded.org/g/openembedded-core/message/195728
Mute This Topic: https://lists.openembedded.org/mt/104376741/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to