From patchwork Wed May 18 03:16:19 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jarkko Sakkinen X-Patchwork-Id: 12853112 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 554CAC433EF for ; Wed, 18 May 2022 03:18:11 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229752AbiERDSK (ORCPT ); Tue, 17 May 2022 23:18:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50790 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229379AbiERDSI (ORCPT ); Tue, 17 May 2022 23:18:08 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 09C7961286; Tue, 17 May 2022 20:18:01 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 3EC78B81E5A; Wed, 18 May 2022 03:18:00 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3BC47C385AA; Wed, 18 May 2022 03:17:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1652843878; bh=gRuTuRdI7OLIZp+f42a0XTQ5exBH9nOXmC6bIp3yNV0=; h=From:To:Cc:Subject:Date:From; b=HlGpi0/Cg0JdE2lY0HpdF1AlVnf/p+ozQgTyorU165UOEJa0dYP9pHtf7Tf+jxHHP ChVI4bUn/exGNh73MDbfZjgFABoxSyEmI/vfkDNmMAxFYCLG8H7+H8MqiyYxHMV3rB YOi+z+t4rkiDi+cAy/ac2IhgiCx04gZX+yH5+2WLdW4oouKLlwwcmebpvWRKX1g3Cn z6qBZCYhEA9rEDFRPZy+OO5HTE2XPH7/fiMbkwcINk+s3/qqkzaTTHVdZ8gyvxOilr GF9M2ULTe6gj4lbgMQSX0MMuR1Vv1F3+XUt88iNPWKSdvKVYGHsYkS88sW1azY0FoL xOt3WqQ4Z9DEg== From: Jarkko Sakkinen To: Shuah Khan , linux-kselftest@vger.kernel.org Cc: Dave Hansen , linux-sgx@vger.kernel.org, Jarkko Sakkinen , stable@vger.kernel.org Subject: [PATCH] selftests/sgx: add test_encl.elf to TEST_GEN_FILES Date: Wed, 18 May 2022 06:16:19 +0300 Message-Id: <20220518031619.1179862-1-jarkko@kernel.org> X-Mailer: git-send-email 2.36.1 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-sgx@vger.kernel.org TEST_GEN_FILES contains files that are generated during compilation and are required to be included together with the test binaries, e.g. when performing: make -C tools/testing/selftests install INSTALL_PATH=/some/other/path [*] Add test_encl.elf to TEST_GEN_FILES because otherwise the installed test binary will fail to run. [*] https://docs.kernel.org/dev-tools/kselftest.html Cc: stable@vger.kernel.org Fixes: 2adcba79e69d ("selftests/x86: Add a selftest for SGX") Signed-off-by: Jarkko Sakkinen --- tools/testing/selftests/sgx/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/testing/selftests/sgx/Makefile b/tools/testing/selftests/sgx/Makefile index 75af864e07b6..f3f312904bcc 100644 --- a/tools/testing/selftests/sgx/Makefile +++ b/tools/testing/selftests/sgx/Makefile @@ -17,6 +17,7 @@ ENCL_CFLAGS := -Wall -Werror -static -nostdlib -nostartfiles -fPIC \ -fno-stack-protector -mrdrnd $(INCLUDES) TEST_CUSTOM_PROGS := $(OUTPUT)/test_sgx +TEST_GEN_FILES := $(OUTPUT)/test_encl.elf ifeq ($(CAN_BUILD_X86_64), 1) all: $(TEST_CUSTOM_PROGS) $(OUTPUT)/test_encl.elf