Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

arm-compute-library: Override do_configure #73

Merged
merged 1 commit into from
Jan 25, 2024

Conversation

tq-steina
Copy link
Contributor

scons.bbclass sets both 'PREFIX' and 'prefix' variables upon configure call, resulting in a configure error:
Unknown variables: PREFIX prefix

Fix this error message by going the same way as do_compile, copying the class code and remove setting these variables.

scons.bbclass sets both 'PREFIX' and 'prefix' variables upon configure
call, resulting in a configure error:
 Unknown variables: PREFIX prefix

Fix this error message by going the same way as do_compile, copying the
class code and remove setting these variables.

Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com>
@chrisdimich
Copy link
Collaborator

How can I produce this error?

@tq-steina
Copy link
Contributor Author

How can I produce this error?

You need to retrigger a reconfigure step from poky/meta/classes/scons.bbclass. Steps to reproduce:

  1. bitbake -c configure arm-compute-library
  2. Get Path to configurestampfile: CONFIGURESTAMPFILE=$(bitbake-getvar --value --quiet -r arm-compute-library CONFIGURESTAMPFILE)
  3. Invalidate cached hash: echo > $CONFIGURESTAMPFILE
  4. Force reconfigure: bitbake --force -c configure arm-compute-library

Copy link
Collaborator

@chrisdimich chrisdimich left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for reproduce steps! Looks good to me.

@otavio otavio merged commit 1c107bc into Freescale:kirkstone Jan 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants