changes in v2: * fixed the missing Makefile entry in the first version Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>