-
Notifications
You must be signed in to change notification settings - Fork 677
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
Preparations for support of non-nuttx externally built targets #29
Conversation
# stdlib.h is just one of standard headers that should be included in a standard-compliant libc | ||
if(EXISTS "${EXTERNAL_LIB_INTERFACE}/stdlib.h") | ||
set(USE_JERRY_LIBC FALSE) | ||
set(INCLUDE_LIBC_INTERFACE ${EXTERNAL_LIB_INTERFACE}) |
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.
What if more than one external library provides stdlib.h? Maybe we should signal an error message in this case?
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.
Ok. I'll add the check that would terminate build in the case: it seems that if more than one external library provides stdlib.h, we would have include path conflicts anyway.
2c535f4
to
1431251
Compare
…n libc. JerryScript-DCO-1.0-Signed-off-by: Ruben Ayrapetyan [email protected]
…from Nuttx OS. JerryScript-DCO-1.0-Signed-off-by: Ruben Ayrapetyan [email protected]
1431251
to
2852d93
Compare
LGTM. |
…iments-dev Experiments dev
Adding support to specify include interfaces for more than one external library (for external builds).