Start adding simple video console which uses framebuffer
This commit is contained in:
7
Makefile
7
Makefile
@ -15,8 +15,9 @@ LD = $(TOOL_PREFIX)ld
|
||||
|
||||
# Define the flags we'll need for our tools
|
||||
INCLUDES = -I include
|
||||
KCFLAGS = -Wall -Wextra -Werror -nostdlib -nostartfiles -ffreestanding -std=gnu99 $(INCLUDES)
|
||||
KLDFLAGS = -T link.ld
|
||||
KCFLAGS = -Wall -Wextra -Werror -nostdlib -nostartfiles -fno-builtin -std=gnu99 $(INCLUDES)
|
||||
KLDFLAGS = -T link.ld -L /usr/lib/gcc/arm-elf/4.7.0/
|
||||
EXTRA_LIBS = -lgcc
|
||||
|
||||
KOBJS =
|
||||
|
||||
@ -30,7 +31,7 @@ all: aedrix-kernel
|
||||
|
||||
aedrix-kernel: $(KOBJS)
|
||||
$(if $(VERBOSE:1=),@echo ' LD $@')
|
||||
$(if $(VERBOSE:1=),@)$(LD) $(KLDFLAGS) -o $@ $(KOBJS)
|
||||
$(if $(VERBOSE:1=),@)$(LD) $(KLDFLAGS) -o $@ $(KOBJS) $(EXTRA_LIBS)
|
||||
|
||||
%.o: %.c
|
||||
$(if $(VERBOSE:1=),@echo ' CC $@')
|
||||
|
Reference in New Issue
Block a user