diff options
author | Sven Dawitz <sven@dawitz.de> | 2011-12-23 09:16:04 -0500 |
---|---|---|
committer | Ricardo Cerqueira <cyanogenmod@cerqueira.org> | 2012-11-17 17:46:05 +0000 |
commit | 3840fcc03aa996d462028666c61b98d90415a22c (patch) | |
tree | 04b50cbbd4ac8f68aabc5dfbe08d8d649384c0f7 /core/main.mk | |
parent | 40c891d13b814818feb0198dcaada2a5074373c6 (diff) | |
download | build-3840fcc03aa996d462028666c61b98d90415a22c.zip build-3840fcc03aa996d462028666c61b98d90415a22c.tar.gz build-3840fcc03aa996d462028666c61b98d90415a22c.tar.bz2 |
Better handling of ramdisk during make
make clobber used to call rm -rf out/
so if out is a soft link to i.e. /tmp/out
the soft link is deleted instead the content
so i changed the makefile to rm -rf out/*
Change-Id: Id1991161617da8ec34307a30412c134e31f589b4
Diffstat (limited to 'core/main.mk')
-rw-r--r-- | core/main.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/main.mk b/core/main.mk index 9481b9f..ccf2f14 100644 --- a/core/main.mk +++ b/core/main.mk @@ -897,7 +897,7 @@ findbugs: $(INTERNAL_FINDBUGS_HTML_TARGET) $(INTERNAL_FINDBUGS_XML_TARGET) .PHONY: clean clean: - @rm -rf $(OUT_DIR) + @rm -rf $(OUT_DIR)/* @echo "Entire build directory removed." .PHONY: clobber |