diff options
author | Karl Palsson <karlp@tweak.net.au> | 2018-09-11 00:41:14 +0300 |
---|---|---|
committer | Karl Palsson <karlp@tweak.net.au> | 2018-09-11 00:44:16 +0300 |
commit | cccc1267c5d14105aec94e0606d184a2f2dd2008 (patch) | |
tree | a26f915ba333a651e23a6c37c47129c333e0dcfd | |
parent | 9ddafa6284e9dac1e3c8787475655a5381f57bfc (diff) |
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
-rw-r--r-- | lib/stm32/f7/Makefile | 24 |
1 files changed, 1 insertions, 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 '\<cortex-m7\>'; echo $$?),0) - $(warning $(MISSING_CPU)) - -all clean: - @true - -$(SRCLIBDIR)/$(LIBNAME).a: - @true - -else - include ../../Makefile.include -endif +include ../../Makefile.include |