[U-Boot] build: Fix make errors generated when building 'distclean'
Tom Rini
trini at ti.com
Wed Apr 3 17:30:07 CEST 2013
On Wed, Mar 27, 2013 at 02:34:18PM -0000, Vadim Bendebury wrote:
> It was noticed that when `make distclean' is run, the make process
> terminates with error reporting something like:
>
> rm: cannot remove '/tmp/foobar/': Is a directory
> make: *** [clobber] Error 1
>
> The problem is that the list of files targeted for removal includes a
> directory in case CONFIG_SPL_TARGET is not set.
>
> The fix has been tested as follows:
>
> Ran several times the following sequence of commands:
>
> CROSS_COMPILE=/usr/bin/arm-linux-gnueabi- make O=/tmp/foobar smdk5250_config
> CROSS_COMPILE=/usr/bin/arm-linux-gnueabi- make O=/tmp/foobar distclean
>
> it did not cause an error, it used to before this change.
>
> Signed-off-by: Vadim Bendebury <vbendeb at chromium.org>
> Acked-by: Simon Glass <sjg at chromium.org>
Applied to u-boot/master, thanks!
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20130403/81ced2d5/attachment.pgp>
More information about the U-Boot
mailing list