forked from pool/u-boot
Guillaume GARDET
899039e75b
- Update to v2018.07 - Patch queue updated from git://github.com/openSUSE/u-boot.git tumbleweed-2018.07 * Patches dropped: 0010-arm-timer-factor-out-FSL-arch-timer.patch 0011-arm-timer-sunxi-add-Allwinner-timer.patch - Update to v2018.07-rc3 - Patch queue updated from git://github.com/openSUSE/u-boot.git tumbleweed-2018.07 * Patches added: 0010-arm-timer-factor-out-FSL-arch-timer.patch 0011-arm-timer-sunxi-add-Allwinner-timer.patch - Update to v2018.07-rc2 - update to v2018.07-rc1 - Add bison and flex deps needed since Kconfig update - Use 'make syncconfig' instead of deprecated 'make silentoldconfig' - Patch queue updated from git://github.com/openSUSE/u-boot.git tumbleweed-2018.07 * Patches dropped: 0006-tools-zynqmpimage-Add-partition-rea.patch 0007-tools-zynqmpimage-Move-defines-to-h.patch 0008-MAINTAINERS-Declare-tools-zynq-.-c-.patch 0009-tools-zynqmpimage-Add-bif-support.patch 0010-tools-zynqmpbif-Add-support-for-loa.patch 0011-rockchip-make_fit_atf-use-elf-entry.patch 0012-rockchip-make_fit_atf-make-python3-.patch 0013-rockchip-make_fit_atf.py-depends-on.patch * Patches added: 0006-tools-zynqmpbif-Add-support-for-loa.patch 0007-rockchip-make_fit_atf-use-elf-entry.patch 0008-rockchip-make_fit_atf-make-python3-.patch 0009-rockchip-make_fit_atf.py-depends-on.patch OBS-URL: https://build.opensuse.org/request/show/621892 OBS-URL: https://build.opensuse.org/package/show/hardware:boot/u-boot?expand=0&rev=22
36 lines
1.3 KiB
Diff
36 lines
1.3 KiB
Diff
From 6f4a537ed398b414b4abdac34e730124b7a3b25a Mon Sep 17 00:00:00 2001
|
|
From: =?UTF-8?q?Andreas=20F=C3=A4rber?= <afaerber@suse.de>
|
|
Date: Sun, 3 Jun 2018 05:47:38 +0200
|
|
Subject: [PATCH] rockchip: make_fit_atf.py depends on u-boot
|
|
MIME-Version: 1.0
|
|
Content-Type: text/plain; charset=UTF-8
|
|
Content-Transfer-Encoding: 8bit
|
|
|
|
u-boot.itb depends on u-boot-nodtb.bin, which in turn depends on u-boot.
|
|
u-boot.its from Rockchip make_fit_atf.py (used by {evb,firefly}-rk3399)
|
|
wants to read u-boot but is lacking this dependency, so that u-boot.itb
|
|
cannot be built in one go. Detect its use and add the missing dependency.
|
|
|
|
Reported-by: Yousaf Kaukab <yousaf.kaukab@suse.com>
|
|
Signed-off-by: Andreas Färber <afaerber@suse.de>
|
|
---
|
|
Makefile | 5 ++++-
|
|
1 file changed, 4 insertions(+), 1 deletion(-)
|
|
|
|
diff --git a/Makefile b/Makefile
|
|
index 7d5f801eea..a6542b07aa 100644
|
|
--- a/Makefile
|
|
+++ b/Makefile
|
|
@@ -1065,7 +1065,10 @@ U_BOOT_ITS = $(subst ",,$(CONFIG_SPL_FIT_SOURCE))
|
|
else
|
|
ifneq ($(CONFIG_SPL_FIT_GENERATOR),"")
|
|
U_BOOT_ITS := u-boot.its
|
|
-$(U_BOOT_ITS): FORCE
|
|
+ifeq ($(CONFIG_SPL_FIT_GENERATOR),"arch/arm/mach-rockchip/make_fit_atf.py")
|
|
+U_BOOT_ITS_DEPS += u-boot
|
|
+endif
|
|
+$(U_BOOT_ITS): $(U_BOOT_ITS_DEPS) FORCE
|
|
$(srctree)/$(CONFIG_SPL_FIT_GENERATOR) \
|
|
$(patsubst %,arch/$(ARCH)/dts/%.dtb,$(subst ",,$(CONFIG_OF_LIST))) > $@
|
|
endif
|