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
This commit is contained in:
parent
9ddafa6284
commit
cccc1267c5
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user