[Buildroot] [buildroot 0004304]: [BuildRoot] Fix ‘make clean’ so ‘make clean; make’ works

bugs at busybox.net bugs at busybox.net
Thu Sep 11 02:23:06 UTC 2008


The following issue has been CLOSED 
====================================================================== 
http://busybox.net/bugs/view.php?id=4304 
====================================================================== 
Reported By:                blf
Assigned To:                buildroot
====================================================================== 
Project:                    buildroot
Issue ID:                   4304
Category:                   Other
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     closed
Resolution:                 open
Fixed in Version:           
====================================================================== 
Date Submitted:             07-24-2008 02:04 PDT
Last Modified:              09-10-2008 19:23 PDT
====================================================================== 
Summary:                    [BuildRoot] Fix ‘make clean’ so ‘make clean; make’
works
Description: 
    ‘make clean’ failed to remove all the state, causing a
    subsequent ‘make’ to skip some rather key steps (e.g.,
    creating a properly-populated skelton root filesystem).
    
    Signed-off-by: Brian Foster <brian.foster at innova-card.com>
---
 This patch is against r22481.

 Makefile |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)


diff --git a/Makefile b/Makefile
index fcf69ce..9c6fa4c 100644
--- a/Makefile
+++ b/Makefile
@@ -355,9 +355,11 @@ external-deps:
 #############################################################
 clean: $(TARGETS_CLEAN)
 	rm -rf $(STAGING_DIR) $(TARGET_DIR) $(IMAGE)
+	rm -f $(PROJECT_BUILD_DIR)/.root
 
 dirclean: $(TARGETS_DIRCLEAN)
 	rm -rf $(STAGING_DIR) $(TARGET_DIR) $(IMAGE)
+	rm -f $(PROJECT_BUILD_DIR)/.root
 
 distclean:
 ifeq ($(DL_DIR),$(BASE_DIR)/dl)

====================================================================== 

---------------------------------------------------------------------- 
 hmoffatt - 09-10-08 19:23  
---------------------------------------------------------------------- 
thanks, applied in r23374 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
07-24-08 02:04  blf            New Issue                                    
07-24-08 02:04  blf            Status                   new => assigned     
07-24-08 02:04  blf            Assigned To               => buildroot       
09-10-08 19:23  hmoffatt       Status                   assigned => closed  
09-10-08 19:23  hmoffatt       Note Added: 0011374                          
======================================================================




More information about the buildroot mailing list