Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/810184/?format=api
{ "id": 810184, "url": "http://patchwork.ozlabs.org/api/patches/810184/?format=api", "web_url": "http://patchwork.ozlabs.org/project/uboot/patch/20170905140719.20192-3-xypron.glpk@gmx.de/", "project": { "id": 18, "url": "http://patchwork.ozlabs.org/api/projects/18/?format=api", "name": "U-Boot", "link_name": "uboot", "list_id": "u-boot.lists.denx.de", "list_email": "u-boot@lists.denx.de", "web_url": null, "scm_url": null, "webscm_url": null, "list_archive_url": "", "list_archive_url_format": "", "commit_url_format": "" }, "msgid": "<20170905140719.20192-3-xypron.glpk@gmx.de>", "list_archive_url": null, "date": "2017-09-05T14:07:17", "name": "[U-Boot,v2,2/4] scripts/Makefile.lib: generalize building built in EFI app", "commit_ref": "b0763108eacfc27c9f60d2ebfdf9d4328cf0bc38", "pull_url": null, "state": "accepted", "archived": false, "hash": "502141e804b141799f4d9afa73e36cb4b86a9e11", "submitter": { "id": 61270, "url": "http://patchwork.ozlabs.org/api/people/61270/?format=api", "name": "Heinrich Schuchardt", "email": "xypron.glpk@gmx.de" }, "delegate": null, "mbox": "http://patchwork.ozlabs.org/project/uboot/patch/20170905140719.20192-3-xypron.glpk@gmx.de/mbox/", "series": [ { "id": 1589, "url": "http://patchwork.ozlabs.org/api/series/1589/?format=api", "web_url": "http://patchwork.ozlabs.org/project/uboot/list/?series=1589", "date": "2017-09-05T14:07:16", "name": "Clean up make process for EFI payload", "version": 2, "mbox": "http://patchwork.ozlabs.org/series/1589/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/810184/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/810184/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<u-boot-bounces@lists.denx.de>", "X-Original-To": "incoming@patchwork.ozlabs.org", "Delivered-To": "patchwork-incoming@bilbo.ozlabs.org", "Authentication-Results": "ozlabs.org;\n\tspf=none (mailfrom) smtp.mailfrom=lists.denx.de\n\t(client-ip=81.169.180.215; helo=lists.denx.de;\n\tenvelope-from=u-boot-bounces@lists.denx.de;\n\treceiver=<UNKNOWN>)", "Received": [ "from lists.denx.de (dione.denx.de [81.169.180.215])\n\tby ozlabs.org (Postfix) with ESMTP id 3xmpW62LNJz9t2R\n\tfor <incoming@patchwork.ozlabs.org>;\n\tWed, 6 Sep 2017 00:09:38 +1000 (AEST)", "by lists.denx.de (Postfix, from userid 105)\n\tid 01F7AC21F7C; Tue, 5 Sep 2017 14:08:17 +0000 (UTC)", "from lists.denx.de (localhost [IPv6:::1])\n\tby lists.denx.de (Postfix) with ESMTP id 18E42C21EFE;\n\tTue, 5 Sep 2017 14:07:50 +0000 (UTC)", "by lists.denx.de (Postfix, from userid 105)\n\tid C2CEFC21C8F; Tue, 5 Sep 2017 14:07:45 +0000 (UTC)", "from mout.gmx.net (mout.gmx.net [212.227.15.15])\n\tby lists.denx.de (Postfix) with ESMTPS id 8102BC21D64\n\tfor <u-boot@lists.denx.de>; Tue, 5 Sep 2017 14:07:44 +0000 (UTC)", "from laptop1.fritz.box ([92.40.248.116]) by mail.gmx.com (mrgmx002\n\t[212.227.17.184]) with ESMTPSA (Nemesis) id\n\t0LdYxu-1d6VlG0yVm-00injc; Tue, 05 Sep 2017 16:07:40 +0200" ], "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,\n\tRCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H3,\n\tRCVD_IN_MSPIKE_WL autolearn=unavailable\n\tautolearn_force=no version=3.4.0", "From": "Heinrich Schuchardt <xypron.glpk@gmx.de>", "To": "Alexander Graf <agraf@suse.de>", "Date": "Tue, 5 Sep 2017 16:07:17 +0200", "Message-Id": "<20170905140719.20192-3-xypron.glpk@gmx.de>", "X-Mailer": "git-send-email 2.11.0", "In-Reply-To": "<20170905140719.20192-1-xypron.glpk@gmx.de>", "References": "<20170905140719.20192-1-xypron.glpk@gmx.de>", "X-Provags-ID": "V03:K0:Dnoo4VxZ3RxNn9anCNHVuTKZNtW3wuMEgAtowxDuTo1s0ShGs5O\n\tZuvPglPQpu8nrpnGVGTYBKAy+59Zpdn1bnuCtib/OXjnthzmlI2wZ+k2lq123f9iB0Y7wc+\n\tBnM9smT7zyQvmSLHw+FHVbDHs7fe9f3ochUriEYmRH6sNmPy783ThmkEnmYELcyXFxAHPTI\n\tnYQynLOc8+QHP019YE2Cw==", "X-UI-Out-Filterresults": "notjunk:1; V01:K0:3nXLckmPMUo=:kmilLqrwWcCgZBhHZg06ua\n\tj3j02koKiB2q1CrqnQFtOoUqAkXKazIv2yspH8txtG0IOoZMZSyCO9+Cstntjjo+wBo+ZQ1AY\n\t1sxvca+xZmOiNBRCSEVd0bdeDRGfMZoke1MDlUwC7s++3ry+/P2jwWVKCsRWEPQ8A6npgh8/X\n\tf+lpbKH2zlnr5XB6/NG5+Kc1IZTeydSm9k8Gobo968N7puS2y6DlrXGPRd6iusC8Gmhh7FF4j\n\tPAoBtspR8KXb25SINY1MSpqBoNH51xqoBaZlx0zbfQMVaVUKSXb1bps4PgFTGkIj+qR0JtQ07\n\t5vkrs1Ak/N5Dt95jbX4/PTF86pvtV6xVk5I0r/eVMtR0If+1Hn9eIjKYoZLQV1FU6O1jLDMKK\n\tdmDQOSOFdYNK6o7wX5P20W6Rzzg5FmAUWsXIJyj0tr5seumTFAoKE+7TzFzyjQa6RhmUE3uZJ\n\tThk1KM9YhZAisRDY0MB/J73kT54GwTbq8Av68kP7tc+M6zQ7dbWxX7U467UWRx188Qzq6YVnc\n\tntMFCdYPMBe5xYaua84u0Wu+ZBwmur18gQWXbiW17Ab9u9cYxzwS64kW4YEciSgCjOm/+OkQz\n\t4GXGLYC7iRLXSTQvdgarZfFZluC15gyVEAVC1+q39P7kahdSk25cCyy5UTJ4qrvgUpUc7ZVbW\n\t0rOMB1lw0GSzOQW3u6xPxl2y2fCDp55WxjR3BiG3LxtBoMDoY2Ox5+drCvf5l051klwoaGUH+\n\tjbs4U80HAOuv6EikLvBoMsSBMGhEuUYRCLTAJmoBmZuGlKYD9TmNSdtTcOz8Bas0Vjr+rxvbB\n\tzCQotZnUqeRDxexYPwp3OS6yMc1mw==", "Cc": "Mark Kettenis <kettenis@openbsd.org>, u-boot@lists.denx.de,\n\tHeinrich Schuchardt <xypron.glpk@gmx.de>", "Subject": "[U-Boot] [PATCH v2 2/4] scripts/Makefile.lib: generalize building\n\tbuilt in EFI app", "X-BeenThere": "u-boot@lists.denx.de", "X-Mailman-Version": "2.1.18", "Precedence": "list", "List-Id": "U-Boot discussion <u-boot.lists.denx.de>", "List-Unsubscribe": "<https://lists.denx.de/options/u-boot>,\n\t<mailto:u-boot-request@lists.denx.de?subject=unsubscribe>", "List-Archive": "<http://lists.denx.de/pipermail/u-boot/>", "List-Post": "<mailto:u-boot@lists.denx.de>", "List-Help": "<mailto:u-boot-request@lists.denx.de?subject=help>", "List-Subscribe": "<https://lists.denx.de/listinfo/u-boot>,\n\t<mailto:u-boot-request@lists.denx.de?subject=subscribe>", "MIME-Version": "1.0", "Content-Type": "text/plain; charset=\"utf-8\"", "Content-Transfer-Encoding": "base64", "Errors-To": "u-boot-bounces@lists.denx.de", "Sender": "\"U-Boot\" <u-boot-bounces@lists.denx.de>" }, "content": "Replace all occurences of helloworld by generalized forms.\nThis allows us to build additional EFI applications that are\nincluded into the U-Boot binary without loading\nscripts/Makefile.lib with specific filenames.\n\nSigned-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>\n---\nv2\n\tRemoved superfluous reference to $($*_deps).\n---\n scripts/Makefile.lib | 28 +++++++++++++++-------------\n 1 file changed, 15 insertions(+), 13 deletions(-)", "diff": "diff --git a/scripts/Makefile.lib b/scripts/Makefile.lib\nindex 164c234b4c..ebc74f8987 100644\n--- a/scripts/Makefile.lib\n+++ b/scripts/Makefile.lib\n@@ -342,20 +342,22 @@ cmd_S_ttf=\t\t\t\t\t\t\\\n $(obj)/%.S: $(src)/%.ttf\n \t$(call cmd,S_ttf)\n \n-# EFI Hello World application\n+# EFI applications\n+# A Makefile target *.efi is built as EFI application.\n+# A Makefile target *_efi.S wraps *.efi as built-in EFI application.\n # ---------------------------------------------------------------------------\n \n # Generate an assembly file to wrap the EFI app\n-cmd_S_efi=\t\t\t\t\t\t\\\n-(\t\t\t\t\t\t\t\\\n-\techo '.section .rodata.efi.init,\"a\"';\t\t\\\n-\techo '.balign 16';\t\t\t\t\\\n-\techo '.global __efi_helloworld_begin';\t\t\\\n-\techo '__efi_helloworld_begin:';\t\t\\\n-\techo '.incbin \"$<\" ';\t\t\t\t\\\n-\techo '__efi_helloworld_end:';\t\t\t\\\n-\techo '.global __efi_helloworld_end';\t\t\\\n-\techo '.balign 16';\t\t\t\t\\\n+cmd_S_efi=\t\t\t\t\t\\\n+(\t\t\t\t\t\t\\\n+\techo '.section .rodata.$*.init,\"a\"';\t\\\n+\techo '.balign 16';\t\t\t\\\n+\techo '.global __efi_$*_begin';\t\t\\\n+\techo '__efi_$*_begin:';\t\t\t\\\n+\techo '.incbin \"$<\" ';\t\t\t\\\n+\techo '__efi_$*_end:';\t\t\t\\\n+\techo '.global __efi_$*_end';\t\t\\\n+\techo '.balign 16';\t\t\t\\\n ) > $@\n \n $(obj)/%_efi.S: $(obj)/%.efi\n@@ -366,7 +368,7 @@ cmd_efi_objcopy = $(OBJCOPY) -j .header -j .text -j .sdata -j .data -j \\\n \t\t.dynamic -j .dynsym -j .rel* -j .rela* -j .reloc \\\n \t\t$(if $(EFI_TARGET),$(EFI_TARGET),-O binary) $^ $@\n \n-$(obj)/%.efi: $(obj)/%.so\n+$(obj)/%.efi: $(obj)/%_efi.so\n \t$(call cmd,efi_objcopy)\n \n quiet_cmd_efi_ld = LD $@\n@@ -375,7 +377,7 @@ cmd_efi_ld = $(LD) -nostdlib -znocombreloc -T $(EFI_LDS_PATH) -shared \\\n \n EFI_LDS_PATH = $(srctree)/arch/$(ARCH)/lib/$(EFI_LDS)\n \n-$(obj)/helloworld.so: $(obj)/helloworld.o arch/$(ARCH)/lib/$(EFI_CRT0) \\\n+$(obj)/%_efi.so: $(obj)/%.o arch/$(ARCH)/lib/$(EFI_CRT0) \\\n \t\tarch/$(ARCH)/lib/$(EFI_RELOC)\n \t$(call cmd,efi_ld)\n \n", "prefixes": [ "U-Boot", "v2", "2/4" ] }