-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
544 lines (406 loc) · 17.4 KB
/
Makefile
File metadata and controls
544 lines (406 loc) · 17.4 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
# Automatic Bulding Process by GNU Makefile.
# Reference: https://www.gnu.org/software/make/manual/html_node/index.html
# Reference: https://wiki.osdev.org/Makefile
# Last Updated : 27-09-2025
# Author : Bapon Kar
# Repository url : https://github.com/baponkar/KeblaOS
# To see inside of hex file https://hexed.it/
# Help : Run 'make help'
START_TIME := $(shell date +%s)
OS_NAME = KeblaOS
OS_VERSION = 1.2
HOST_HOME = /home/bapon
BUILD_DIR := build
BUILD_INFO_FILE = $(BUILD_DIR)/build_info.txt
ISO_DIR = build/iso_root
DEBUG_DIR = ./debug
DEBUG_FILE = $(DEBUG_DIR)/qemu_log.txt
DISK_DIR = disk_img
DISK_1 = $(DISK_DIR)/disk_1.img
DISK_2 = $(DISK_DIR)/disk_2.img
USER_MODULE_DIR = module
USER_PROGRAM_FILE = user_main
# GCC Compiler
GCC = $(HOST_HOME)/opt/cross/bin/x86_64-elf-gcc-14.2.0
GCC_FLAG = -g -Wall \
-Wextra -std=gnu11 \
-ffreestanding \
-fno-stack-protector \
-fno-stack-check \
-fno-lto -fno-PIC \
-m64 \
-march=x86-64 \
-mno-80387 \
-mno-mmx \
-mno-sse \
-mno-sse2 \
-mno-red-zone \
-mcmodel=kernel \
-msse \
-msse2
GCC_STDLIB_FLAG = -Ikernel/src/lib
# Assembler
NASM = nasm
NASM_FLAG = -g -Wall -f elf64
# Linker
LD = $(HOST_HOME)/opt/cross/bin/x86_64-elf-ld
LD_FLAG = -m elf_x86_64 -nostdlib -static -z max-page-size=0x1000
OBJDUMP = $(HOST_HOME)/opt/cross/bin/x86_64-elf-objdump
# Building externel library
EXT_LIB_DIR = ext_lib
# Creating build directory
$(BUILD_DIR):
mkdir -p $@
# ================================= Externel Library Build Start ========================================================================
# 1. limine (I am using previus building files )
# Nothing to build
LIMINE_BUILD_DIR := build/ext_lib/limine-9.2.3
LIMINE_SRC_DIR := ext_lib/limine-9.2.3
# 2. tiny-regex-c
TINY_REGEX_BUILD_DIR = build/ext_lib/tiny-regex-c
TINY_REGEX_SRC_DIR = ext_lib/tiny-regex-c
TINY_REGEX_SRC_FILES := $(shell find ext_lib/tiny-regex-c -name '*.c')
TINY_REGEX_OBJ_FILES := $(patsubst $(TINY_REGEX_SRC_DIR)/%.c, $(TINY_REGEX_BUILD_DIR)/%.o, $(TINY_REGEX_SRC_FILES))
TINY_REGEX_LIB_FILE := build/lib-tiny-regex.a
build/ext_lib/tiny-regex-c:
mkdir -p $@
build/tiny-regex-c/%.o: ext_lib/tiny-regex-c/%.c
@mkdir -p $(dir $@)
$(GCC) $(GCC_FLAG) $(GCC_STDLIB_FLAG) -c $< -o $@
build/lib-tiny-regex.a: $(TINY_REGEX_LIB_FILE)
ar rcs $@ $^
tiny-regex: build/lib-tiny-regex.a
@echo "Tiny-Regex-C Build completed."
# 3. ugui
UGUI_BUILD_DIR = build/ext_lib/UGUI
UGUI_SRC_DIR = ext_lib/UGUI
UGUI_SRC_FILES := $(shell find $(UGUI_SRC_DIR) -name '*.c')
UGUI_OBJ_FILES := $(patsubst $(UGUI_SRC_DIR)/%.c, $(UGUI_BUILD_DIR)/%.o, $(UGUI_SRC_FILES))
UGUI_LIB_FILE := build/lib-ugui.a
$(UGUI_BUILD_DIR):
mkdir -p $@
$(UGUI_BUILD_DIR)/%.o: $(UGUI_SRC_DIR)/%.c | $(UGUI_BUILD_DIR)
@mkdir -p $(dir $@)
find $(UGUI_BUILD_DIR) -type f \( -name '*.o' -o -name '*.d' \) -delete
$(GCC) $(GCC_FLAG) $(GCC_STDLIB_FLAG) -Iext_lib/UGUI -c $< -o $@
$(UGUI_LIB_FILE): $(UGUI_OBJ_FILES)
ar rcs $@ $^
ugui: $(UGUI_LIB_FILE)
@echo "UGUI Build completed."
external_libs: $(UGUI_LIB_FILE) $(TINY_REGEX_LIB_FILE)
# ============================================== Kernel Build Start ====================================================================
# 5. Kernel build
KERNEL_DIR = kernel
KERNEL_BUILD_DIR = build/kernel
KERNEL_SRC_DIR = kernel
KERNEL_C_SRC_FILES := $(shell find kernel -name '*.c')
KERNEL_C_OBJ_FILES := $(patsubst $(KERNEL_SRC_DIR)/%.c, $(KERNEL_BUILD_DIR)/%.o, $(KERNEL_C_SRC_FILES))
KERNEL_LIB_FILE := build/libkernel.a
build/kernel:
mkdir -p $@
build/kernel/%.o: kernel/%.c
@mkdir -p $(dir $@)
$(GCC) $(GCC_FLAG) $(GCC_STDLIB_FLAG) -c $< -o $@
KERNEL_ASM_SRC_FILES := $(shell find kernel -name '*.asm')
KERNEL_ASM_OBJ_FILES := $(patsubst $(KERNEL_SRC_DIR)/%.asm, $(KERNEL_BUILD_DIR)/%.o, $(KERNEL_ASM_SRC_FILES))
build/kernel/%.o: kernel/%.asm
@mkdir -p $(dir $@)
$(NASM) $(NASM_FLAG) $< -o $@
KERNEL_OBJ_FILES := $(KERNEL_C_OBJ_FILES) $(KERNEL_ASM_OBJ_FILES)
build/libkernel.a: $(KERNEL_OBJ_FILES)
ar rcs $@ $^
kernel: build/libkernel.a
@echo "Kernel C Build completed."
# =======================================================================================================================================
# Rule to link all object files into a single kernel binary
$(BUILD_DIR)/kernel.bin: $(KERNEL_LIB_FILE) $(TINY_REGEX_LIB_FILE) $(UGUI_LIB_FILE)
$(LD) $(LD_FLAG) -T kernel_linker_x86_64.ld -o $@ $^
linking: $(BUILD_DIR)/kernel.bin
@echo "Successfully all lib files linked."
# ======================================================================================================================================
# Create a file with the current timestamp and custom message
$(BUILD_INFO_FILE):
@mkdir -p $(BUILD_DIR)
@echo "Build Information for $(OS_NAME) v$(OS_VERSION)" > $@
@echo "Build Time: $$(date)" >> $@
@echo "Build started by: $$(whoami)@$$(hostname)" >> $@
@echo "---------------------------------------" >> $@
@echo "Build Project by: make build" >> $@
@echo "Build Project and then Run iso by: make all" >> $@
@echo "Get make help by: make help" >> $@
# =====================================================================================================================================
# Creating ISO image
$(BUILD_DIR)/$(OS_NAME)-$(OS_VERSION)-xorriso-image.iso: $(BUILD_DIR)/kernel.bin #$(DEBUG_DIR)/objdump.txt
mkdir -p build $(ISO_DIR)/boot $(ISO_DIR)/boot/limine $(ISO_DIR)/EFI/BOOT
# cp image/boot_loader_wallpaper.bmp $(ISO_DIR)/boot/boot_loader_wallpaper.bmp
cp -v $(BUILD_DIR)/kernel.bin $(ISO_DIR)/boot/
cp -v $(LIMINE_SRC_DIR)/limine.conf $(ISO_DIR)/boot/
cp -v $(USER_MODULE_DIR)/build/$(USER_PROGRAM_FILE).elf $(ISO_DIR)/boot/$(USER_PROGRAM_FILE).elf
cp -v $(LIMINE_SRC_DIR)/limine-bios.sys $(LIMINE_SRC_DIR)/limine-bios-cd.bin $(LIMINE_SRC_DIR)/limine-uefi-cd.bin $(ISO_DIR)/boot/limine/
cp -v $(LIMINE_SRC_DIR)/BOOTX64.EFI $(ISO_DIR)/EFI/BOOT/
xorriso -as mkisofs \
-b boot/limine/limine-bios-cd.bin \
-no-emul-boot -boot-load-size 4 -boot-info-table \
--efi-boot boot/limine/limine-uefi-cd.bin \
-efi-boot-part --efi-boot-image \
--protective-msdos-label $(ISO_DIR) \
-o $(BUILD_DIR)/$(OS_NAME)-$(OS_VERSION)-xorriso-image.iso
$(LIMINE_SRC_DIR)/limine bios-install $(BUILD_DIR)/$(OS_NAME)-$(OS_VERSION)-xorriso-image.iso
# $(LIMINE_SRC_DIR)/limine bios-install $(DISK_DIR)/disk_1.img
image: $(BUILD_DIR)/$(OS_NAME)-$(OS_VERSION)-xorriso-image.iso $(BUILD_INFO_FILE)
# ========================================================================================================================================
blank_disk_1:
mkdir -p $(DISK_DIR)
mkdir -p $(DISK_DIR)/mnt1
# Clean previous mounts and loop device
sudo umount $(DISK_DIR)/mnt1 || true
sudo umount /dev/loop1p1 || true
sudo losetup -d /dev/loop1 || true
# 1. Create Disk Image (1024 MiB)
dd if=/dev/zero of=$(DISK_1) bs=1M count=1024
@echo "Created blank Disk-1 image"
# Creating two blank disks
blank_disks:
make blank_disk_1
# Formatting disk_1.img and disk_2.img as FAT32
fat32_format:
# Disk - 1
parted $(DISK_DIR)/disk_1.img --script -- mklabel msdos
parted $(DISK_DIR)/disk_1.img --script -- mkpart primary fat32 1MiB 100%
@echo "Disk-1 image Partitioned (FAT32)"
# Setup loop device, format, and detach
@bash -c '\
LOOPDEV=$$(sudo losetup --show -fP $(DISK_DIR)/disk_1.img); \
sudo mkfs.vfat -F 32 $${LOOPDEV}p1; \
sudo losetup -d $$LOOPDEV; \
'
@echo "Disk-1 Formatted first partition as FAT32"
# Formatting disk_1.img and disk_2.img as EXT2
ext2_format:
# Disk - 1
parted $(DISK_DIR)/disk_1.img --script -- mklabel msdos
parted $(DISK_DIR)/disk_1.img --script -- mkpart primary ext2 1MiB 100%
@echo "Disk-1 image Partitioned (EXT2)"
# Setup loop device with partitions
sudo losetup -fP $(DISK_1)
@LOOPDEV_1=$$(sudo losetup -j $(DISK_1) | cut -d: -f1); \
sudo mkfs.ext2 $${LOOPDEV_1}p1; \
sudo losetup -d $${LOOPDEV_1}
create_disks:
# Clean previous disk directory and created again disk directory
rm -rf $(DISK_DIR)/*
mkdir -p $(DISK_DIR)/mnt1
make blank_disk_1
make fat32_format
@echo "All Disk images are created and formatted."
# =======================================================================================================================================
# =======================================================================================================================================
# Create a bootable HDD disk image using Limine bootloader
bootable_disk:
@echo "================ Creating Bootable Disk Image with Limine ================"
mkdir -p $(DISK_DIR)
sudo umount $(DISK_DIR)/mnt1 || true
sudo losetup -D || true
# 1. Create a new blank disk image (1 GiB)
dd if=/dev/zero of=$(DISK_1) bs=1M count=1024
@echo "Created blank disk image $(DISK_1)"
# 2. Partition the disk with GPT and create an EFI System Partition (ESP)
parted $(DISK_1) --script -- mklabel gpt
parted $(DISK_1) --script -- mkpart EFI fat32 1MiB 512MiB
parted $(DISK_1) --script -- set 1 esp on
parted $(DISK_1) --script -- mkpart DATA fat32 512MiB 100%
@echo "GPT partitions created: [EFI FAT32 + Data FAT32]"
# 3. Setup loop device and format partitions
@bash -c '\
LOOPDEV=$$(sudo losetup --show -fP $(DISK_1)); \
echo "Using loop device: $$LOOPDEV"; \
sudo mkfs.vfat -F 32 -n LMBT $$LOOPDEV"p1"; \
sudo mkfs.vfat -F 32 -n DATA $$LOOPDEV"p2"; \
mkdir -p $(DISK_DIR)/mnt1; \
sudo mount $$LOOPDEV"p1" $(DISK_DIR)/mnt1; \
echo "Copying bootloader and kernel files..."; \
sudo mkdir -p $(DISK_DIR)/mnt1/boot/limine $(DISK_DIR)/mnt1/EFI/BOOT; \
sudo cp $(BUILD_DIR)/kernel.bin $(DISK_DIR)/mnt1/boot/; \
sudo cp $(USER_MODULE_DIR)/build/$(USER_PROGRAM_FILE).elf $(DISK_DIR)/mnt1/boot/; \
sudo cp $(LIMINE_SRC_DIR)/limine.conf $(DISK_DIR)/mnt1/boot/; \
sudo cp $(LIMINE_SRC_DIR)/limine-bios.sys $(LIMINE_SRC_DIR)/limine-bios-cd.bin $(LIMINE_SRC_DIR)/limine-uefi-cd.bin $(DISK_DIR)/mnt1/boot/limine/; \
sudo cp $(LIMINE_SRC_DIR)/BOOTX64.EFI $(DISK_DIR)/mnt1/EFI/BOOT/; \
sudo umount $(DISK_DIR)/mnt1; \
echo "Installing Limine bootloader on $$LOOPDEV..."; \
sudo $(LIMINE_SRC_DIR)/limine bios-install $$LOOPDEV; \
sudo losetup -d $$LOOPDEV; \
echo "Bootable disk successfully created: $(DISK_1)"; \
'
@echo "=========================================================================="
# Run the OS in QEMU with BIOS boot and two sata disks drives
bios_run:
qemu-system-x86_64 \
-machine q35 \
-m 4096 \
-smp cores=4,threads=1,sockets=1,maxcpus=4 \
-boot d \
-device ahci,id=ahci \
-device ide-cd,drive=cdrom,bus=ahci.0 \
-device ide-hd,drive=sata_disk1,bus=ahci.1 \
-drive id=sata_disk1,file=$(DISK_1),if=none,format=raw \
-drive id=cdrom,media=cdrom,file=$(BUILD_DIR)/$(OS_NAME)-$(OS_VERSION)-xorriso-image.iso,if=none \
-serial stdio \
-vga std \
-rtc base=utc,clock=host \
-netdev user,id=n1 -device e1000,netdev=n1 \
-d guest_errors,int,cpu_reset \
-D $(DEBUG_DIR)/qemu_bios.log \
-trace enable=all,file=./debug/bios_run_trace.log \
-no-reboot
# To see available trace events about start_dma: qemu-system-x86_64 -trace help | grep -i start_dma
# We can add -noo--rebboot to prevent rebooting after kernel panic
bios_run_nvme:
qemu-system-x86_64 \
-machine q35 \
-m 4096 \
-smp cores=4,threads=1,sockets=1,maxcpus=4 \
-boot d \
-device nvme,serial=nvme1,drive=nvme1 \
-drive id=nvme1,file=$(DISK_1),if=none,format=raw \
-cdrom $(BUILD_DIR)/$(OS_NAME)-$(OS_VERSION)-xorriso-image.iso \
-serial stdio \
-vga std \
-rtc base=utc,clock=host \
-netdev user,id=n1 -device e1000,netdev=n1 \
-d guest_errors,int,cpu_reset \
-D $(DEBUG_DIR)/qemu_nvme.log
#-no-reboot
# Run the OS in QEmu By using two ahci sata disks
uefi_run:
# UEFI Boot
qemu-system-x86_64 \
-machine q35 \
-m 4096 \
-smp cores=2,threads=2,sockets=1,maxcpus=4 \
-boot d \
-device ahci,id=ahci \
-drive id=disk1,file=$(DISK_DIR)/disk_1.img,if=none,format=raw \
-device ide-hd,drive=disk1,bus=ahci.0 \
-cdrom $(BUILD_DIR)/$(OS_NAME)-$(OS_VERSION)-xorriso-image.iso \
-serial stdio \
-d guest_errors,int,cpu_reset \
-D $(DEBUG_DIR)/qemu_uefi.log \
-vga std \
-bios /usr/share/ovmf/OVMF.fd \
-rtc base=utc,clock=host \
-net nic \
-net user
# Running OS by QEmu by using one NVMe SATA Disks
uefi_nvme_run:
qemu-system-x86_64 \
-machine q35 \
-m 4096 \
-smp cores=2,threads=2,sockets=1 \
-boot d \
-device nvme,serial=nvme1,drive=nvme1 \
-drive id=nvme1,file=$(DISK_1),if=none,format=raw \
-cdrom $(BUILD_DIR)/$(OS_NAME)-$(OS_VERSION)-xorriso-image.iso \
-serial stdio \
-vga std \
-bios /usr/share/ovmf/OVMF.fd \
-rtc base=utc,clock=host \
-net nic -net user
bios_disk_run:
qemu-system-x86_64 \
-machine q35 \
-m 4096 \
-smp cores=4,threads=1,sockets=1,maxcpus=4 \
-boot c \
-drive id=sata_disk1,file=$(DISK_1),if=none,format=raw \
-device ahci,id=ahci \
-device ide-hd,drive=sata_disk1,bus=ahci.0 \
-serial stdio \
-vga std \
-rtc base=utc,clock=host \
-netdev user,id=n1 -device e1000,netdev=n1 \
-d guest_errors,int,cpu_reset \
-D $(DEBUG_DIR)/qemu_bios_disk.log \
-trace enable=all,file=./debug/bios_disk_run_trace.log
uefi_disk_run:
qemu-system-x86_64 \
-machine q35 \
-m 4096 \
-smp cores=4,threads=1,sockets=1,maxcpus=4 \
-boot d \
-drive id=sata_disk1,file=$(DISK_1),if=none,format=raw \
-device ahci,id=ahci \
-device ide-hd,drive=sata_disk1,bus=ahci.0 \
-serial stdio \
-vga std \
-rtc base=utc,clock=host \
-netdev user,id=n1 -device e1000,netdev=n1 \
-d guest_errors,int,cpu_reset \
-D $(DEBUG_DIR)/qemu_uefi_disk.log \
-trace enable=all,file=./debug/uefi_disk_run_trace.log \
-drive if=pflash,format=raw,readonly=on,file=/usr/share/ovmf/OVMF.fd
gdb_debug:
# GDB Debuging
qemu-system-x86_64 \
-machine q35 \
-m 4096 \
-smp cores=4,threads=1,sockets=1,maxcpus=4 \
-boot d \
-device ahci,id=ahci \
-device ide-cd,drive=cdrom,bus=ahci.0 \
-device ide-hd,drive=sata_disk1,bus=ahci.1 \
-drive id=sata_disk1,file=$(DISK_1),if=none,format=raw \
-drive id=cdrom,media=cdrom,file=$(BUILD_DIR)/$(OS_NAME)-$(OS_VERSION)-xorriso-image.iso,if=none \
-serial stdio \
-d guest_errors,int,cpu_reset \
-D $(DEBUG_DIR)/qemu_gdb_debug.log \
-vga std \
-rtc base=utc,clock=host \
-s -S
clean:
# -o stands or
# Deleting libkernel.a and iso file
find build -type f \( -name '*.iso' -o -name 'libkernel.a' \) -delete
# Delete all .o and .d files recursively inside build/kernel directory
find $(BUILD_DIR)/kernel -type f \( -name '*.o' -o -name '*.d' \) -delete
hard_clean:
# Deleteing all file inside build directory , -o stands or and f stands file
find $(BUILD_DIR) -type f \( -name '*.o' -o -name '*' \) -delete
#deleting all directories inside build directory , d stand for directory
find $(BUILD_DIR) -type d -empty ! -path "$(BUILD_DIR)" -delete
# Deleting disk images
find $(DISK_DIR) -type f \( -name '*.img' \) -delete
# =======================================================================================================================================
user_programe:
rm -rf $(USER_MODULE_DIR)/build/*
make -C $(USER_MODULE_DIR)/
@echo "Successfully build user_program.elf"
# =======================================================================================================================================
# Full build (with external libraries)
all: hard_clean kernel fatfs tiny-regex ugui linking user_programe image create_disks bios_run
# Kernel-only build (no ext_lib)
build: clean kernel linking user_programe image clean bios_run
default: build
.PHONY: all build tiny-regex ugui external_libs kernel linking user_program build_image create_disks blank_disks ext2_format fat32_format bios_disk_run uefi_disk_run help
help:
@echo "Available targets:"
@echo " make - For Kernel build only.(default target)"
@echo " make -B - For Fresh kernel rebuild"
@echo " make all - Build the whole project along with externel library."
@echo " make kernel - Compile the kernel source files only."
@echo " make linking - Link the kernel and LVGL static library(.a) files"
@echo " make image - Create the ISO image for the OS"
@echo " make bios_run - Run the default target with two SATA disks"
@echo " make bios_run_nvme - Run the OS with two NVMe Disks."
@echo " make uefi_run - UEFI Run the target with two SATA Disks"
@echo " make uefi_run_nvme - UEFI Run with two NVMe Disks"
@echo " make bios_disk_run - Run by using bootable SATA Disk by BIOS mode"
@echo " make uefi_disk_run - Run by using bootable Disk by UEFI mode"
@echo " make gdb_debug - Debugging By GDB"
@echo " make clean - Clean up kernel build artifacts"
@echo " make hard_clean - Clean up all build artifacts"
@echo " make blank_disks - Create Two Blank Disks image"
@echo " make fat32_format - Format two disks with FAT32 Filesystem"
@echo " make ext2_format - Format two disks with EXT2 Filesystem"
@echo " make user_programe - Build user_program.elf from module/user_main.c"
@echo " make bootable_disk - To create a Bootable Disk by Limine Bootloader."
@echo " make help - To display this help menu."