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

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. From b742c7590ac6d9ac72dd227679ccff79433b3512 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. ---
  15. tools/env/fw_env.h | 11 -----------
  16. 1 file changed, 11 deletions(-)
  17. diff --git a/tools/env/fw_env.h b/tools/env/fw_env.h
  18. index 57149e7..50049fe 100644
  19. --- a/tools/env/fw_env.h
  20. +++ b/tools/env/fw_env.h
  21. @@ -8,17 +8,6 @@
  22. #include <aes.h>
  23. #include <stdint.h>
  24. -/* Pull in the current config to define the default environment */
  25. -#include <linux/kconfig.h>
  26. -
  27. -#ifndef __ASSEMBLY__
  28. -#define __ASSEMBLY__ /* get only #defines from config.h */
  29. -#include <config.h>
  30. -#undef __ASSEMBLY__
  31. -#else
  32. -#include <config.h>
  33. -#endif
  34. -
  35. /*
  36. * To build the utility with the static configuration
  37. * comment out the next line.
  38. --
  39. 2.7.4