From mboxrd@z Thu Jan 1 00:00:00 1970 From: York Sun Date: Mon, 12 May 2008 14:36:33 -0500 Subject: [U-Boot-Users] [PATCH] Make out-of-tree compiling compatible In-Reply-To: <20080509231720.F3AA424764@gemini.denx.de> References: <20080509231720.F3AA424764@gemini.denx.de> Message-ID: <1210620993.29918.25.camel@laptop> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Sat, 2008-05-10 at 01:17 +0200, Wolfgang Denk wrote: > > include $(TOPDIR)/config.mk > > > > +$(shell mkdir -p $(OBJTREE)/board/freescale/common) > > + > > LIB = $(obj)lib$(BOARD).a > > I'm missing some rule to remove that directory for "make clean" or > "make distclean" ? > No, you are not. You have the following in Makefile distclean: clobber unconfig rm -rf $(obj)* endif All temporary folders are removed. I just resent you the v2 patch. York