Skip to content

nrf: Compile files in $(SRC_MOD) like all other ports. #3954

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

Closed
wants to merge 1 commit into from

Conversation

aykevl
Copy link
Contributor

@aykevl aykevl commented Jul 18, 2018

See #3871 (comment) for details.

CC @glennrub

@dpgeorge
Copy link
Member

I guess this was copied from stm32/Makefile, which does the same thing (adds SRC_MOD to SRC_QSTR).

But note that in py/py.mk SRC_MOD is already added to SRC_QSTR, so it doesn't need to be added a second time.

@aykevl
Copy link
Contributor Author

aykevl commented Jul 18, 2018

Ah, you're probably right. I don't know where it came from originally.

I've looked a bit at the other ports, and most include $(SRC_MOD) in $(SRC_C) so it gets scanned for qstrs twice. So I modified the PR a bit to remove it from $(SRC_QSTR) (as before) but manually compile these files (by adding it to $(OBJ)). This should speed up the build a tiny bit for the nrf port.

Also, remove the unused $(SRC_LIB).
@dpgeorge
Copy link
Member

Merged in 8df342d

@dpgeorge dpgeorge closed this Jul 18, 2018
jepler referenced this pull request in jepler/circuitpython Oct 24, 2020
In particular, this closes adafruit#3954.
jepler referenced this pull request in jepler/circuitpython Oct 24, 2020
tannewt added a commit to tannewt/circuitpython that referenced this pull request Jan 21, 2021
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.

2 participants