-
Notifications
You must be signed in to change notification settings - Fork 963
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
uClibc compatibility #5270
uClibc compatibility #5270
Conversation
@@ -3,6 +3,7 @@ | |||
#include "PhoneAPI.h" | |||
#include "Stream.h" | |||
#include "concurrency/OSThread.h" | |||
#include <cstdarg> |
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.
va_list
type definition is not included in uClibc
by default. Easy fix.
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.
Thanks!
build_flags = ${portduino_base.build_flags} -O0 -I variants/portduino | ||
-I /usr/include |
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 patch (remove) this value in buildroot-meshtastic
, so I can use the include
s that buildroot stages.
A separate line is just a more stable target for removing. Thanks!
@@ -32,6 +32,7 @@ build_flags = | |||
-Isrc/platform/portduino | |||
-DRADIOLIB_EEPROM_UNSUPPORTED | |||
-DPORTDUINO_LINUX_HARDWARE | |||
-lstdc++fs |
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.
Allows std::filesystem
to function on uClibc
Adds compatibility with uclibc, the officially supported toolchain of the luckfox pico
Bringing this over from buildroot-meshtastic
29a9a1a
to
2adb56c
Compare
Similar to #5219
This PR resolves errors when compiling with
uClibc
, so that it may be used with buildroot-meshtastic.Notably,
uClibc
is the natively supported toolchain for the LuckFox Pico.