[U-Boot] [RFC PATCH] IMX: Rename IMX image "SPL" to something else for Cygwin

Stefano Babic sbabic at denx.de
Fri Jun 6 15:30:58 CEST 2014


Hi Masahiro,

On 06/06/2014 14:31, Masahiro Yamada wrote:
> I am not sure how much effort we should make
> for building U-Boot on Cygwin.
> 
> Anyway, other than host programs, I notice file name problem.
> 
> Unlike Unix or Linux, on Windows upper/lower cases for file names
> are not distinguished.
> 
> On Cygwin, for example, we cannot do this:
> 
>   $ mkdir abc
>   $ mkdir ABC
>   mkdir: cannot create directory `ABC': File exists
> 

Right, this is a well know issue.

> It causes some problems in U-Boot too.
> 
> For example,
> 
>   $ make mrproper
>     CLEAN   SPL
>   rm: cannot remove `SPL': Is a directory
>   Makefile:1278: recipe for target 'clobber' failed
>   make: *** [clobber] Error 1
> 
>   $ make qong_config
>   Configuring for qong board...
> 
>   $ make clean
>     CLEAN   arch/arm/imx-common
>   rm: cannot remove `arch/arm/imx-common/../../../SPL': Is a directory
>   scripts/Makefile.clean:79: recipe for target '__clean' failed
>   make[1]: *** [__clean] Error 1
>   Makefile:1256: recipe for target '_clean_arch/arm/imx-common' failed
>   make: *** [_clean_arch/arm/imx-common] Error 2
> 
> I notice at least one file name conflict at the top directory.
> 
>   SPL - image for IMX
>   spl - directory where SPL is built
> 
> This commit renames the former to a temporary name.
> 
> I guess there is few developers testing U-Boot on Cygwin.
> If Cygwin support is mandatory, please consider to rename IMX image.

IMHO we have to consider if there will be a high request to build on
Cygwin and I prefer to defer this issue. Some developers working before
on Cygwin are used to set up a VM on their OS nowadays, reducing the
number of people who need a Cygwin environment.

Regards,
Stefano

-- 
=====================================================================
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de
=====================================================================


More information about the U-Boot mailing list