From patchwork Tue Sep 5 01:19:36 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Heinrich Schuchardt X-Patchwork-Id: 809884 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=) Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 3xmTRx1ldZz9s7f for ; Tue, 5 Sep 2017 11:20:45 +1000 (AEST) Received: by lists.denx.de (Postfix, from userid 105) id BEC5CC21DA0; Tue, 5 Sep 2017 01:20:40 +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.7 required=5.0 tests=FREEMAIL_FROM, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H2 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 6F954C21C6D; Tue, 5 Sep 2017 01:20:38 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 47F49C21C6D; Tue, 5 Sep 2017 01:20:37 +0000 (UTC) Received: from mout.gmx.net (mout.gmx.net [212.227.15.18]) by lists.denx.de (Postfix) with ESMTPS id EC2EBC21C2B for ; Tue, 5 Sep 2017 01:20:36 +0000 (UTC) Received: from laptop1.fritz.box ([94.197.121.125]) by mail.gmx.com (mrgmx001 [212.227.17.184]) with ESMTPSA (Nemesis) id 0LlUZz-1dEsdn2pJn-00bI6L; Tue, 05 Sep 2017 03:20:30 +0200 From: Heinrich Schuchardt To: Alexander Graf Date: Tue, 5 Sep 2017 03:19:36 +0200 Message-Id: <20170905011939.5794-1-xypron.glpk@gmx.de> X-Mail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xXqTHY7DvoElau2aV0T09ThASoJl4Oe7cnuGVm0PYby Ewnp0oK3ltC4D92XhRzKi0Flh9kkrqI9BJHc1y/E5B6z7oQcsg= Cc: Mark Kettenis , Heinrich Schuchardt , Andy Shevchenko , u-boot@lists.denx.de Subject: [U-Boot] [PATCH 0/3] Clean up make process for EFI payload 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" Currently we have a single EFI application that we can deliver integrated into U-Boot. It is a hello world application that can be called with 'bootefi hello'. The Makefiles do not easily accomodate further EFI payloads like a unit test for the EFI API or an EFI shell. This patch series changes Makefile.lib to allow additional EFI payloads. Required fixes to the helloworld app are provided. Further work will be needed to accomodate EFI payloads built out of multiple source files. Heinrich Schuchardt (3): efi_loader: rename __efi_hello_world_* scripts/Makefile.lib: generalize building built in EFI app efi_loader: usage of always in Makefile cmd/bootefi.c | 4 ++-- include/asm-generic/sections.h | 4 ++-- lib/efi_loader/Makefile | 5 +++-- scripts/Makefile.lib | 28 +++++++++++++++------------- 4 files changed, 22 insertions(+), 19 deletions(-)