Commit d010cef3 authored by Michael Shigorin's avatar Michael Shigorin

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 1c777c8a quite some time ago, sorry about the mess.
parent f7eadc2f
...@@ -25,6 +25,7 @@ START += time -f "%E %PCPU %Mk" ...@@ -25,6 +25,7 @@ START += time -f "%E %PCPU %Mk"
# armh (armv7l) doesn't have any but should cope with qemu-arm.static; # armh (armv7l) doesn't have any but should cope with qemu-arm.static;
# also check whether non-x86 build is running native # also check whether non-x86 build is running native
EARCH := $(patsubst e2k%,e2k,$(subst armh,arm,$(ARCH))) EARCH := $(patsubst e2k%,e2k,$(subst armh,arm,$(ARCH)))
ifeq (,$(findstring e2k,$(EARCH)))
ifeq (,$(wildcard $(subst :,/$(ARCH) ,$(PATH):))) ifeq (,$(wildcard $(subst :,/$(ARCH) ,$(PATH):)))
ifeq (,$(findstring $(EARCH),$(shell uname -m))) ifeq (,$(findstring $(EARCH),$(shell uname -m)))
export GLOBAL_HSH_USE_QEMU=$(EARCH) export GLOBAL_HSH_USE_QEMU=$(EARCH)
...@@ -32,6 +33,7 @@ endif ...@@ -32,6 +33,7 @@ endif
else else
START += $(ARCH) START += $(ARCH)
endif endif
endif
# to be passed into distcfg.mk; suggestions are welcome # to be passed into distcfg.mk; suggestions are welcome
IMAGEDIR ?= $(shell \ IMAGEDIR ?= $(shell \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment