Drop config.h include in tools/imximage.h
PATCH 1/1 Drop config.h include in tools/imximage.h
"make tools-all" should allow building tools such as mkimage and the new imximage without any config, but imximage.c currently fails to build with:
imximage.h:27:20: error: config.h: No such file or directory
config.h is not needed in imximage.h nor in imximage.c, and imximage.h is only included from imximage.c, so drop this include to fix the build.
--- tools/imximage.h | 2 -- 1 files changed, 0 insertions(+), 2 deletions(-)
tools/imximage.h +0 -2
@@ -24,8 +24,6 @@#ifndef _IMXIMAGE_H_#define _IMXIMAGE_H_ -#include <config.h> -#define MAX_HW_CFG_SIZE_V2 121/* Max number of registers imx can set for v2 */ #define MAX_HW_CFG_SIZE_V1 60/* Max number of registers imx can set for v1 */ #define APP_CODE_BARKER 0xB1
Signature · 1 line
1.7.2.3
Wolfgang Denk
AppliedPATCH 1/1 Drop config.h include in tools/imximage.h
Dear =?UTF-8?q?Lo=C3=AFc=20Minier?=,
Quoted 5 lines · In message <[email protected]> you wrote:
"make tools-all" should allow building tools such as mkimage and the new imximage without any config, but
imximage.ccurrently fails to build with:
imximage.h:27:20: error:config.h: No such file or directory
Quoted 7 lines
config.his not needed inimximage.hnor inimximage.c, andimximage.his only included fromimximage.c, so drop this include to fix the build.Signed-off-by Lo?c Minier <[email protected]>--- tools/imximage.h | 2 -- 1 files changed, 0 insertions(+), 2 deletions(-)
Applied,t hanks.
Best regards,
Wolfgang Denk
Signature · 4 lines
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de grep me no patterns and I'll tell you no lines.