Skip to content

newlib: Split newlib into one generic part and one default syscalls part#6670

Merged
miri64 merged 1 commit intoRIOT-OS:masterfrom
jnohlgard:pr/newlib-split-syscalls
Jun 1, 2017
Merged

newlib: Split newlib into one generic part and one default syscalls part#6670
miri64 merged 1 commit intoRIOT-OS:masterfrom
jnohlgard:pr/newlib-split-syscalls

Conversation

@jnohlgard
Copy link
Copy Markdown
Member

This PR splits the contents of sys/newlib into one part for the default syscall implementation, and one part for setting up the build environment for building with newlib, regardless of what syscall implementation is used.

This will help some of the MIPS ports which have their own semihosting newlib environment with a syscall implementation.

@jnohlgard jnohlgard added Type: cleanup The issue proposes a clean-up / The PR cleans-up parts of the codebase / documentation Area: build system Area: Build system labels Mar 1, 2017
@jnohlgard jnohlgard added this to the Release 2017.04 milestone Mar 1, 2017
@kaspar030 kaspar030 added the CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR label Mar 1, 2017
@jnohlgard jnohlgard force-pushed the pr/newlib-split-syscalls branch from 2003f2e to 8c6b19c Compare March 15, 2017 12:35

ifneq (,$(filter newlib_syscalls_default,$(USEMODULE)))
include $(RIOTBASE)/sys/newlib/Makefile.include
include $(RIOTBASE)/sys/newlib_syscalls_default/Makefile.include
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

how about moving this into a subfolder of newlib?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

the newlib subfolder is gone. Makefile.newlib is the place for newlib settings.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

which I hope we can move to makefiles/newlib.mk or something in a separate PR.

@jnohlgard
Copy link
Copy Markdown
Member Author

jnohlgard commented Mar 15, 2017

  • rebased

@kaspar030 do you mind taking a peek at this PR? - beat me to it

@jnohlgard jnohlgard force-pushed the pr/newlib-split-syscalls branch from 8c6b19c to b0f62af Compare March 24, 2017 13:57
@jnohlgard
Copy link
Copy Markdown
Member Author

rebased on #4699 as an experiment

@jnohlgard jnohlgard added CI: needs squashing Commits in this PR need to be squashed; If set, CI systems will mark this PR as unmergable State: waiting for other PR State: The PR requires another PR to be merged first labels Mar 24, 2017
@jnohlgard jnohlgard force-pushed the pr/newlib-split-syscalls branch from b0f62af to 0ddd2ef Compare March 30, 2017 07:23
@jnohlgard jnohlgard force-pushed the pr/newlib-split-syscalls branch from 0ddd2ef to b81b666 Compare April 5, 2017 11:55
@jnohlgard
Copy link
Copy Markdown
Member Author

rebased after #4699 was merged

@jnohlgard jnohlgard added CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR and removed CI: needs squashing Commits in this PR need to be squashed; If set, CI systems will mark this PR as unmergable State: waiting for other PR State: The PR requires another PR to be merged first CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR labels Apr 5, 2017
@jnohlgard
Copy link
Copy Markdown
Member Author

@kaspar030 ping
Murdock is green, are you fine with the changes?

@neiljay
Copy link
Copy Markdown
Contributor

neiljay commented Apr 20, 2017

ACK from me

@jnohlgard jnohlgard requested a review from neiljay June 1, 2017 04:49
@miri64
Copy link
Copy Markdown
Member

miri64 commented Jun 1, 2017

@gebart the last Murdock build is pre-release (and Jenkins and Murdock were still activaded). Would you be so kind to rebase.

@kaspar030
Copy link
Copy Markdown
Contributor

Just triggering murdock is enough to build-test a merge into current master.

@kaspar030 kaspar030 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 Jun 1, 2017
@miri64
Copy link
Copy Markdown
Member

miri64 commented Jun 1, 2017

Oh right.

@miri64 miri64 merged commit b28a61d into RIOT-OS:master Jun 1, 2017
@jnohlgard jnohlgard deleted the pr/newlib-split-syscalls branch June 10, 2017 04:32
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: cleanup The issue proposes a clean-up / The PR cleans-up parts of the codebase / documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants