Correct typo
[rpi-open-firmware.git] / arm_chainloader / Makefile
index 164ec06..594403c 100644 (file)
@@ -3,12 +3,19 @@ TARGET_ARM_CHAINLOADER = arm_chainloader.bin
 
 SRCS = \
        start.s \
-       boot.s \
-       lib/arm_bcopy.s \
-       lib/arm_bzero.s \
-       lib/arm_locore.s \
+       lib_armv6/arm_bcopy.s \
+       lib_armv6/arm_bzero.s \
+       lib_armv6/arm_locore.s \
+       lib_armv6/arm_strlen.s \
+       lib_armv6/arm_memcmp.s \
+       lib_armv6/string_misc.c \
        drivers/uart.c \
        drivers/cprman.cc \
+       drivers/libfdt/fdt.c \
+       drivers/libfdt/fdt_ro.c \
+       drivers/libfdt/fdt_wip.c \
+       drivers/libfdt/fdt_rw.c \
+       drivers/libfdt/fdt_strerror.c \
        drivers/fatfs/ff.c \
        drivers/sdhost_impl.cc \
        drivers/mbr_disk.cc \
@@ -16,9 +23,8 @@ SRCS = \
        ../lib/xprintf.c \
        ../lib/panic.c \
        ../lib/udelay.c \
+       ../lib/cxx_runtime.c \
        ../lib/tlsf/tlsf.c \
-       firmware_rendezvous.c \
-       minicxx.cc \
        loader.cc \
        main.c
 
@@ -45,7 +51,9 @@ CXX = $(CROSS_COMPILE)gcc
 AS = $(CC)
 OBJCOPY = $(CROSS_COMPILE)objcopy
 LINKFLAGS = -nostdlib -march=$(ARCH) -Wl,--build-id=none -T linker.lds
-COMMON_FLAGS = -c -nostdlib -nostartfiles -ffreestanding -march=$(ARCH) -I../ -I./ -mfpu=vfp -mfloat-abi=hard -mtune=arm1176jzf-s
+COMMON_FLAGS = -c -nostdlib -nostartfiles -ffreestanding -march=$(ARCH) -I../ -I./ -I./drivers/libfdt/ \
+ -mfpu=vfp -mfloat-abi=hard -mtune=arm1176jzf-s
+
 CFLAGS = $(COMMON_FLAGS) -std=c11 
 CXXFLAGS = $(COMMON_FLAGS) -std=c++11 -fno-exceptions -fno-rtti
 ASFLAGS = $(COMMON_FLAGS) -x assembler-with-cpp
This page took 0.025582 seconds and 4 git commands to generate.