0004-HACK-Makefile-Ignore-missing-input-files-for-binman.patch 1.3 KB

1234567891011121314151617181920212223242526272829303132333435
  1. From ba34d29274c23c52be957ea040539dccbab09765 Mon Sep 17 00:00:00 2001
  2. From: Alper Nebi Yasak <alpernebiyasak@gmail.com>
  3. Date: Wed, 10 Jul 2024 17:37:56 +0300
  4. Subject: [PATCH] HACK: Makefile: Ignore missing input files for binman images
  5. For Rockchip boards binman tries to build SPI and MMC images that
  6. require an externally built BL31 file to be provided, and the build
  7. fails otherwise.
  8. Some downstreams only care about build outputs for U-Boot proper. As a
  9. hack to make sure they can do so without passing in a BL31 file, tell
  10. binman to ignore missing input files.
  11. Signed-off-by: Alper Nebi Yasak <alpernebiyasak@gmail.com>
  12. ---
  13. Makefile | 2 +-
  14. 1 file changed, 1 insertion(+), 1 deletion(-)
  15. diff --git a/Makefile b/Makefile
  16. index 1c754ceb5953..fec8d9b2d2b1 100644
  17. --- a/Makefile
  18. +++ b/Makefile
  19. @@ -1375,7 +1375,7 @@ cmd_binman = $(srctree)/tools/binman/binman $(if $(BINMAN_DEBUG),-D) \
  20. --toolpath $(objtree)/tools \
  21. $(if $(BINMAN_VERBOSE),-v$(BINMAN_VERBOSE)) \
  22. build -u -d u-boot.dtb -O . -m \
  23. - --allow-missing $(if $(BINMAN_ALLOW_MISSING),--ignore-missing) \
  24. + --allow-missing --ignore-missing \
  25. -I . -I $(srctree) -I $(srctree)/board/$(BOARDDIR) \
  26. -I $(dt_dir) -a of-list=$(CONFIG_OF_LIST) \
  27. $(foreach f,$(BINMAN_INDIRS),-I $(f)) \
  28. --
  29. 2.45.2