Add mips64 and mips64el CPU platforms (#5866)

This commit is contained in:
James Cowgill 2017-08-03 17:37:02 +01:00 • committed by Andreas Rumpf
commit fed1b0a077
7 changed files with 27 additions and 8 deletions

View file

@ -114,8 +114,11 @@ endif
ifeq ($(ucpu),ppc)
mycpu = ppc
endif
ifeq ($(ucpu),mips)
mycpu = mips
ifneq (,$(filter $(ucpu), mips mips64))
mycpu = $(shell /bin/sh -c '"$(CC)" -dumpmachine | sed "s/-.*//"')
ifeq (,$(filter $(mycpu), mips mipsel mips64 mips64el))
$(error unknown MIPS target: $(mycpu))
endif
endif
ifeq ($(ucpu),arm)
mycpu = arm