From d010cef39352aef3f5db9325bd06a7e1b4ce31b0 Mon Sep 17 00:00:00 2001 From: Michael Shigorin Date: Mon, 21 May 2018 22:24:25 +0300 Subject: [PATCH] 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 1c777c8ad4957ce70f283f5187ee2870c7930dd0 quite some time ago, sorry about the mess. --- lib/build.mk | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/build.mk b/lib/build.mk index 8c4e2de3..063c717f 100644 --- a/lib/build.mk +++ b/lib/build.mk @@ -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 \