Dont compile STM32F1 stuff for STM32F4 target

This commit is contained in:
phl0 2017-04-06 15:53:40 +02:00
parent a25b634366
commit 12e0f409ca
No known key found for this signature in database
GPG Key ID: 48EA1E640798CA9A
1 changed files with 1 additions and 0 deletions

View File

@ -47,6 +47,7 @@ else ifdef SystemRoot
else else
ASOURCES=$(shell find . -name '*.s') ASOURCES=$(shell find . -name '*.s')
CSOURCES=$(shell find . -name '*.c') CSOURCES=$(shell find . -name '*.c')
CSOURCES:=$(filter-out $(wildcard ./system_stm32f1xx/*.c), $(CSOURCES))
CXXSOURCES=$(shell find . -name '*.cpp') CXXSOURCES=$(shell find . -name '*.cpp')
CLEANCMD=rm -f $(OBJECTS) $(BINDIR)/$(BINELF) $(BINDIR)/$(BINHEX) $(BINDIR)/$(BINBIN) CLEANCMD=rm -f $(OBJECTS) $(BINDIR)/$(BINELF) $(BINDIR)/$(BINHEX) $(BINDIR)/$(BINBIN)
MDBIN=mkdir $@ MDBIN=mkdir $@