-
Notifications
You must be signed in to change notification settings - Fork 212
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
Adding the possibility of indicate external sources throw a enviromen… #213
Adding the possibility of indicate external sources throw a enviromen… #213
Conversation
…t variable, useful when NeoRV32 is called as a core of bigger project
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should not be necessary, because you can already override those variables when calling make.
Thats true, but look how looks like:
And you have to check what is already added in the makefile because in not incremental, I mean this part:
and if one of those files change, every repo that is using neorv32 as a core will be broken. |
And.... Is not being overrided anyway! Look:
This should fails and is not failing, this means in not getting overrided by the given value. and this:
Yes, this fails as is expected. |
Might be rewritten to:
Not much difference compared to:
That is a legit concern. We have three use cases:
The last one is not supported at the moment, and we might enhance the makefiles in order to do it. However, you added There are several places where extra sources might be added. See: neorv32/setups/osflow/filesets.mk Line 51 in d072a12
Your suggestion is to add content between By the same token, |
See #214. |
Those changes seams solve the issue, I didn't test yet, but looks nice. Thanks! |
@zipotron, note that those changes solve the "overriding" issue. But I did not implement the |
@umarcor , Then, I suggest to leave this new environment variables for *EXTRA purposes, plus your changes. Do you need anything else for make this PR mergible? |
@umarcor , I merged with master, I leaved this line: 82 As it is, I know that is redundant, but, I think that keeps the style |
@zipotron, see #213 (comment). |
@umarcor Apologize, I readed that comment few days ago, plus too much work today, and completely forgot. I guess now is more in the topic line Mmm, I can see that Jenkins report a issue regarding Mixed language... lets me check |
@umarcor I guess is ready for merge |
Hello @stnolting @umarcor , I also added to the PR in the list of "external" setups my external setup repo. Please, whenever you can review and lets me know if is missing anything to do for do this PR ready to merge. I would like to have this changes in "master" branch, because this will make my setup compile easier for new users (now is needed to go to the neorv32 linked project and checkout a specific branch). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Apart from a minor change (see below), LGTM!
@umarcor Not good modification, rollback! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think is ready for merge
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
…t variable, useful when NeoRV32 is called as a core of bigger project.
Example of use:
https://github.com/zipotron/neorv32-complex-setups/blob/master/synthetize.sh