git.openpandora.org
/
pandora-u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
693d4c9
)
tools/env: Correct include kconfig
author
York Sun
<york.sun@nxp.com>
Wed, 16 Nov 2016 01:02:31 +0000
(17:02 -0800)
committer
York Sun
<york.sun@nxp.com>
Thu, 24 Nov 2016 07:41:23 +0000
(23:41 -0800)
While we move some config macros to Kconfig, kconfig header is needed
to avoid compiling error if not already included.
Signed-off-by: York Sun <york.sun@nxp.com>
common/env_embedded.c
patch
|
blob
|
history
tools/envcrc.c
patch
|
blob
|
history
diff --git
a/common/env_embedded.c
b/common/env_embedded.c
index
56a13cb
..
b368fda
100644
(file)
--- a/
common/env_embedded.c
+++ b/
common/env_embedded.c
@@
-5,6
+5,8
@@
* SPDX-License-Identifier: GPL-2.0+
*/
+#include <linux/kconfig.h>
+
#ifndef __ASSEMBLY__
#define __ASSEMBLY__ /* Dirty trick to get only #defines */
#endif
diff --git
a/tools/envcrc.c
b/tools/envcrc.c
index
a9d9b48
..
e9fd088
100644
(file)
--- a/
tools/envcrc.c
+++ b/
tools/envcrc.c
@@
-12,6
+12,8
@@
#include <string.h>
#include <unistd.h>
+#include <linux/kconfig.h>
+
#ifndef __ASSEMBLY__
#define __ASSEMBLY__ /* Dirty trick to get only #defines */
#endif