Changed Makefile to error out if an invalid target is specified
This commit is contained in:
parent
dc207396fc
commit
a4fff86e40
1 changed files with 3 additions and 1 deletions
4
Makefile
4
Makefile
|
@ -157,7 +157,9 @@ else ifeq ($(PLATFORM),sun8i)
|
|||
# Otherwise we'll get compilation errors, check https://tls.mbed.org/kb/development/arm-thumb-error-r7-cannot-be-used-in-asm-here
|
||||
# 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
|
||||
endif
|
||||
else
|
||||
$(error Unknown platform:$(PLATFORM))
|
||||
endif
|
||||
|
||||
RM = rm -f
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue