1
0

Start adding simple video console which uses framebuffer

This commit is contained in:
2012-09-09 01:58:38 -04:00
parent c96a4e2a57
commit aaa714d89a
5 changed files with 81 additions and 14 deletions

View File

@ -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 $@')