diff options
-rw-r--r-- | os/ports/GCC/ARM/rules.mk | 4 | ||||
-rw-r--r-- | os/ports/GCC/ARMCMx/rules.mk | 4 | ||||
-rw-r--r-- | os/ports/GCC/MSP430/rules.mk | 4 | ||||
-rw-r--r-- | os/ports/GCC/PPC/rules.mk | 4 | ||||
-rw-r--r-- | readme.txt | 2 |
5 files changed, 14 insertions, 4 deletions
diff --git a/os/ports/GCC/ARM/rules.mk b/os/ports/GCC/ARM/rules.mk index 81d9d54fa..71aec3a35 100644 --- a/os/ports/GCC/ARM/rules.mk +++ b/os/ports/GCC/ARM/rules.mk @@ -97,7 +97,9 @@ CPPFLAGS += -MD -MP -MF .dep/$(@F).d # Makefile rules
#
-all: $(ENSUREBUILDDIR) $(OBJS) $(OUTFILES)
+all: $(ENSUREBUILDDIR) $(OBJS) $(OUTFILES) MAKE_ALL_RULE_HOOK
+
+MAKE_ALL_RULE_HOOK:
$(ACPPOBJS) : %.o : %.cpp
@echo
diff --git a/os/ports/GCC/ARMCMx/rules.mk b/os/ports/GCC/ARMCMx/rules.mk index a06963d43..1a25db247 100644 --- a/os/ports/GCC/ARMCMx/rules.mk +++ b/os/ports/GCC/ARMCMx/rules.mk @@ -97,7 +97,9 @@ CPPFLAGS += -MD -MP -MF .dep/$(@F).d # Makefile rules
#
-all: $(ENSUREBUILDDIR) $(OBJS) $(OUTFILES)
+all: $(ENSUREBUILDDIR) $(OBJS) $(OUTFILES) MAKE_ALL_RULE_HOOK
+
+MAKE_ALL_RULE_HOOK:
$(ACPPOBJS) : %.o : %.cpp
@echo
diff --git a/os/ports/GCC/MSP430/rules.mk b/os/ports/GCC/MSP430/rules.mk index 219eef4ac..181feba88 100644 --- a/os/ports/GCC/MSP430/rules.mk +++ b/os/ports/GCC/MSP430/rules.mk @@ -46,7 +46,9 @@ CPFLAGS += -MD -MP -MF .dep/$(@F).d #
# Makefile rules
#
-all: $(OBJS) $(PROJECT).elf $(PROJECT).hex $(PROJECT).bin $(PROJECT).dmp
+all: $(OBJS) $(PROJECT).elf $(PROJECT).hex $(PROJECT).bin $(PROJECT).dmp MAKE_ALL_RULE_HOOK
+
+MAKE_ALL_RULE_HOOK:
$(CPPOBJS) : %.o : %.cpp
@echo
diff --git a/os/ports/GCC/PPC/rules.mk b/os/ports/GCC/PPC/rules.mk index 67feccc36..4e45135d4 100644 --- a/os/ports/GCC/PPC/rules.mk +++ b/os/ports/GCC/PPC/rules.mk @@ -46,7 +46,9 @@ CPFLAGS += -MD -MP -MF .dep/$(@F).d #
# Makefile rules
#
-all: $(OBJS) $(PROJECT).elf $(PROJECT).hex $(PROJECT).bin $(PROJECT).dmp
+all: $(OBJS) $(PROJECT).elf $(PROJECT).hex $(PROJECT).bin $(PROJECT).dmp MAKE_ALL_RULE_HOOK
+
+MAKE_ALL_RULE_HOOK:
$(CPPOBJS) : %.o : %.cpp
@echo
diff --git a/readme.txt b/readme.txt index 01d6562af..177cde14b 100644 --- a/readme.txt +++ b/readme.txt @@ -84,6 +84,8 @@ (backported to 2.2.4).
- FIX: Fixed timeout problem in the lwIP interface layer (bug 3302420)
(backported to 2.2.4).
+- NEW: Added a custom rule to the various rules.mk files, now it is possible
+ to add an user rule into the Makefiles.
- NEW: Improvements to the trace buffer, now it stores a full thread pointer
and event time, changed names to debug variables by adding the "dbg_"
prefix.
|