[U-Boot-Users] [RFC] Rename include/md5.h to u-boot-md5.h

Jean-Christophe PLAGNIOL-VILLARD plagnioj at jcrosoft.com
Sun Apr 6 13:18:40 CEST 2008


On 16:19 Wed 02 Apr     , Andy Fleming wrote:
> Some systems have md5.h installed in /usr/include/.  This isn't the desired
> file (we want the one in include/md5.h).  This will avoid the conflict.
> This fixes the host tools building problem
> 
> Signed-off-by: Andy Fleming <afleming at freescale.com>
> ---
> 
> This fixes the problem for me, at least...
> 
>  common/image.c       |    4 ++--
>  include/u-boot-md5.h |   23 +++++++++++++++++++++++
>  lib_generic/md5.c    |    2 +-
>  3 files changed, 26 insertions(+), 3 deletions(-)
>  create mode 100644 include/u-boot-md5.h
> 
> diff --git a/common/image.c b/common/image.c
> index f04826a..2ee49ef 100644
> --- a/common/image.c
> +++ b/common/image.c
> @@ -53,7 +53,7 @@
>  #endif
>  
>  #if defined(CONFIG_FIT)
> -#include <md5.h>
> +#include <u-boot-md5.h>
Could we create an u-boot dirent like do int linux like
#include <u-boot/md5.h>

Best Regards
J.




More information about the U-Boot mailing list