001-scripts-remove-dependency-on-swig.patch 776 B

123456789101112131415161718192021222324
  1. From b137ca16b54c67d76714ea5a0138741959b0dc29 Mon Sep 17 00:00:00 2001
  2. From: David Bauer <mail@david-bauer.net>
  3. Date: Mon, 13 Jul 2020 23:37:37 +0200
  4. Subject: [PATCH] scripts: remove dependency on swig
  5. Don't build the libfdt tool, as it has a dependency on swig (which
  6. OpenWrt does not ship).
  7. This requires more hacks, as of-platdata generation does not work
  8. without it.
  9. Signed-off-by: David Bauer <mail@david-bauer.net>
  10. ---
  11. scripts/dtc/Makefile | 2 --
  12. 1 file changed, 2 deletions(-)
  13. --- a/scripts/dtc/Makefile
  14. +++ b/scripts/dtc/Makefile
  15. @@ -18,5 +18,3 @@ HOSTCFLAGS_dtc-parser.tab.o := -I$(src)
  16. # dependencies on generated files need to be listed explicitly
  17. $(obj)/dtc-lexer.lex.o: $(obj)/dtc-parser.tab.h
  18. -# Added for U-Boot
  19. -subdir-$(CONFIG_PYLIBFDT) += pylibfdt