Changeset 791
- Timestamp:
- Sep 9, 2014, 10:09:08 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/softs/tsar_boot/Makefile
r761 r791 117 117 $(CC) -x c $(INCLUDE) -E $< | $(SED) -e '/#/d' -e '/^[\s\t]*$$/d' > $@ 118 118 119 $(TARGET): $(BUILD_DIR) $(OBJS) $(BUILD_DIR)/preloader.ld $(BUILD_DIR)/ platform.ld $(BUILD_DIR)/$(DRV_LIB)119 $(TARGET): $(BUILD_DIR) $(OBJS) $(BUILD_DIR)/preloader.ld $(BUILD_DIR)/$(DRV_LIB) 120 120 $(ECHO) "[ LD ] $@" 121 121 $(LD) -o $@ -T $(BUILD_DIR)/preloader.ld $(OBJS) -L$(BUILD_DIR) -ldrivers … … 123 123 124 124 ifeq ($(USE_DT), 1) 125 $(BUILD_DIR)/platform.ld: $(BUILD_DIR)/platform.dtb 126 $(ECHO) "[ HEXDUMP ] $(notdir $<)" 127 $(HEXDUMP) -v -e '"BYTE(0x" 1/1 "%02X" ")\n"' $< > $@ 128 else 129 $(BUILD_DIR)/platform.ld: 130 $(ECHO) "[ TOUCH ] $(notdir $@)" 131 touch $@ 132 endif 125 $(TARGET): $(BUILD_DIR)/platform.ld 133 126 134 127 $(BUILD_DIR)/platform.dtb: $(HARD_CONFIG_PATH)/$(DTS) 135 128 $(ECHO) "[ DTC ] $(notdir $<)" 136 129 ${DTC} -O dtb -o $@ $< &> /dev/null 130 131 $(BUILD_DIR)/platform.ld: $(BUILD_DIR)/platform.dtb 132 $(ECHO) "[ HEXDUMP ] $(notdir $<)" 133 $(HEXDUMP) -v -e '"BYTE(0x" 1/1 "%02X" ")\n"' $< > $@ 134 endif 137 135 138 136 $(BUILD_DIR):
Note: See TracChangeset
for help on using the changeset viewer.