FIX: [droid] fixup preventing closing when removing keyboard with touchpad
Merge pull request #5249 from koying/fixdroidkbdtouch

FIX: [droid] fixup preventing closing when removing keyboard with touchpad
Fix ALSA sound output for Amlogic-based devices.
Allow audio passthrough for Amlogic-based devices.
Enable true 1920x1080 output without upscaling on Amlogic-based devices.
Add support for retrieval of CPU temperature on Amlogic
Add support for AV (CVBS) video output on Amlogic
[aml] Fix the issue when the video display is disabled after a resolution change
[aml] Update all virtual consoles when changing framebuffer geometry after a resolution change

That helps to resolve the issue when framebuffer size is not always correctly change according to the resolution set.
It seems that the issue appeared after updating to the U-Boot bootloader released 2014-08-24 by Amlogic.
Reorder libraries in configure script to prevent linker errors when linking with libsmbclient

Place libsmbclient before all other libraries to prevent linker errors when linking
with libsmbclient if the libc that is currently used doesn't contain some functions
such as dn_expand (which are often included in libc), but are actually included in
libresolv.