From cccc1267c5d14105aec94e0606d184a2f2dd2008 Mon Sep 17 00:00:00 2001 From: Karl Palsson Date: Mon, 10 Sep 2018 21:41:14 +0000 Subject: stm32f7: drop toolchain check for m7 support. the 2014q3 or later toolchains are now readily available, and we should now just consider this a user problem. This gets us out of trying to parse compiler help output and chasing our own tail. Fixes https://github.com/libopencm3/libopencm3/issues/965 --- lib/stm32/f7/Makefile | 24 +----------------------- 1 file changed, 1 insertion(+), 23 deletions(-) diff --git a/lib/stm32/f7/Makefile b/lib/stm32/f7/Makefile index a485633b..8b1bdef7 100644 --- a/lib/stm32/f7/Makefile +++ b/lib/stm32/f7/Makefile @@ -56,26 +56,4 @@ OBJS += usart_common_all.o usart_common_v2.o VPATH += ../../usb:../:../../cm3:../common VPATH += ../../ethernet -############################################################################### -# Checking CPU support in the toolchain -############################################################################### -# TODO: This check and silent skip of build should be removed, when it will be -# sure that first compatible toolchain (g-a-e 4.8 2014q3) will be sufficiently -# penetrated in majority of user stations. -define MISSING_CPU -Your toolchain doesn't support -mcpu=cortex-m7. -Please use gcc-arm-embedded 4.8 2014q3 or newer. Skipping this sub-library. -endef - -ifneq ($(shell $(CC) --help=target | grep -q '\'; echo $$?),0) - $(warning $(MISSING_CPU)) - -all clean: - @true - -$(SRCLIBDIR)/$(LIBNAME).a: - @true - -else - include ../../Makefile.include -endif +include ../../Makefile.include -- cgit v1.2.3