0001-drop-configh-from-tools.patch 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. From ab8b54cfc9d3fddba297c343a2d8dea9dbe20017 Mon Sep 17 00:00:00 2001
  2. From: =?UTF-8?q?J=C3=B6rg=20Krause?= <joerg.krause@embedded.rocks>
  3. Date: Tue, 4 Aug 2015 22:13:20 +0200
  4. Subject: [PATCH] drop configh from tools
  5. MIME-Version: 1.0
  6. Content-Type: text/plain; charset=UTF-8
  7. Content-Transfer-Encoding: 8bit
  8. We need to build u-boot tools without a board configuration for the target.
  9. fw_env just uses config.h to define the default environment of the created
  10. image, so it really isn't mandatory.
  11. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
  12. [Jörg Krause: update for version 2015.07]
  13. Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
  14. [Romain: update for version 2017.05
  15. after commit 9d80b49a671c9922931adcd823aab0ed319a42d1]
  16. Signed-off-by: Romain Naour <romain.naour@gmail.com>
  17. [Pierre-Jean: update for version 2019.04]
  18. Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
  19. ---
  20. tools/env/fw_env_private.h | 11 -----------
  21. 1 file changed, 11 deletions(-)
  22. diff --git a/tools/env/fw_env_private.h b/tools/env/fw_env_private.h
  23. index 86be16d..3c62ac4 100644
  24. --- a/tools/env/fw_env_private.h
  25. +++ b/tools/env/fw_env_private.h
  26. @@ -4,17 +4,6 @@
  27. * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
  28. */
  29. -/* Pull in the current config to define the default environment */
  30. -#include <linux/kconfig.h>
  31. -
  32. -#ifndef __ASSEMBLY__
  33. -#define __ASSEMBLY__ /* get only #defines from config.h */
  34. -#include <config.h>
  35. -#undef __ASSEMBLY__
  36. -#else
  37. -#include <config.h>
  38. -#endif
  39. -
  40. /*
  41. * To build the utility with the static configuration
  42. * comment out the next line.
  43. --
  44. 2.9.4