Skip to content

Makefile.base: do not clean objects of bindist modules#16981

Merged
benpicco merged 1 commit intoRIOT-OS:masterfrom
leandrolanzieri:pr/build_system/do_not_cleanup_bindist_objects
Oct 14, 2021
Merged

Makefile.base: do not clean objects of bindist modules#16981
benpicco merged 1 commit intoRIOT-OS:masterfrom
leandrolanzieri:pr/build_system/do_not_cleanup_bindist_objects

Conversation

@leandrolanzieri
Copy link
Contributor

Contribution description

Since #16945 we cleanup unneeded object files. The list of "needed object files" is defined based on present source files, but bindist is a special case, as bindist objects should always be preserved. As described in #16977, the bindist example fails to link due to the cleanup. This PR avoids cleaning bindist modules object files when building.

Testing procedure

Issues/PRs references

Fixes #16977
Issue introduced in #16945

@leandrolanzieri leandrolanzieri added Type: bug The issue reports a bug / The PR fixes a bug (including spelling errors) Area: build system Area: Build system labels Oct 13, 2021
@benpicco benpicco added the CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR label Oct 13, 2021
@leandrolanzieri leandrolanzieri added CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR and removed CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR labels Oct 13, 2021
@david-vankampen
Copy link
Contributor

Looks good to me! Seems like this addresses what I saw on #16977. Thanks!

@benpicco benpicco merged commit ffc452d into RIOT-OS:master Oct 14, 2021
@leandrolanzieri leandrolanzieri deleted the pr/build_system/do_not_cleanup_bindist_objects branch October 19, 2021 11:25
@fjmolinas fjmolinas added this to the Release 2022.01 milestone Nov 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Area: build system Area: Build system CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR Type: bug The issue reports a bug / The PR fixes a bug (including spelling errors)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

make check_bindist fails to find reference to main

4 participants