002-spl-remove-dtoc-of-pdata-generation.patch 1.0 KB

12345678910111213141516171819202122232425262728
  1. From 55273cf6079ddd3b006da69f0113c2c66c03f17e Mon Sep 17 00:00:00 2001
  2. From: David Bauer <[email protected]>
  3. Date: Tue, 14 Jul 2020 22:44:22 +0200
  4. Subject: [PATCH] spl: remove dtoc of-pdata generation
  5. Remove the dtoc of-pdata generation. This generation is dependant on
  6. libpython-dev. As OpenWrt does not ship with this dependency, use
  7. pre-generated pdata files and remove the generation from the
  8. build-process.
  9. This only affects RK3328 boards.
  10. Signed-off-by: David Bauer <[email protected]>
  11. ---
  12. scripts/Makefile.spl | 6 ------
  13. 1 file changed, 6 deletions(-)
  14. --- a/scripts/Makefile.spl
  15. +++ b/scripts/Makefile.spl
  16. @@ -354,8 +354,6 @@ $(platdata-hdr) $(u-boot-spl-platdata_c)
  17. @# of OF_PLATDATA_INST and this might change between builds. Leaving old
  18. @# ones around is confusing and it is possible that switching the
  19. @# setting again will use the old one instead of regenerating it.
  20. - @rm -f $(u-boot-spl-all-platdata_c) $(u-boot-spl-all-platdata)
  21. - $(call if_changed,dtoc)
  22. ifdef CONFIG_SAMSUNG
  23. ifdef CONFIG_VAR_SIZE_SPL