Changeset 794


Ignore:
Timestamp:
Sep 9, 2014, 12:21:43 PM (7 years ago)
Author:
porquet
Message:

tsar_boot: include device tree binary when USE_DT=1

Location:
trunk/softs/tsar_boot
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/softs/tsar_boot/Makefile

    r791 r794  
    115115$(BUILD_DIR)/preloader.ld: preloader.ld.in
    116116        $(ECHO) "[   CC    ]     $(notdir $<)"
    117         $(CC) -x c $(INCLUDE) -E $< | $(SED) -e '/#/d' -e '/^[\s\t]*$$/d' > $@
     117        $(CC) -DUSE_DT=$(USE_DT) -x c $(INCLUDE) -E $< | $(SED) -e '/#/d' -e '/^[\s\t]*$$/d' > $@
    118118
    119119$(TARGET): $(BUILD_DIR) $(OBJS) $(BUILD_DIR)/preloader.ld $(BUILD_DIR)/$(DRV_LIB)
  • trunk/softs/tsar_boot/preloader.ld.in

    r759 r794  
    2929        . = ALIGN(0x4);
    3030        dtb_addr = .;
     31#if USE_DT == 1
    3132        INCLUDE "build/platform.ld";
     33#endif
    3234    }
    3335
Note: See TracChangeset for help on using the changeset viewer.