summaryrefslogtreecommitdiffstats
path: root/src/sys/makefile
diff options
context:
space:
mode:
Diffstat (limited to 'src/sys/makefile')
-rw-r--r--src/sys/makefile12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/sys/makefile b/src/sys/makefile
new file mode 100644
index 000000000..5a553e1d2
--- /dev/null
+++ b/src/sys/makefile
@@ -0,0 +1,12 @@
+IMGDIR = ../../img
+OBJDIR = ../../obj
+include ../../config.mk
+
+SUBDIRS = init.d
+IMAGES += ${IMGDIR}/kernel.elf
+IMAGES += ${IMGDIR}/kernel.bin
+
+all: ${SUBDIRS}
+
+clean: $(patsubst %.d,%.clean, ${SUBDIRS})
+ (rm -f ${IMAGES} )
OpenPOWER on IntegriCloud