diff options
author | Giovanni Di Sirio <gdisirio@gmail.com> | 2017-09-22 08:24:31 +0000 |
---|---|---|
committer | Giovanni Di Sirio <gdisirio@gmail.com> | 2017-09-22 08:24:31 +0000 |
commit | 5dff73d913879f4de69cd03d3fe12381f46e4f20 (patch) | |
tree | 0b22fd13276fba3ddd09cb2a236a9a1ce4235385 | |
parent | a3d35fc2a3a8eee327bfa8ac0037498a9f8f383e (diff) | |
download | ChibiOS-5dff73d913879f4de69cd03d3fe12381f46e4f20.tar.gz ChibiOS-5dff73d913879f4de69cd03d3fe12381f46e4f20.tar.bz2 ChibiOS-5dff73d913879f4de69cd03d3fe12381f46e4f20.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@10668 35acf78f-673a-0410-8e92-d51de3d6d3f4
-rw-r--r-- | demos/SPC5/RT-SPC56EC-EVB/Makefile_ghs | 4 | ||||
-rw-r--r-- | os/common/startup/e200/compilers/GHS/rules.mk | 12 |
2 files changed, 4 insertions, 12 deletions
diff --git a/demos/SPC5/RT-SPC56EC-EVB/Makefile_ghs b/demos/SPC5/RT-SPC56EC-EVB/Makefile_ghs index 5fa7c22d6..87c7b7058 100644 --- a/demos/SPC5/RT-SPC56EC-EVB/Makefile_ghs +++ b/demos/SPC5/RT-SPC56EC-EVB/Makefile_ghs @@ -148,10 +148,10 @@ MOT = gsrec BIN = gmemfile
# Define C warning options here
-CWARN = --ghstd=last
+CWARN = -Wunknown-pragmas -Wimplicit-int -Wshadow -Wtrigraphs -Wundef
# Define C++ warning options here
-CPPWARN = --ghstd=last
+CPPWARN = -Wunknown-pragmas -Wimplicit-int -Wshadow -Wtrigraphs -Wundef
#
# Compiler settings
diff --git a/os/common/startup/e200/compilers/GHS/rules.mk b/os/common/startup/e200/compilers/GHS/rules.mk index 6fd45a430..dcaab3b91 100644 --- a/os/common/startup/e200/compilers/GHS/rules.mk +++ b/os/common/startup/e200/compilers/GHS/rules.mk @@ -58,14 +58,6 @@ ifeq ($(BUILDDIR),.) BUILDDIR = build
endif
-# Dependencies directory
-ifeq ($(DEPDIR),)
- DEPDIR = .dep
-endif
-ifeq ($(DEPDIR),.)
- DEPDIR = .dep
-endif
-
OUTFILES = $(BUILDDIR)/$(PROJECT).elf $(BUILDDIR)/$(PROJECT).hex \
$(BUILDDIR)/$(PROJECT).mot $(BUILDDIR)/$(PROJECT).bin \
$(BUILDDIR)/$(PROJECT).dmp
@@ -240,7 +232,7 @@ $(BUILDDIR)/lib$(PROJECT).a: $(OBJS) clean: CLEAN_RULE_HOOK
@echo Cleaning
- -rm -fR $(DEPDIR) $(BUILDDIR)
+ -rm -fR $(BUILDDIR)
@echo
@echo Done
@@ -249,6 +241,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 $(wildcard $(OBJDIR)/*.d)
# *** EOF ***
|