Do not change the order for linked libraries

The script trylink sorts the libraries for name
before calling the linker. This change the order
and the linker failed if some libraries,
usually static libraries, must be linked first.

Drop the sort option and link in the order
the LDLIBS variable is set in the Makefile.flags.

Signed-off-by: Stefano Babic <sbabic@denx.de>
Switched to external LUA library

All LUA sources were integrated in the project.
The patch switches to a prebuilt LUA library, allowing
to easy update to newer versions of the interpreter.

Please consider that LUA is generally provided
as static library and must be linked first
during the final linker process.

Signed-off-by: Stefano Babic <sbabic@denx.de>
Add VID offset for UBI handler

Signed-off-by: Stefano Babic <sbabic@denx.de>
Fix warning due to long lines in handlers/Config.src

Signed-off-by: Stefano Babic <sbabic@denx.de>
Scripts not called when updating from remote.

Previous commit sets scripts into an own list,
to make possible that pre-install scripts are run
first. However, it was not checked if scripts are required,
and then scripts are not called because the
script itself was not extracted from the stream.

Signed-off-by: Stefano Babic <sbabic@denx.de>
Add generated files to .gitignore

Signed-off-by: Stefano Babic <sbabic@denx.de>