build.mk: just go on for e2k*

There's no qemu there so far, and there's no need
to fiddle with setarch either.

NB: part of this commit erroneously went into
    1c777c8ad4
    quite some time ago, sorry about the mess.
This commit is contained in:
Michael Shigorin 2018-05-21 22:24:25 +03:00
parent f7eadc2fc8
commit d010cef393

View File

@ -25,6 +25,7 @@ START += time -f "%E %PCPU %Mk"
# armh (armv7l) doesn't have any but should cope with qemu-arm.static;
# also check whether non-x86 build is running native
EARCH := $(patsubst e2k%,e2k,$(subst armh,arm,$(ARCH)))
ifeq (,$(findstring e2k,$(EARCH)))
ifeq (,$(wildcard $(subst :,/$(ARCH) ,$(PATH):)))
ifeq (,$(findstring $(EARCH),$(shell uname -m)))
export GLOBAL_HSH_USE_QEMU=$(EARCH)
@ -32,6 +33,7 @@ endif
else
START += $(ARCH)
endif
endif
# to be passed into distcfg.mk; suggestions are welcome
IMAGEDIR ?= $(shell \