Changed Makefile to error out if an invalid target is specified

This commit is contained in:
Dimitris Panokostas 2019-10-12 19:08:22 +02:00
parent dc207396fc
commit a4fff86e40

View file

@ -158,6 +158,8 @@ else ifeq ($(PLATFORM),sun8i)
# quote: The assembly code in bn_mul.h is optimized for the ARM platform and uses some registers, including r7 to efficiently do an operation. GCC also uses r7 as the frame pointer under ARM Thumb assembly.
MORE_CFLAGS += -fomit-frame-pointer
endif
else
$(error Unknown platform:$(PLATFORM))
endif
RM = rm -f