fix: a bunch of stuff related to multitasking
This commit is contained in:
6
Makefile
6
Makefile
@ -3,7 +3,7 @@ NAME := bozOS
|
||||
AS := i386-elf-as
|
||||
ASFLAGS := -g
|
||||
CC := i386-elf-gcc
|
||||
CFLAGS := -std=gnu99 -ffreestanding -Wall -Wextra -iquotelibbozo/headers -iquoteheaders -MMD -fno-omit-frame-pointer -fstack-protector-all -g
|
||||
CFLAGS := -std=gnu99 -ffreestanding -Wall -Wextra -iquotelibbozo/headers -iquoteheaders -MMD -fno-omit-frame-pointer -fstack-protector-all -g3
|
||||
LD := $(CC)
|
||||
LDFLAGS := -T boot/linker.ld -ffreestanding -nostdlib
|
||||
LIBS := -L libbozo/build/ -lbozo -lgcc
|
||||
@ -33,9 +33,7 @@ $(NAME): $(OBJ)
|
||||
run: $(NAME)
|
||||
qemu-system-i386 -kernel build/$(NAME).bin -vga std
|
||||
|
||||
iso: $(NAME)
|
||||
mkdir -p isodir/boot/grub
|
||||
cp build/$(NAME).bin isodir/boot/$(NAME).bin
|
||||
iso: $(NAME) mkdir -p isodir/boot/grub cp build/$(NAME).bin isodir/boot/$(NAME).bin
|
||||
cp config/grub.cfg isodir/boot/grub/grub.cfg
|
||||
grub-mkrescue -o build/$(NAME).iso --compress=xz --locales=en@quot --themes= isodir
|
||||
rm -rf isodir
|
||||
|
Reference in New Issue
Block a user