public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Stefano Babic <sbabic@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [RFC PATCH] IMX: Rename IMX image "SPL" to something else for Cygwin
Date: Fri, 06 Jun 2014 15:30:58 +0200	[thread overview]
Message-ID: <5391C292.1020001@denx.de> (raw)
In-Reply-To: <1402057882-29194-1-git-send-email-yamada.m@jp.panasonic.com>

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
=====================================================================

  reply	other threads:[~2014-06-06 13:30 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-06-06 12:31 [U-Boot] [RFC PATCH] IMX: Rename IMX image "SPL" to something else for Cygwin Masahiro Yamada
2014-06-06 13:30 ` Stefano Babic [this message]
2014-06-07  9:15   ` Vasili Galka

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5391C292.1020001@denx.de \
    --to=sbabic@denx.de \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox