From patchwork Wed Apr 18 13:40:25 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Graf X-Patchwork-Id: 133632 Delivered-To: patch@linaro.org Received: by 10.46.84.18 with SMTP id i18csp5896611ljb; Wed, 18 Apr 2018 06:44:58 -0700 (PDT) X-Google-Smtp-Source: AIpwx4+bQ5uLZoV3JXzJuoUhPi+tMM9kKsy3ujKSRQ9IrKTnElhKd62hKG8SprPDnC4+GoHiRTjq X-Received: by 10.80.186.67 with SMTP id 3mr3315692eds.194.1524059098719; Wed, 18 Apr 2018 06:44:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524059098; cv=none; d=google.com; s=arc-20160816; b=HBVI37q+r+/kHRYFBftJ43oaNbLNlJAkbdWTLe7qVNoOlF68AkM14RtQUXVAR/x+rl /Xi/YaNLkFe/abKD2ZDVpXmrw+I5aTb39dofi6jR4L2KG5DSVeSZRTvSzuqYqWL6KgBN wVTiza8MO6v83m1dib+nTYP/VRQAOxjnfkmBj69p39oqr4sY5stLV1xjLFqS8bmSwoTK BhmPXYQVMsS7OwDItn7ng/dC7gtk/5ICoQb1rucnCmQTTBN4CK0gVWsz38fp4dC28SsX FoHGZexBBaEtsS/Uh7fc7oeRNxRelPbTsNJDinQdxOy00y2u2JCrkd5MX50dHd3xLuUw iROg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:cc:references:in-reply-to:message-id :date:to:from:arc-authentication-results; bh=HuRJlLEO47BpxtSlBK2p1QoSiiAv0WU8F6pKhYNOLwI=; b=oLMu/GIixIlf8U4L7iToUJhj4Q3DC0YBFjiJuUb/6Au26DZUbeuZ89g7Dg+kQFMcCo GB+EsCQgOe8CEpqgMwZh5jXDuc00fETTa/uBcPrUgw7/fY/e4Xg3fJUZw1aJ7zIjgKV1 GalnMvsCjGGfGi+i4+MTV0qKBOxBRioTtQ+cR2cr714VVzNsGQY+s/L1ol+PvVNpQ3QT ityutqMeWgQcXbV+1OWXfazcQWgI5SCVdr1NDUO4gUXMfLhrJajmk+oavART1LH9UYyu 8q+yzLdH6wGmDMFLwTcThA0E/QCuPbVBgeAFErykkWqxexoKerymDDeser3I23EjAJnE DRQQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 81.169.180.215 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de Return-Path: Received: from lists.denx.de (dione.denx.de. [81.169.180.215]) by mx.google.com with ESMTP id x10si1002000ede.411.2018.04.18.06.44.58; Wed, 18 Apr 2018 06:44:58 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 81.169.180.215 as permitted sender) client-ip=81.169.180.215; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 81.169.180.215 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de Received: by lists.denx.de (Postfix, from userid 105) id 370E6C21EC8; Wed, 18 Apr 2018 13:42:21 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=RCVD_IN_DNSWL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id EE313C21EFD; Wed, 18 Apr 2018 13:40:42 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 9C13CC21C8B; Wed, 18 Apr 2018 13:40:34 +0000 (UTC) Received: from mx2.suse.de (mx2.suse.de [195.135.220.15]) by lists.denx.de (Postfix) with ESMTPS id D846CC21DF3 for ; Wed, 18 Apr 2018 13:40:33 +0000 (UTC) X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay1.suse.de (charybdis-ext.suse.de [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id 4D7BFADFD; Wed, 18 Apr 2018 13:40:33 +0000 (UTC) From: Alexander Graf To: u-boot@lists.denx.de Date: Wed, 18 Apr 2018 15:40:25 +0200 Message-Id: <20180418134030.55127-4-agraf@suse.de> X-Mailer: git-send-email 2.12.3 In-Reply-To: <20180418134030.55127-1-agraf@suse.de> References: <20180418134030.55127-1-agraf@suse.de> Cc: Heinrich Schuchardt , Greentime Hu Subject: [U-Boot] [PATCH 3/8] efi_loader: selftest: Do not build relocation tests for risc-v X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" The relocation selftest doesn't compile for me on RISC-V. Disable for now. Signed-off-by: Alexander Graf --- lib/efi_selftest/Makefile | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/lib/efi_selftest/Makefile b/lib/efi_selftest/Makefile index 31b444fc8b..ede7831449 100644 --- a/lib/efi_selftest/Makefile +++ b/lib/efi_selftest/Makefile @@ -35,9 +35,10 @@ ifeq ($(CONFIG_BLK)$(CONFIG_PARTITIONS),yy) obj-$(CONFIG_CMD_BOOTEFI_SELFTEST) += efi_selftest_block_device.o endif -# TODO: As of v2018.01 the relocation code for the EFI application cannot -# be built on x86_64. +# TODO: As of v2018.05 the relocation code for the EFI application cannot +# be built on x86_64 / RISC-V. ifeq ($(CONFIG_X86_64),) +ifeq ($(CONFIG_RISCV),) ifneq ($(CONFIG_CMD_BOOTEFI_SELFTEST),) @@ -63,6 +64,8 @@ $(obj)/efi_selftest_startimage_exit.o: $(obj)/efi_miniapp_file_image_exit.h $(obj)/efi_selftest_startimage_return.o: $(obj)/efi_miniapp_file_image_return.h -endif +endif # CONFIG_CMD_BOOTEFI_SELFTEST -endif +endif # !CONFIG_RISCV + +endif # !CONFIG_X86_64