From patchwork Tue Sep 5 14:07:15 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Heinrich Schuchardt X-Patchwork-Id: 810183 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 3xmpVK5MXvz9t2R for ; Wed, 6 Sep 2017 00:08:57 +1000 (AEST) Received: by lists.denx.de (Postfix, from userid 105) id 6A1CDC21F8E; Tue, 5 Sep 2017 14:08: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.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 40DD7C21E28; Tue, 5 Sep 2017 14:07:45 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 37A6FC21C62; Tue, 5 Sep 2017 14:07:43 +0000 (UTC) Received: from mout.gmx.net (mout.gmx.net [212.227.15.18]) by lists.denx.de (Postfix) with ESMTPS id CE4C2C21C8F for ; Tue, 5 Sep 2017 14:07:42 +0000 (UTC) Received: from laptop1.fritz.box ([92.40.248.116]) by mail.gmx.com (mrgmx002 [212.227.17.184]) with ESMTPSA (Nemesis) id 0Meg8W-1e96qf1POi-00ODs2; Tue, 05 Sep 2017 16:07:37 +0200 From: Heinrich Schuchardt To: Alexander Graf Date: Tue, 5 Sep 2017 16:07:15 +0200 Message-Id: <20170905140719.20192-1-xypron.glpk@gmx.de> X-Mailer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qoBQAmSCcHCCSirqJvHNoj5jbWaOP2TvGEYRcgUY8f1b+aA yJlikSbwzxHU1+0WlD9Vd95nvZG2Q== Cc: Mark Kettenis , u-boot@lists.denx.de, Heinrich Schuchardt Subject: [U-Boot] [PATCH v2 0/4] 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. This second version of the patch series accomodated EFI payloads build out of multiple source files. Heinrich Schuchardt (4): efi_loader: rename __efi_hello_world_* scripts/Makefile.lib: generalize building built in EFI app efi_loader: usage of always in Makefile efi_loader: allow multiple source files for EFI apps cmd/bootefi.c | 4 ++-- include/asm-generic/sections.h | 4 ++-- lib/efi_loader/Makefile | 8 ++++++-- lib/efi_loader/helloworld_efi.d | 1 + scripts/Makefile.lib | 38 ++++++++++++++++++++++++-------------- 5 files changed, 35 insertions(+), 20 deletions(-) create mode 100644 lib/efi_loader/helloworld_efi.d