From 12e0f409cae058af17287facd424305f116d85b8 Mon Sep 17 00:00:00 2001 From: phl0 Date: Thu, 6 Apr 2017 15:53:40 +0200 Subject: [PATCH] Dont compile STM32F1 stuff for STM32F4 target --- Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile b/Makefile index a97316d..e19172b 100644 --- a/Makefile +++ b/Makefile @@ -47,6 +47,7 @@ else ifdef SystemRoot else ASOURCES=$(shell find . -name '*.s') CSOURCES=$(shell find . -name '*.c') + CSOURCES:=$(filter-out $(wildcard ./system_stm32f1xx/*.c), $(CSOURCES)) CXXSOURCES=$(shell find . -name '*.cpp') CLEANCMD=rm -f $(OBJECTS) $(BINDIR)/$(BINELF) $(BINDIR)/$(BINHEX) $(BINDIR)/$(BINBIN) MDBIN=mkdir $@