Makefile.include: discover object files in sub-paths while linking#15364
Merged
cgundogan merged 1 commit intoRIOT-OS:masterfrom Nov 4, 2020
Merged
Conversation
cgundogan
approved these changes
Nov 3, 2020
Member
cgundogan
left a comment
There was a problem hiding this comment.
Change is sensible. Tested as outlined in the PR description and works for me. @larseggert does the proposed change also work for you? (maybe also for other test cases, if there are any?)
Member
I was too slow (: |
cgundogan
requested changes
Nov 3, 2020
Member
|
you can squash the suggestions directly |
1dc479b to
f229276
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Contribution description
The
findcommand that collects the object files while linking is currently too strict and does not include sub-directories within the module's directories. This causes use cases like the described in #15357 to fail. This allows a recursive search for object files in those directories.I've tested this following the steps in #15357 and now it works properly.
Testing procedure
Issues/PRs references
Fixes #15357
Issue introduced in #14754