aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorNathan Reiner <nathan@nathanreiner.xyz>2023-02-15 15:07:56 +0100
committerNathan Reiner <nathan@nathanreiner.xyz>2023-02-15 15:07:56 +0100
commit1645da679ce50b13b6f19a062eabd2d869762a07 (patch)
tree37e19f84000df69bb2a7d88a2f3db800ead6a85a /Makefile
parent3a369468f7daae5b3a60feaa50c6050b240be6d4 (diff)
add framebuffer image support
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