summaryrefslogtreecommitdiff
path: root/tools/include/nolibc/Makefile
diff options
context:
space:
mode:
authorThomas Weißschuh <thomas.weissschuh@linutronix.de>2025-04-11 11:00:48 +0200
committerThomas Weißschuh <linux@weissschuh.net>2025-04-22 10:59:00 +0200
commitbae3cd708e8adef27ee7657cd877d9ba9aa4f2ae (patch)
treed6c5a7d750eea5c51dcf9142296475d22f148646 /tools/include/nolibc/Makefile
parent5197b7b87cbfeed61b69ff54532bb58a0d55cb0b (diff)
tools/nolibc: add getopt()
Introduce a getopt() implementation based on the one from musl. The only deviations are adaption to the kernel coding style and nolibc infrastructure and removal of multi-byte support. Signed-off-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de> Acked-by: Willy Tarreau <w@1wt.eu>
Diffstat (limited to 'tools/include/nolibc/Makefile')
-rw-r--r--tools/include/nolibc/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/include/nolibc/Makefile b/tools/include/nolibc/Makefile
index b5d4479abc3b..e05862cd0805 100644
--- a/tools/include/nolibc/Makefile
+++ b/tools/include/nolibc/Makefile
@@ -33,6 +33,7 @@ all_files := \
elf.h \
errno.h \
fcntl.h \
+ getopt.h \
limits.h \
nolibc.h \
signal.h \