mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-01-23 02:14:37 +00:00
build: Remove SRCARCH
SRCARCH is always equal ARCH. There are no rules when to use one or another and architectures may forget to set one of them up. No need for a second variable meaning the same and confusing people. Remove it completely. Self-correction [after some debug]: SRCARCH was different in one place: zdtm Makefile by some unintentional mistake: > ifeq ($(ARCH),arm64) > ARCH ?= aarch64 > SRCARCH ?= aarch64 > endif That meant to be "ARCH := aarch64" because "?=" would never work inside that ifeq. Fix up this part of mess too. Signed-off-by: Dmitry Safonov <dima@arista.com> Signed-off-by: Andrei Vagin <avagin@gmail.com>
This commit is contained in:
parent
60bb5c7310
commit
25f6d4f72f
8 changed files with 14 additions and 18 deletions
|
|
@ -30,7 +30,7 @@ CONFIG_FILE = .config
|
|||
$(CONFIG_FILE):
|
||||
touch $(CONFIG_FILE)
|
||||
|
||||
ifeq ($(SRCARCH),x86)
|
||||
ifeq ($(ARCH),x86)
|
||||
# CONFIG_COMPAT is only for x86 now, no need for compile-test other archs
|
||||
ifeq ($(call try-asm,$(FEATURE_TEST_X86_COMPAT)),true)
|
||||
export CONFIG_COMPAT := y
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue