From mboxrd@z Thu Jan 1 00:00:00 1970 From: Peng Fan Date: Wed, 30 Aug 2017 14:14:45 +0800 Subject: [U-Boot] [PATCH V4 04/12] Makefile: build FIT image if CONFIG_SPL_FIT_GENERATOR defined In-Reply-To: <1504073693-16900-1-git-send-email-peng.fan@nxp.com> References: <1504073693-16900-1-git-send-email-peng.fan@nxp.com> Message-ID: <1504073693-16900-4-git-send-email-peng.fan@nxp.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit To: u-boot@lists.denx.de Build FIT image if CONFIG_SPL_FIT_GENERATOR defined. Signed-off-by: Peng Fan Cc: Simon Glass Cc: Masahiro Yamada Cc: Bin Meng Cc: Andre Przywara Cc: "Cooper Jr., Franklin" Cc: "Álvaro Fernández Rojas" Cc: Stefano Babic --- V2: none V3: none V4: wrap using SPL_LOAD_FIT to avoid build error. Makefile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Makefile b/Makefile index a0f3bfd..efc8745 100644 --- a/Makefile +++ b/Makefile @@ -805,6 +805,12 @@ ALL-y += u-boot-tegra.bin u-boot-nodtb-tegra.bin ALL-$(CONFIG_OF_SEPARATE) += u-boot-dtb-tegra.bin endif +ifdef CONFIG_SPL_LOAD_FIT +ifneq ($(CONFIG_SPL_FIT_GENERATOR),"") +ALL-y += u-boot.itb +endif +endif + # Add optional build target if defined in board/cpu/soc headers ifneq ($(CONFIG_BUILD_TARGET),) ALL-y += $(CONFIG_BUILD_TARGET:"%"=%) -- 2.6.6