aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 1d26ad3..aff5319 100644
--- a/Makefile
+++ b/Makefile
@@ -41,13 +41,15 @@ initramfs: target core smash
${INITRAMFS}/system/scripts \
${INITRAMFS}/system/devices \
${INITRAMFS}/system/info \
- ${INITRAMFS}/system/process
+ ${INITRAMFS}/system/process \
+ ${INITRAMFS}/system/data
@cp core/objects/* ${INITRAMFS}/system/core/
@cp utils/init ${INITRAMFS}/system/core/
@cp smash/smash ${INITRAMFS}/system/core/
@cp utils/* ${INITRAMFS}/system/utils/
@cp man/* ${INITRAMFS}/system/manual/
@cp -r config/* ${INITRAMFS}/system/config/
+ @cp -r data/* ${INITRAMFS}/system/data/
@echo Building Initramfs
@cd ${INITRAMFS} && find . | cpio -o --quiet --format=newc > ../initramfs.img
@@ -123,4 +125,9 @@ clean:
@$(MAKE) -C lib clean
@$(MAKE) -C smash clean
+clean-build:
+ @$(MAKE) -C core clean
+ @$(MAKE) -C lib clean
+ @$(MAKE) -C smash clean
+
.PHONY: core lib smash initramfs rootfs iso qemu qemu-nographic clean