Makefile.include: Fix BUILDRELPATH when RIOTPROJECT is CURDIR.#10302
Merged
cladmi merged 1 commit intoRIOT-OS:masterfrom Nov 1, 2018
Merged
Conversation
Member
|
I will give it a look now. Thanks |
Member
|
Without PR: with PR: I confirm this fixes the issue. |
Member
|
I will add the backport label. This is required for testing the Release from the archives. |
This fixes building an example that is outside of RIOT with docker and also fixes building from a release archive.
809fd5f to
a5b2af1
Compare
Contributor
Author
|
I inlined changed the commit title, as the change uses |
jia200x
approved these changes
Oct 30, 2018
Member
|
I set the CI label. |
6 tasks
Contributor
Author
|
CI is green, merge. |
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
This fixes building an example that is outside of RIOT with docker and
also fixes building from a release archive.
This currently prevents building from the release archive with our docker image.
It is the first commit split from #9646 so that it could go in the release.
Testing procedure
It does not compile in
masteras the build path is wrongly set:-w '/data/riotbuild/riotproject//home/harter/work/git/riot_master_test/examples/hello-world/' \With this PR it is set correctly
-w '/data/riotbuild/riotproject/' \and it compiles:Another testing procedure is to copy an application outside of a git repository.
The behavior is the same as with the archive.
Issues/PRs references
The "external application" case was found in #9646 and the from an archive case was found during release tests RIOT-OS/Release-Specs#76