From ace1914398633e05970f634ddec297665dfda7c6 Mon Sep 17 00:00:00 2001 From: Alexis211 Date: Sun, 13 Sep 2009 15:36:39 +0200 Subject: RamFS creatable but not loadable yet --- Makefile | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 32cd382..391efa5 100644 --- a/Makefile +++ b/Makefile @@ -1,10 +1,12 @@ .PHONY: clean, mrproper, Init.img -Files = Source/Kernel/Melon.ke +Files = Source/Kernel/Melon.ke Init.rfs Floppy = Melon.img -Projects = Kernel +Projects = Kernel Tools/MakeRamFS +RamFS = Init.rfs +RamFSFiles = :/System :/System/Applications :/System/Configuration all: for p in $(Projects); do \ @@ -26,7 +28,10 @@ mproper: make -C Source mrproper -s; \ done -floppy: +$(RamFS): + Source/Tools/MakeRamFS/MakeRamFS $(RamFS) $(RamFSFiles) + +floppy: $(RamFS) sudo mount $(Floppy) Mount -o loop for f in $(Files); do \ sudo cp $$f Mount; \ -- cgit v1.2.3 From 708765621ede3541037fb822cc032b9feb2ea43e Mon Sep 17 00:00:00 2001 From: Alexis211 Date: Sun, 13 Sep 2009 16:46:15 +0200 Subject: Kernel can now load an Initrd. --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 391efa5..664900f 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -.PHONY: clean, mrproper, Init.img +.PHONY: clean, mrproper, Init.rfs Files = Source/Kernel/Melon.ke Init.rfs Floppy = Melon.img @@ -6,7 +6,7 @@ Floppy = Melon.img Projects = Kernel Tools/MakeRamFS RamFS = Init.rfs -RamFSFiles = :/System :/System/Applications :/System/Configuration +RamFSFiles = :/System :/System/Applications Source/Kernel/Ressources/Welcome.txt:/Welcome.txt :/System/Configuration all: for p in $(Projects); do \ -- cgit v1.2.3