a36332fb8cdfe2f3093dcce25ab4527a9abf89be
[packages/trusty/cirros-testvm.git] / cirros-testvm / src-cirros / buildroot-2015.05 / package / uboot-tools / 0001-drop-configh-from-tools.patch
1 We need to build u-boot tools without a board configuration for the target.
2 fw_env just uses config.h to define the default environment of the created
3 image, so it really isn't mandatory.
4
5 Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
6
7 diff --git a/tools/env/fw_env.h b/tools/env/fw_env.h
8 index aff471b..dfe7439 100644
9 --- a/tools/env/fw_env.h
10 +++ b/tools/env/fw_env.h
11 @@ -5,14 +5,6 @@
12   * SPDX-License-Identifier:    GPL-2.0+
13   */
14  
15 -/* Pull in the current config to define the default environment */
16 -#ifndef __ASSEMBLY__
17 -#define __ASSEMBLY__ /* get only #defines from config.h */
18 -#include <config.h>
19 -#undef __ASSEMBLY__
20 -#else
21 -#include <config.h>
22 -#endif
23  
24  /*
25   * To build the utility with the static configuration