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