Changeset 406 for trunk/softs
- Timestamp:
- Jun 11, 2013, 2:28:55 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/softs/tsar_boot/Makefile
r390 r406 16 16 endif 17 17 endif 18 endif 19 20 ifeq ($(USE_DT), 0) 21 DTS= 18 22 endif 19 23 … … 54 58 55 59 C_SRCS := boot_elf_loader.c boot_ioc.c boot_memcpy.c boot_tty.c exceptions.c 60 56 61 ifndef SOCLIB 57 C_SRCS+= sdcard.c spi.c62 C_SRCS += sdcard.c spi.c 58 63 endif 59 64 … … 66 71 TARGET := bin.soft 67 72 73 ifndef USE_DT 74 USE_DT := 1 75 else 76 USE_DT := $(USE_DT) 77 endif 68 78 69 79 ifdef SYSCLK_FREQ 70 DEFS+= -DSYSCLK_FREQ=$(SYSCLK_FREQ)80 DEFS += -DSYSCLK_FREQ=$(SYSCLK_FREQ) 71 81 endif 72 82 … … 83 93 84 94 $(BUILD_DIR)/platform.dtb: $(DTS) 95 ifeq ($(USE_DT), 1) 85 96 $(ECHO) "[ DTC ] $(notdir $<)" 86 97 ${DTC} -O dtb -o $@ $< &> /dev/null 98 else 99 touch $@ 100 endif 87 101 88 102 $(BUILD_DIR):
Note: See TracChangeset
for help on using the changeset viewer.