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

make: TockLibrary: unconditionally set build dir #390

Merged
merged 1 commit into from
Apr 5, 2024
Merged

Conversation

bradjc
Copy link
Contributor

@bradjc bradjc commented Apr 2, 2024

This fixes an issue when multiple Tock libraries are used in the same build. With ?=, the value is "reset" for each instantiation of TockLibrary, causing the build directory for all libraries to be set to whichever library is included last. With := this does not occur.

This fixes an issue when multiple Tock libraries are used in the same
build. With `?=`, the value is "reset" for each instantiation of
TockLibrary, causing the build directory for all libraries to be set to
whichever library is included last. With `:=` this does not occur.
@bradjc bradjc changed the title make: TockLibrary: unconditionaly set build dir make: TockLibrary: unconditionally set build dir Apr 2, 2024
Copy link
Member

@ppannuto ppannuto left a comment

Choose a reason for hiding this comment

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

Oh make... nice catch

@ppannuto ppannuto added this pull request to the merge queue Apr 5, 2024
Merged via the queue into master with commit 7a30e46 Apr 5, 2024
4 checks passed
@ppannuto ppannuto deleted the make-builddir branch April 5, 2024 16:26
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.

None yet

2 participants