[go: nahoru, domu]

Skip to content

Commit

Permalink
docs formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
PauloMigAlmeida committed Dec 21, 2021
1 parent 306b9e3 commit fc16605
Showing 1 changed file with 16 additions and 17 deletions.
33 changes: 16 additions & 17 deletions scripts/config.mk
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
#--------------------
# Project directories
#--------------------
DIR_SRC := $(DIR_ROOT)/src
DIR_SRC := $(DIR_ROOT)/src

DIR_BUILD := $(DIR_ROOT)/build
DIR_BUILD := $(DIR_ROOT)/build
DIR_SCRIPTS := $(DIR_ROOT)/scripts
DIR_INCLUDE := $(DIR_ROOT)/include

Expand All @@ -15,30 +15,29 @@ OUTPUT_RAW_DISK := $(DIR_BUILD)/disk.img
#-------------------
# Tool configuration
#-------------------
TARGET := x86_64-elf
TARGET := x86_64-elf

CC := $(TARGET)-gcc
CC := $(TARGET)-gcc

# Notes:
# - gnu99 is used instead of c99 so we can use the GCC inline assembly extensions
CCFLAGS := -std=gnu99 -I$(DIR_INCLUDE) -Qn -g \
-m64 -mno-red-zone -mno-mmx -masm=intel \
-ffreestanding -fno-asynchronous-unwind-tables \
-Wall -Wextra -Wpedantic -mcmodel=large -fno-builtin
CCFLAGS := -std=gnu99 -I$(DIR_INCLUDE) -Qn -g \
-m64 -mno-red-zone -mno-mmx -masm=intel \
-ffreestanding -fno-asynchronous-unwind-tables \
-Wall -Wextra -Wpedantic -mcmodel=large -fno-builtin

AS := nasm
AS := nasm

ASFLAGS := -f bin
ASFLAGS := -f bin

LD := $(TARGET)-ld

LD := $(TARGET)-ld
LDFLAGS := -nostdlib -z max-page-size=0x1000

LDFLAGS := -nostdlib -z max-page-size=0x1000
OBJCOPY := $(TARGET)-objcopy

OBJCOPY := $(TARGET)-objcopy
MAKE_FLAGS := --quiet --no-print-directory

MAKE_FLAGS := --quiet --no-print-directory
QEMU := qemu-system-x86_64

QEMU := qemu-system-x86_64

GDB := gdb
GDB := gdb

0 comments on commit fc16605

Please sign in to comment.