Author: nbd Date: 2015-05-10 13:46:50 +0200 (Sun, 10 May 2015) New Revision: 45660
Modified: trunk/include/image.mk Log: 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 <[email protected]> Modified: trunk/include/image.mk =================================================================== --- trunk/include/image.mk 2015-05-10 11:46:45 UTC (rev 45659) +++ trunk/include/image.mk 2015-05-10 11:46:50 UTC (rev 45660) @@ -121,7 +121,7 @@ define Image/BuildKernel/MkFIT $(TOPDIR)/scripts/mkits.sh \ - -D $(1) -o $(KDIR)/fit-$(1).its -k $(2) -d $(3) -C $(4) -a $(5) -e $(6) \ + -D $(1) -o $(KDIR)/fit-$(1).its -k $(2) $(if $(3),-d $(3)) -C $(4) -a $(5) -e $(6) \ -A $(ARCH) -v $(LINUX_VERSION) PATH=$(LINUX_DIR)/scripts/dtc:$(PATH) mkimage -f $(KDIR)/fit-$(1).its $(KDIR)/fit-$(1)$(7).itb endef _______________________________________________ openwrt-commits mailing list [email protected] https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits
