002-spl-remove-dtoc-of-pdata-generation.patch 993 B

1234567891011121314151617181920212223242526272829303132
  1. From 55273cf6079ddd3b006da69f0113c2c66c03f17e Mon Sep 17 00:00:00 2001
  2. From: David Bauer <mail@david-bauer.net>
  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 <mail@david-bauer.net>
  11. ---
  12. scripts/Makefile.spl | 6 ------
  13. 1 file changed, 6 deletions(-)
  14. --- a/scripts/Makefile.spl
  15. +++ b/scripts/Makefile.spl
  16. @@ -320,12 +320,6 @@ PHONY += dts_dir
  17. dts_dir:
  18. $(shell [ -d $(obj)/dts ] || mkdir -p $(obj)/dts)
  19. -include/generated/dt-structs-gen.h: $(obj)/$(SPL_BIN).dtb dts_dir FORCE
  20. - $(call if_changed,dtoch)
  21. -
  22. -$(obj)/dts/dt-platdata.c: $(obj)/$(SPL_BIN).dtb dts_dir FORCE
  23. - $(call if_changed,dtocc)
  24. -
  25. ifdef CONFIG_SAMSUNG
  26. ifdef CONFIG_VAR_SIZE_SPL
  27. VAR_SIZE_PARAM = --vs