Skip to content

Commit 541fa7a

Browse files
committed
update KFLAG to pluriel KFLAGS
1 parent 0f044ef commit 541fa7a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ $(OUT_DIR)start.o: kernel/start.s
3636
# Pattern rule for any .c → build/*.o
3737
$(OUT_DIR)%.o: %.c
3838
@mkdir -p $(OUT_DIR)
39-
$(CC) $(CFLAGS) -c $< -o $@ $(KFLAG)
39+
$(CC) $(CFLAGS) -c $< -o $@ $(KFLAGS) # KFLAGS is used for custom kernel flags
4040

4141
# Link everything
4242
$(OUT_DIR)kernel.elf: $(OUT_DIR)start.o $(OBJS) kernel.ld

0 commit comments

Comments
 (0)