update makefiles
This commit is contained in:
parent
cc99cf72dc
commit
57a51c5746
9
Makefile
9
Makefile
|
@ -10,9 +10,10 @@ SRCS = \
|
||||||
romstage.c \
|
romstage.c \
|
||||||
sdram.c \
|
sdram.c \
|
||||||
arm_loader.c \
|
arm_loader.c \
|
||||||
|
arm_monitor.c \
|
||||||
trap.c \
|
trap.c \
|
||||||
lib/xprintf.c \
|
lib/ee_printf.c \
|
||||||
lib/panic.c \
|
panic.c \
|
||||||
lib/udelay.c \
|
lib/udelay.c \
|
||||||
lib/memcpy.c \
|
lib/memcpy.c \
|
||||||
chainloader_inc.s
|
chainloader_inc.s
|
||||||
|
@ -39,8 +40,8 @@ CC = $(CROSS_COMPILE)gcc
|
||||||
AS = $(CC)
|
AS = $(CC)
|
||||||
OBJCOPY = $(CROSS_COMPILE)objcopy
|
OBJCOPY = $(CROSS_COMPILE)objcopy
|
||||||
LINKFLAGS = -nostdlib -nostartfiles
|
LINKFLAGS = -nostdlib -nostartfiles
|
||||||
CFLAGS = -c -nostdlib -std=c11
|
CFLAGS = -c -nostdlib -std=c11 -fsingle-precision-constant -Wdouble-promotion -D__VIDEOCORE4__ -I./vc4_include/
|
||||||
ASFLAGS = -c -nostdlib -x assembler-with-cpp
|
ASFLAGS = -c -nostdlib -x assembler-with-cpp -D__VIDEOCORE4__ -I./vc4_include/
|
||||||
|
|
||||||
HEADERS := \
|
HEADERS := \
|
||||||
$(shell find . -type f -name '*.h') \
|
$(shell find . -type f -name '*.h') \
|
||||||
|
|
Loading…
Reference in New Issue
Block a user