From patchwork Mon Jun 18 14:08:06 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Glass X-Patchwork-Id: 930883 X-Patchwork-Delegate: agraf@suse.de Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.denx.de (client-ip=81.169.180.215; helo=lists.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=chromium.org Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 418Xyl565tz9s2t for ; Tue, 19 Jun 2018 00:09:19 +1000 (AEST) Received: by lists.denx.de (Postfix, from userid 105) id 5A4BBC21DDC; Mon, 18 Jun 2018 14:09:03 +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_MSPIKE_H3, RCVD_IN_MSPIKE_WL 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 9BD52C21E7D; Mon, 18 Jun 2018 14:08:53 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 68A9DC21E2C; Mon, 18 Jun 2018 14:08:47 +0000 (UTC) Received: from mail-qk0-f201.google.com (mail-qk0-f201.google.com [209.85.220.201]) by lists.denx.de (Postfix) with ESMTPS id 9D32BC21E36 for ; Mon, 18 Jun 2018 14:08:43 +0000 (UTC) Received: by mail-qk0-f201.google.com with SMTP id y184-v6so14467835qka.18 for ; Mon, 18 Jun 2018 07:08:43 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:date:in-reply-to:message-id :references:subject:from:to:cc; bh=8XWQGl4Vz2zr/Zb6RMJTLdPSS8Vtjxw1MIEoIHKIJGM=; b=siiFpkhH5OjQd7MCz0WrfHggj8/LrIfg43TUdFbwNKYltWzUrHXCJgnZnmHJ0qrkyL h+3PZUMTGOr2EKcE/QNx++ZDn0zsbEYu9tGbohymdRPp0kFFotl1yxT3bCuap42kzltk 5INnDwvoaqncDmONgz6WV/NVLVaqIUP/1eLJdFZIKsHSvBvG1brG9hsM5nxD2hzBr0QO 4rmBlMrGOfpaLGjB+0Rq6qcFX1snSJId+6rfiHrZsZPrZQ7xmZV794P8yc+CXn8w0E/K U3EH7vq5dGgEHKMgP1V14ZQQ1Bvh8VkxfSCUb4VKuhh0H0SMk65MJq6mZrNgD1KUqicw eEUA== X-Gm-Message-State: APt69E1Mp340hQ0pF4LNp3H3EpzM/WW38am/xIDZnRszhEdvcrMvg6Ml Txf1+lEcLNRZTqlgq5vdiuDVSY4= X-Google-Smtp-Source: ADUXVKJznvM58oNOHJXBB2GWXao0AaXCk9aotsb7AjSICJwGhRu4zO/n7daTRzByl4+Z3cGNeFX1pi8= MIME-Version: 1.0 X-Received: by 2002:a0c:8764:: with SMTP id 33-v6mr6825111qvi.15.1529330922385; Mon, 18 Jun 2018 07:08:42 -0700 (PDT) Date: Mon, 18 Jun 2018 08:08:06 -0600 In-Reply-To: <20180618140835.195901-1-sjg@chromium.org> Message-Id: <20180618140835.195901-2-sjg@chromium.org> References: <20180618140835.195901-1-sjg@chromium.org> X-Mailer: git-send-email 2.18.0.rc1.244.gcf134e6275-goog From: Simon Glass To: U-Boot Mailing List Cc: Andy Shevchenko , Heinrich Schuchardt , Alexander Graf Subject: [U-Boot] [PATCH v8 01/30] efi: Don't allow CMD_BOOTEFI_SELFTEST on sandbox 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: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" This does not work at present and gives the following error: output: 'ld.bfd: read in flex scanner failed scripts/Makefile.lib:390: recipe for target 'lib/efi_selftest/efi_selftest_miniapp_return_efi.so' failed It may be possible to figure this out with suitable linker magic but it does not seem to be easy. Also, we will be able to run the tests on sandbox without using the miniapp. So for now at least, disable this option. Signed-off-by: Simon Glass --- Changes in v8: None Changes in v7: None Changes in v6: None Changes in v5: - Add new patch to disallow CMD_BOOTEFI_SELFTEST on sandbox Changes in v4: None Changes in v3: None Changes in v2: None lib/efi_selftest/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/efi_selftest/Kconfig b/lib/efi_selftest/Kconfig index 59f9f36801..b52696778d 100644 --- a/lib/efi_selftest/Kconfig +++ b/lib/efi_selftest/Kconfig @@ -1,6 +1,6 @@ config CMD_BOOTEFI_SELFTEST bool "Allow booting an EFI efi_selftest" - depends on CMD_BOOTEFI + depends on CMD_BOOTEFI && !SANDBOX imply FAT imply FAT_WRITE help