Skip to contentSkip to conversation

How to build tools/imls ?

U-Boot Masahiro Yamada 1 participant 1 message Nov 12, 2013

lore
Share & tools
lore
#0 lore raw

Hello.

I could not understand where tools/imls/Makefile is invoked from. (I grepped the top Makefile with "imls" but no hit.)

So, I treaked as follows to add imls entry point:

  --- a/Makefile
  +++ b/Makefile
  @@ -773,7 +773,7 @@ $(TIMESTAMP_FILE):
                  @LC_ALL=C date +'#define U_BOOT_TIME "%T"' >> [email protected]
                  @cmp -s $@ [email protected] && rm -f [email protected] || mv -f [email protected] $@

-easylogo env gdb:
+easylogo env gdb imls:

          $(MAKE) -C tools/$@ all MTD_VERSION=${MTD_VERSION}

gdbtools: gdb

And I tried "make imls".
But I still had a error like follows:

tools/imls/imls.c:17:22: fatal error: asm/page.h: No such file or directory

 #include <asm/page.h>
                      ^

compilation terminated.
make[1]: *** [imls.o] Error 1

It seems already to be broken.

Anybody would mind if I deleted "tools/imls" ?
Anybody use this tool?

Best Regards
Masahiro Yamada