Changeset 653 for trunk/softs/tsar_boot/Makefile
- Timestamp:
- Mar 3, 2014, 5:11:06 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/softs/tsar_boot/Makefile
r587 r653 9 9 else 10 10 ifdef SOCLIB 11 DEFS+= -DSOCLIB_IOC 11 ifdef RAMDISK 12 DEFS+= -DUSE_RDK 13 else 14 DEFS+= -DUSE_BDV 15 endif 12 16 DTS=platform_soclib.dts 13 17 $(info Make for $(PLATFORM_DIR), SocLib variant) 14 18 else 19 DEFS+= -DUSE_SPI 15 20 DTS=platform_fpga.dts 16 21 $(info Make for $(PLATFORM_DIR), FPGA variant) … … 19 24 endif 20 25 21 LD 22 CC 23 AS 24 DU 25 RM 26 ECHO :=echo27 MKDIR 28 DTC 29 HEXDUMP 26 LD := mipsel-unknown-elf-ld 27 CC := mipsel-unknown-elf-gcc 28 AS := mipsel-unknown-elf-as 29 DU := mipsel-unknown-elf-objdump 30 RM := rm -rf 31 ECHO := @echo 32 MKDIR := mkdir 33 DTC := dtc 34 HEXDUMP := hexdump 30 35 DOXYGEN := doxygen 31 36 … … 38 43 # ============================================================================= 39 44 40 INCLUDE 45 INCLUDE += -I. -I$(INCS_DIR) -I$(PLATFORM_DIR) 41 46 42 47 # ============================================================================= … … 56 61 -fomit-frame-pointer \ 57 62 -mips32 \ 58 63 -ggdb \ 59 64 -mlong-calls \ 60 65 -Werror 61 66 62 C_SRCS 67 C_SRCS := reset_elf_loader.c \ 63 68 reset_ioc.c \ 64 69 reset_utils.c \ … … 70 75 endif 71 76 72 S_SRCS 77 S_SRCS := reset.S 73 78 74 79 OBJS := $(subst .c,.o, $(notdir $(C_SRCS))) … … 78 83 TARGET := preloader.elf 79 84 80 USE_DT 85 USE_DT ?= 1 81 86 82 87 all: $(TARGET) … … 135 140 $(DU) -D $@ > $@.txt 136 141 137 .SILENT:142 #.SILENT:
Note: See TracChangeset
for help on using the changeset viewer.