On Tue, Aug 21, 2018 at 3:07 AM Roland Hieber <r.hieber@xxxxxxxxxxxxxx> wrote: > > Hello Andrey, > > On Mon, Aug 20, 2018 at 11:25:43PM -0700, Andrey Smirnov wrote: > > Modify file_detect_type() and add code needed to be able to detect > > i.MX boot images with v1 header. > > > > Signed-off-by: Andrey Smirnov <andrew.smirnov@xxxxxxxxx> > > --- > > common/filetype.c | 7 +++++++ > > include/filetype.h | 1 + > > 2 files changed, 8 insertions(+) > > > > diff --git a/common/filetype.c b/common/filetype.c > > index c5f2384a6..f68a83bec 100644 > > --- a/common/filetype.c > > +++ b/common/filetype.c > > @@ -29,6 +29,8 @@ > > #include <image-sparse.h> > > #include <elf.h> > > > > +#include <../mach-imx/include/mach/imx-header.h> > > This fails at least on ARCH=sandbox: > > common/filetype.c:32:10: fatal error: ../mach-imx/include/mach/imx-header.h: No such file or directory > #include <../mach-imx/include/mach/imx-header.h> > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > I guess it could be solved with an #ifdef ARCH_IMX. > Good catch! I'll make sure to test against ARCH=sandbox when preparing v2 of the set. Thanks, Andrey Smirnov _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox