Skip to contentSkip to conversation

Makefile: remove toolchainfile.cmake on 'make clean'

PATCH New Sven Neumann 2 participants 2 messages Feb 20, 2012 – Feb 25, 2012 Kbuild

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Makefile: remove toolchainfile.cmake on 'make clean'

---
 Makefile |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
Makefile +2 -1
index 428084b..25bb8f2 100644
@@ -626,7 +626,8 @@ endif
 
 clean:
 	rm -rf $(STAGING_DIR) $(TARGET_DIR) $(BINARIES_DIR) $(HOST_DIR) \
-		$(STAMP_DIR) $(BUILD_DIR) $(TOOLCHAIN_DIR) $(BASE_DIR)/staging
+		$(STAMP_DIR) $(BUILD_DIR) $(TOOLCHAIN_DIR) \
+		$(BASE_DIR)/staging $(BASE_DIR)/toolchainfile.cmake
 
 distclean: clean
 ifeq ($(DL_DIR),$(TOPDIR)/dl)
Signature · 1 line
1.7.5.4
#1 lore raw

PATCH 1/1 Makefile: remove toolchainfile.cmake on 'make clean'

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Sven" == Sven Neumann <[email protected]> writes:

Sven> Signed-off-by: Sven Neumann <[email protected]> Sven> ---

 Sven>  Makefile |    3 ++-

Sven> 1 files changed, 2 insertions(+), 1 deletions(-)

Sven> diff --git a/Makefile b/Makefile
Sven> index 428084b..25bb8f2 100644
Sven> --- a/Makefile
Sven> +++ b/Makefile
Sven> @@ -626,7 +626,8 @@ endif

Sven> clean:
Sven> rm -rf $(STAGING_DIR) $(TARGET_DIR) $(BINARIES_DIR) $(HOST_DIR) \
Sven> - $(STAMP_DIR) $(BUILD_DIR) $(TOOLCHAIN_DIR) $(BASE_DIR)/staging
Sven> + $(STAMP_DIR) $(BUILD_DIR) $(TOOLCHAIN_DIR) \
Sven> + $(BASE_DIR)/staging $(BASE_DIR)/toolchainfile.cmake

Thanks, but I prefer to move the file somewhere more sane as has been discussed several times. I've just committed a patch to -next which moves it to HOST_DIR/usr/share/buildroot, so this is no longer needed.

Signature · 1 line
Bye, Peter Korsgaard