summaryrefslogtreecommitdiff
path: root/libc/misc/getloadavg/Makefile
diff options
context:
space:
mode:
authorlancethepants <lancethepants@gmail.com>2022-05-20 20:37:10 -0600
committerWaldemar Brodkorb <wbx@openadk.org>2022-05-23 09:15:51 +0200
commitad3a130dad88ad7a59dcd965b0cf9bd0d713595e (patch)
tree08937d5ccbbc165a61f533f6841b30bfc2e86f3a /libc/misc/getloadavg/Makefile
parent287e9d271eb282210bb6f413f18dfbc89512eba3 (diff)
libc/misc/getloadavg: Add getloadavg support to uClibc-ng
This borrows getloadavg.c from musl. getloadavg pops up often. Recently llvm and rust are dependent on it. glibc and musl have it and no-one actually checks if it's available in your libc. It's just become way easier to add it in uclibc-ng rather than patch everything else. Signed-off-by: Lance Fredrickson <lancethepants@gmail.com>
Diffstat (limited to 'libc/misc/getloadavg/Makefile')
-rw-r--r--libc/misc/getloadavg/Makefile13
1 files changed, 13 insertions, 0 deletions
diff --git a/libc/misc/getloadavg/Makefile b/libc/misc/getloadavg/Makefile
new file mode 100644
index 000000000..4a8f4a072
--- /dev/null
+++ b/libc/misc/getloadavg/Makefile
@@ -0,0 +1,13 @@
+# Makefile for uClibc
+#
+# Copyright (C) 2000-2005 Erik Andersen <andersen@uclibc.org>
+#
+# Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
+#
+
+top_srcdir=../../../
+top_builddir=../../../
+all: objs
+include $(top_builddir)Rules.mak
+include Makefile.in
+include $(top_srcdir)Makerules