Changeset 45660


Ignore:
Timestamp:
2015-05-10T13:46:50+02:00 (3 years ago)
Author:
nbd
Message:

include: make dtb argument optional in MkFIT

As mkits.sh makes the -d argument optional, we'll make this same
argument optional in the MkFIT function as well.

With this change, MkFIT can be used both to generate FIT images with DT,
and without DT.

Signed-off-by: Mathieu Olivari <mathieu@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/image.mk

    r45517 r45660  
    122122define Image/BuildKernel/MkFIT 
    123123        $(TOPDIR)/scripts/mkits.sh \ 
    124                 -D $(1) -o $(KDIR)/fit-$(1).its -k $(2) -d $(3) -C $(4) -a $(5) -e $(6) \ 
     124                -D $(1) -o $(KDIR)/fit-$(1).its -k $(2) $(if $(3),-d $(3)) -C $(4) -a $(5) -e $(6) \ 
    125125                -A $(ARCH) -v $(LINUX_VERSION) 
    126126        PATH=$(LINUX_DIR)/scripts/dtc:$(PATH) mkimage -f $(KDIR)/fit-$(1).its $(KDIR)/fit-$(1)$(7).itb 
Note: See TracChangeset for help on using the changeset viewer.