git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@11729 110e8d01-0319-4d1e-a829-52ad28d1bb01
This commit is contained in:
parent
ff7f1dcd2c
commit
c706f5f20d
|
@ -308,7 +308,8 @@ $(BUILDDIR)/lib$(PROJECT).a: $(OBJS)
|
|||
|
||||
clean: CLEAN_RULE_HOOK
|
||||
@echo Cleaning
|
||||
-rm -fR $(DEPDIR) $(BUILDDIR)
|
||||
-rm -fR $(DEPDIR)/* $(BUILDDIR)/* 2>/dev/null
|
||||
-rmdir -p --ignore-fail-on-non-empty $(subst ./,,$(DEPDIR)) $(subst ./,,$(BUILDDIR)) 2>/dev/null
|
||||
@echo
|
||||
@echo Done
|
||||
|
||||
|
@ -317,6 +318,6 @@ CLEAN_RULE_HOOK:
|
|||
#
|
||||
# Include the dependency files, should be the last of the makefile
|
||||
#
|
||||
-include $(shell mkdir $(DEPDIR) 2>/dev/null) $(wildcard $(DEPDIR)/*)
|
||||
-include $(shell mkdir -p $(DEPDIR) 2>/dev/null)
|
||||
|
||||
# *** EOF ***
|
||||
|
|
|
@ -315,7 +315,8 @@ $(BUILDDIR)/lib$(PROJECT).a: $(OBJS)
|
|||
|
||||
clean: CLEAN_RULE_HOOK
|
||||
@echo Cleaning
|
||||
-rm -fR $(DEPDIR) $(BUILDDIR)
|
||||
-rm -fR $(DEPDIR)/* $(BUILDDIR)/* 2>/dev/null
|
||||
-rmdir -p --ignore-fail-on-non-empty $(subst ./,,$(DEPDIR)) $(subst ./,,$(BUILDDIR)) 2>/dev/null
|
||||
@echo
|
||||
@echo Done
|
||||
|
||||
|
@ -324,6 +325,6 @@ CLEAN_RULE_HOOK:
|
|||
#
|
||||
# Include the dependency files, should be the last of the makefile
|
||||
#
|
||||
-include $(shell mkdir $(DEPDIR) 2>/dev/null) $(wildcard $(DEPDIR)/*)
|
||||
-include $(shell mkdir -p $(DEPDIR) 2>/dev/null)
|
||||
|
||||
# *** EOF ***
|
||||
|
|
|
@ -315,7 +315,8 @@ $(BUILDDIR)/lib$(PROJECT).a: $(OBJS)
|
|||
|
||||
clean: CLEAN_RULE_HOOK
|
||||
@echo Cleaning
|
||||
-rm -fR $(DEPDIR) $(BUILDDIR)
|
||||
-rm -fR $(DEPDIR)/* $(BUILDDIR)/* 2>/dev/null
|
||||
-rmdir -p --ignore-fail-on-non-empty $(subst ./,,$(DEPDIR)) $(subst ./,,$(BUILDDIR)) 2>/dev/null
|
||||
@echo
|
||||
@echo Done
|
||||
|
||||
|
@ -324,6 +325,6 @@ CLEAN_RULE_HOOK:
|
|||
#
|
||||
# Include the dependency files, should be the last of the makefile
|
||||
#
|
||||
-include $(shell mkdir $(DEPDIR) 2>/dev/null) $(wildcard $(DEPDIR)/*)
|
||||
-include $(shell mkdir -p $(DEPDIR) 2>/dev/null)
|
||||
|
||||
# *** EOF ***
|
||||
|
|
|
@ -169,7 +169,8 @@ $(BUILDDIR)/lib$(PROJECT).a: $(OBJS)
|
|||
|
||||
clean: CLEAN_RULE_HOOK
|
||||
@echo Cleaning
|
||||
-rm -fR $(DEPDIR) $(BUILDDIR)
|
||||
-rm -fR $(DEPDIR)/* $(BUILDDIR)/* 2>/dev/null
|
||||
-rmdir -p --ignore-fail-on-non-empty $(subst ./,,$(DEPDIR)) $(subst ./,,$(BUILDDIR)) 2>/dev/null
|
||||
@echo
|
||||
@echo Done
|
||||
|
||||
|
@ -182,6 +183,6 @@ gcov:
|
|||
#
|
||||
# Include the dependency files, should be the last of the makefile
|
||||
#
|
||||
-include $(shell mkdir $(DEPDIR) 2>/dev/null) $(wildcard $(DEPDIR)/*)
|
||||
-include $(shell mkdir -p $(DEPDIR) 2>/dev/null) $(wildcard $(DEPDIR)/*)
|
||||
|
||||
# *** EOF ***
|
||||
|
|
|
@ -239,7 +239,8 @@ $(BUILDDIR)/lib$(PROJECT).a: $(OBJS)
|
|||
|
||||
clean: CLEAN_RULE_HOOK
|
||||
@echo Cleaning
|
||||
-rm -fR $(DEPDIR) $(BUILDDIR)
|
||||
-rm -fR $(DEPDIR)/* $(BUILDDIR)/* 2>/dev/null
|
||||
-rmdir -p --ignore-fail-on-non-empty $(subst ./,,$(DEPDIR)) $(subst ./,,$(BUILDDIR)) 2>/dev/null
|
||||
@echo
|
||||
@echo Done
|
||||
|
||||
|
@ -248,6 +249,6 @@ CLEAN_RULE_HOOK:
|
|||
#
|
||||
# Include the dependency files, should be the last of the makefile
|
||||
#
|
||||
-include $(shell mkdir $(DEPDIR) 2>/dev/null) $(wildcard $(DEPDIR)/*)
|
||||
-include $(shell mkdir -p $(DEPDIR) 2>/dev/null)
|
||||
|
||||
# *** EOF ***
|
||||
|
|
|
@ -232,7 +232,8 @@ $(BUILDDIR)/lib$(PROJECT).a: $(OBJS)
|
|||
|
||||
clean: CLEAN_RULE_HOOK
|
||||
@echo Cleaning
|
||||
-rm -fR $(BUILDDIR)
|
||||
-rm -fR $(BUILDDIR)/* 2>/dev/null
|
||||
-rmdir -p --ignore-fail-on-non-empty $(subst ./,,$(BUILDDIR)) 2>/dev/null
|
||||
@echo
|
||||
@echo Done
|
||||
|
||||
|
|
|
@ -84,7 +84,7 @@ PROJECT = ch
|
|||
CHIBIOS := ../../../..
|
||||
CONFDIR := ./cfg/stm32f051_discovery
|
||||
BUILDDIR := ./build/stm32f051_discovery
|
||||
DEPDIR := ./.dep-stm32f051_discovery
|
||||
DEPDIR := ./.dep/stm32f051_discovery
|
||||
|
||||
# Licensing files.
|
||||
include $(CHIBIOS)/os/license/license.mk
|
||||
|
|
|
@ -84,7 +84,7 @@ PROJECT = ch
|
|||
CHIBIOS := ../../../..
|
||||
CONFDIR := ./cfg/stm32f103_olimex
|
||||
BUILDDIR := ./build/stm32f103_olimex
|
||||
DEPDIR := ./.dep-stm32f103_olimex
|
||||
DEPDIR := ./.dep/stm32f103_olimex
|
||||
|
||||
# Licensing files.
|
||||
include $(CHIBIOS)/os/license/license.mk
|
||||
|
|
Loading…
Reference in New Issue