From: Tom Rini Date: Wed, 3 Apr 2013 11:30:07 -0400 Subject: [U-Boot] build: Fix make errors generated when building 'distclean' In-Reply-To: <1364430858-22175-1-git-send-email-vbendeb@chromium.org> References: <1364430858-22175-1-git-send-email-vbendeb@chromium.org> Message-ID: <20130403153007.GE7035@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 > Acked-by: Simon Glass 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: