summaryrefslogtreecommitdiffstats
path: root/Kbuild
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--Kbuild18
1 files changed, 18 insertions, 0 deletions
diff --git a/Kbuild b/Kbuild
new file mode 100644
index 0000000..63f8f7d
--- /dev/null
+++ b/Kbuild
@@ -0,0 +1,18 @@
+#
+# Kbuild file for klibc
+#
+.PHONY: $(obj)/all
+always := all
+
+$(obj)/all:
+ $(Q)$(MAKE) $(klibc)=scripts/basic
+ $(Q)$(MAKE) $(klibc)=usr/klibc
+ $(Q)$(MAKE) $(klibc)=usr/kinit
+ $(Q)$(MAKE) $(klibc)=usr/dash
+ $(Q)$(MAKE) $(klibc)=usr/utils
+ $(Q)$(MAKE) $(klibc)=usr/gzip
+
+
+# Directories to visit during clean and install
+subdir- := scripts/basic klcc usr/klibc usr/dash usr/utils usr/gzip \
+ usr/kinit usr/klibc/tests