get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

GET /api/patches/2216420/?format=api
HTTP 200 OK
Allow: GET, PUT, PATCH, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "id": 2216420,
    "url": "http://patchwork.ozlabs.org/api/patches/2216420/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/uboot/patch/20260326115500.955388-1-sjg@chromium.org/",
    "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": "<20260326115500.955388-1-sjg@chromium.org>",
    "list_archive_url": null,
    "date": "2026-03-26T11:54:56",
    "name": "[v2,1/2] kbuild: Move U-Boot .incbin rules to Makefile.lib-u-boot",
    "commit_ref": null,
    "pull_url": null,
    "state": "changes-requested",
    "archived": false,
    "hash": "c9f14c565ce3074b5ec72438df5031f855570ff1",
    "submitter": {
        "id": 6170,
        "url": "http://patchwork.ozlabs.org/api/people/6170/?format=api",
        "name": "Simon Glass",
        "email": "sjg@chromium.org"
    },
    "delegate": {
        "id": 3651,
        "url": "http://patchwork.ozlabs.org/api/users/3651/?format=api",
        "username": "trini",
        "first_name": "Tom",
        "last_name": "Rini",
        "email": "trini@ti.com"
    },
    "mbox": "http://patchwork.ozlabs.org/project/uboot/patch/20260326115500.955388-1-sjg@chromium.org/mbox/",
    "series": [
        {
            "id": 497578,
            "url": "http://patchwork.ozlabs.org/api/series/497578/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/uboot/list/?series=497578",
            "date": "2026-03-26T11:54:56",
            "name": "[v2,1/2] kbuild: Move U-Boot .incbin rules to Makefile.lib-u-boot",
            "version": 2,
            "mbox": "http://patchwork.ozlabs.org/series/497578/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/2216420/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/2216420/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<u-boot-bounces@lists.denx.de>",
        "X-Original-To": "incoming@patchwork.ozlabs.org",
        "Delivered-To": "patchwork-incoming@legolas.ozlabs.org",
        "Authentication-Results": [
            "legolas.ozlabs.org;\n\tdkim=pass (1024-bit key;\n unprotected) header.d=chromium.org header.i=@chromium.org header.a=rsa-sha256\n header.s=google header.b=cW4TyyEf;\n\tdkim-atps=neutral",
            "legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de\n (client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; helo=phobos.denx.de;\n envelope-from=u-boot-bounces@lists.denx.de; receiver=patchwork.ozlabs.org)",
            "phobos.denx.de;\n dmarc=pass (p=none dis=none) header.from=chromium.org",
            "phobos.denx.de;\n spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de",
            "phobos.denx.de;\n\tdkim=pass (1024-bit key;\n unprotected) header.d=chromium.org header.i=@chromium.org\n header.b=\"cW4TyyEf\";\n\tdkim-atps=neutral",
            "phobos.denx.de;\n dmarc=pass (p=none dis=none) header.from=chromium.org",
            "phobos.denx.de;\n spf=pass smtp.mailfrom=sjg@chromium.org"
        ],
        "Received": [
            "from phobos.denx.de (phobos.denx.de\n [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange x25519)\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4fhMfJ6b3Qz1y1G\n\tfor <incoming@patchwork.ozlabs.org>; Thu, 26 Mar 2026 22:55:20 +1100 (AEDT)",
            "from h2850616.stratoserver.net (localhost [IPv6:::1])\n\tby phobos.denx.de (Postfix) with ESMTP id 17E1983E76;\n\tThu, 26 Mar 2026 12:55:18 +0100 (CET)",
            "by phobos.denx.de (Postfix, from userid 109)\n id 8F00483F14; Thu, 26 Mar 2026 12:55:17 +0100 (CET)",
            "from mail-oi1-x242.google.com (mail-oi1-x242.google.com\n [IPv6:2607:f8b0:4864:20::242])\n (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits))\n (No client certificate requested)\n by phobos.denx.de (Postfix) with ESMTPS id 1B7E781E18\n for <u-boot@lists.denx.de>; Thu, 26 Mar 2026 12:55:15 +0100 (CET)",
            "by mail-oi1-x242.google.com with SMTP id\n 5614622812f47-46726528f1cso536118b6e.0\n for <u-boot@lists.denx.de>; Thu, 26 Mar 2026 04:55:15 -0700 (PDT)",
            "from chromium.org ([73.34.74.121]) by smtp.gmail.com with ESMTPSA id\n 586e51a60fabf-41cc7b6312csm2145860fac.15.2026.03.26.04.55.10\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Thu, 26 Mar 2026 04:55:12 -0700 (PDT)"
        ],
        "X-Spam-Checker-Version": "SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de",
        "X-Spam-Level": "",
        "X-Spam-Status": "No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH,\n DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,\n RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS autolearn=ham\n autolearn_force=no version=3.4.2",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=chromium.org; s=google; t=1774526113; x=1775130913; darn=lists.denx.de;\n h=content-transfer-encoding:mime-version:message-id:date:subject:cc\n :to:from:from:to:cc:subject:date:message-id:reply-to;\n bh=OP5IoAJBR58biIqTCrkgk6Mvus+34Pd5UVdC5e5GZNw=;\n b=cW4TyyEfD1flKeTqSM63yXLL/s4ysUcVGHh8mu/UnNN4wsSXvPi5+y7foBbUrLXwLd\n qzhV8r1QtO/jCd1zLg7A8wz1lc3Ksk6SfYwA6iN6u76FN1cisjijIOJ3BZDpAoph4vrY\n CllsKajdQHL1LMx/mzDAbrofGTRdO+mkb3MJU=",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20251104; t=1774526113; x=1775130913;\n h=content-transfer-encoding:mime-version:message-id:date:subject:cc\n :to:from:x-gm-gg:x-gm-message-state:from:to:cc:subject:date\n :message-id:reply-to;\n bh=OP5IoAJBR58biIqTCrkgk6Mvus+34Pd5UVdC5e5GZNw=;\n b=NvLC8xnoq1wuJIrYvq9RkfJENyvDNDFwafgIN035pYBytyTFXYTRrDt+SqlJv1QM36\n JcroODcMeIGymyfotKwcjQcx5Uou/e4wjNEVqAdXkANbI8pwUfOiW1eMpHdN4ck68JJ+\n pzqbdMaoqV/DnVoRwvSXccnOWbMCLclQSBR68dKJ3SBFjrQt+pSqX28Kl8S30BiiDUTv\n 9LUtSnGzp1ZBdkIwNQZjgbPNIIQif8Y8cg4EJv7ISOsZj0oWWWmfSo0HVru8hGrKC337\n wWb6QruKxMdlBuuJ+ip2oNxdDEuZzlXJUk+fmCQI3u/F2S0WrR6S8Nbr21tczZ6sEjyR\n 2Vrg==",
        "X-Gm-Message-State": "AOJu0YyZGJIIlns5bw5tTODPa7pqWQfUhCRUanfqwrO/HpXni3Xhx1Os\n CKVMAD7jE63VISppnDD+WUEigVH2PjceE/v5ORqRp9unzwUS4xuyrKsesAp0XZ9G2Fl3EPbD95n\n ESWejSbhW",
        "X-Gm-Gg": "ATEYQzzZCW8IW172bSQ9wZGsjoLsR6T3cKQpkSU0LXQtVrPJo5ZZaz3lTrOqboUQVx+\n h/QzoiFBEKechAoKbZ5Nwya/lOLeGyaahecHc8DrH7aTd/xRXrcwkhxohCN84XYkMnn15xH3RDm\n 1oXUGbxi7ryq8rZ4IAq8OrgYmqG/xOyCt+Pa62WYrkM1bbwd+0R5H0aWaHxFV4YYpaFfWnqL64P\n w0cIy0jqLh1sOADE/xB4kgO+cxj22tDDguLxZgJgB72DV7KDe5XXqGL0rCUICCTEZkyBleOzK7T\n eL2qxmySjR8KzZfTBXu+n+83guymn4UMjocUcvfnpJEfreDZaqZa+p49hchp0trN+CoeTO+vmFI\n eE2FS6yOSljT/d6PezlGO88EpwuPBA69L8rDBVsjq6vPtjgwTp58S0C/Q8FBiVYXFkDfPFcPLLA\n iaNmDGB7aGH24sV3LfYVebktkm8A0F",
        "X-Received": "by 2002:a05:6808:50d9:b0:46a:7ab9:c339 with SMTP id\n 5614622812f47-46a7ab9c72emr310601b6e.14.1774526113128;\n Thu, 26 Mar 2026 04:55:13 -0700 (PDT)",
        "From": "Simon Glass <sjg@chromium.org>",
        "To": "u-boot@lists.denx.de",
        "Cc": "Simon Glass <sjg@chromium.org>, Tom Rini <trini@konsulko.com>,\n Greg Malysa <malysagreg@gmail.com>,\n Ilias Apalodimas <ilias.apalodimas@linaro.org>,\n James Hilliard <james.hilliard1@gmail.com>,\n Marek Vasut <marek.vasut+renesas@mailbox.org>,\n Philip Molloy <philip.molloy@analog.com>,\n Quentin Schulz <quentin.schulz@cherry.de>,\n Sam Edwards <cfsworks@gmail.com>, Sughosh Ganu <sughosh.ganu@arm.com>,\n Tien Fong Chee <tien.fong.chee@altera.com>",
        "Subject": "[PATCH v2 1/2] kbuild: Move U-Boot .incbin rules to\n Makefile.lib-u-boot",
        "Date": "Thu, 26 Mar 2026 05:54:56 -0600",
        "Message-ID": "<20260326115500.955388-1-sjg@chromium.org>",
        "X-Mailer": "git-send-email 2.43.0",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "X-BeenThere": "u-boot@lists.denx.de",
        "X-Mailman-Version": "2.1.39",
        "Precedence": "list",
        "List-Id": "U-Boot discussion <u-boot.lists.denx.de>",
        "List-Unsubscribe": "<https://lists.denx.de/options/u-boot>,\n <mailto:u-boot-request@lists.denx.de?subject=unsubscribe>",
        "List-Archive": "<https://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 <mailto:u-boot-request@lists.denx.de?subject=subscribe>",
        "Errors-To": "u-boot-bounces@lists.denx.de",
        "Sender": "\"U-Boot\" <u-boot-bounces@lists.denx.de>",
        "X-Virus-Scanned": "clamav-milter 0.103.8 at phobos.denx.de",
        "X-Virus-Status": "Clean"
    },
    "content": "The font, splash-screen and EFI .incbin wrapper rules are U-Boot\nadditions that do not exist in the upstream Linux kbuild. Keeping them\nin scripts/Makefile.lib makes re-syncing with Linux harder than it needs\nto be, as every sync must manually preserve the U-Boot additions.\n\nMove these rules into a new scripts/Makefile.lib-u-boot and include it\nfrom Makefile.build and Makefile.xpl, right after the existing\nMakefile.lib include.\n\nThis is a pure code-move with no functional change.\n\nSuggested-by: Tom Rini <trini@konsulko.com>\nSigned-off-by: Simon Glass <sjg@chromium.org>\n---\n\nChanges in v2:\n- Split out of the relative-path patch as requested by Tom Rini\n\n scripts/Makefile.build      |  1 +\n scripts/Makefile.lib        | 94 ------------------------------------\n scripts/Makefile.lib-u-boot | 96 +++++++++++++++++++++++++++++++++++++\n scripts/Makefile.xpl        |  1 +\n 4 files changed, 98 insertions(+), 94 deletions(-)\n create mode 100644 scripts/Makefile.lib-u-boot",
    "diff": "diff --git a/scripts/Makefile.build b/scripts/Makefile.build\nindex 8da9851d430..e625f99986e 100644\n--- a/scripts/Makefile.build\n+++ b/scripts/Makefile.build\n@@ -65,6 +65,7 @@ ccflags-y  += $(PLATFORM_CPPFLAGS)\n cppflags-y += $(PLATFORM_CPPFLAGS)\n \n include $(srctree)/scripts/Makefile.lib\n+include $(srctree)/scripts/Makefile.lib-u-boot\n \n # Do not include hostprogs rules unless needed.\n # $(sort ...) is used here to remove duplicated words and excessive spaces.\ndiff --git a/scripts/Makefile.lib b/scripts/Makefile.lib\nindex 7386353e0cc..b8969b7de54 100644\n--- a/scripts/Makefile.lib\n+++ b/scripts/Makefile.lib\n@@ -508,100 +508,6 @@ $(multi-dtb-y): FORCE\n \t$(call if_changed,fdtoverlay)\n $(call multi_depend, $(multi-dtb-y), .dtb, -dtbs)\n \n-# Fonts\n-# ---------------------------------------------------------------------------\n-\n-# Generate an assembly file to wrap the font data\n-quiet_cmd_S_ttf= TTF     $@\n-# Modified for U-Boot\n-cmd_S_ttf=\t\t\t\t\t\t\\\n-(\t\t\t\t\t\t\t\\\n-\techo '.section .rodata.ttf.init,\"a\"';\t\t\\\n-\techo '.balign 16';\t\t\t\t\\\n-\techo '.global __ttf_$(*F)_begin';\t\t\\\n-\techo '__ttf_$(*F)_begin:';\t\t\t\\\n-\techo '.incbin \"$<\" ';\t\t\t\t\\\n-\techo '__ttf_$(*F)_end:';\t\t\t\\\n-\techo '.global __ttf_$(*F)_end';\t\t\t\\\n-\techo '.balign 16';\t\t\t\t\\\n-) > $@\n-\n-$(obj)/%.S: $(src)/%.ttf\n-\t$(call cmd,S_ttf)\n-\n-# Splash logos\n-# ---------------------------------------------------------------------------\n-\n-# Generate an assembly file to wrap the splash data\n-quiet_cmd_S_splash= TTF     $@\n-# Modified for U-Boot\n-cmd_S_splash=\t\t\t\t\t\t\\\n-(\t\t\t\t\t\t\t\\\n-\techo '.section .rodata.splash.init,\"a\"';\t\t\\\n-\techo '.balign 16';\t\t\t\t\\\n-\techo '.global __splash_$(*F)_begin';\t\t\\\n-\techo '__splash_$(*F)_begin:';\t\t\t\\\n-\techo '.incbin \"$<\" ';\t\t\t\t\\\n-\techo '__splash_$(*F)_end:';\t\t\t\\\n-\techo '.global __splash_$(*F)_end';\t\t\t\\\n-\techo '.balign 16';\t\t\t\t\\\n-) > $@\n-\n-$(obj)/%.S: $(src)/%.bmp\n-\t$(call cmd,S_splash)\n-\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\\\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-\t$(call cmd,S_efi)\n-\n-quiet_cmd_efi_objcopy = OBJCOPY $@\n-cmd_efi_objcopy = $(OBJCOPY) -j .header -j .text -j .sdata -j .data \\\n-\t\t-j .dynamic -j .dynstr  -j .dynsym -j .rel* -j .reloc \\\n-\t\t$(if $(EFI_TARGET),$(EFI_TARGET),-O binary) $^ $@\n-\n-$(obj)/%.efi: $(obj)/%_efi.so\n-\t$(call cmd,efi_objcopy)\n-\n-KBUILD_EFILDFLAGS = -nostdlib -zexecstack -znocombreloc -znorelro\n-KBUILD_EFILDFLAGS += $(call ld-option,--no-warn-rwx-segments)\n-quiet_cmd_efi_ld = LD      $@\n-cmd_efi_ld = $(LD) $(KBUILD_EFILDFLAGS) -L $(srctree) -T $(EFI_LDS_PATH) \\\n-\t\t-shared -Bsymbolic -s $^ $(PLATFORM_LIBGCC) -o $@\n-\n-EFI_LDS_PATH = arch/$(ARCH)/lib/$(EFI_LDS)\n-\n-$(obj)/efi_crt0.o: $(srctree)/arch/$(ARCH)/lib/$(EFI_CRT0:.o=.S) FORCE\n-\t$(call if_changed_dep,as_o_S)\n-\n-$(obj)/efi_reloc.o: $(srctree)/arch/$(ARCH)/lib/$(EFI_RELOC:.o=.c) $(recordmcount_source) FORCE\n-\t$(call cmd,force_checksrc)\n-\t$(call if_changed_rule,cc_o_c)\n-\n-$(obj)/%_efi.so: $(obj)/%.o $(obj)/efi_crt0.o $(obj)/efi_reloc.o $(obj)/efi_freestanding.o\n-\t$(call cmd,efi_ld)\n-\n-targets += $(obj)/efi_crt0.o $(obj)/efi_reloc.o $(obj)/efi_freestanding.o\n-\n-CFLAGS_REMOVE_efi_reloc.o := $(LTO_CFLAGS)\n-CFLAGS_REMOVE_efi_freestanding.o := $(LTO_CFLAGS)\n-\n # ACPI\n # ---------------------------------------------------------------------------\n #\ndiff --git a/scripts/Makefile.lib-u-boot b/scripts/Makefile.lib-u-boot\nnew file mode 100644\nindex 00000000000..c55f8d8e0c3\n--- /dev/null\n+++ b/scripts/Makefile.lib-u-boot\n@@ -0,0 +1,96 @@\n+# SPDX-License-Identifier: GPL-2.0\n+#\n+# U-Boot-specific rules for embedding binary data via .incbin\n+# These are split out of Makefile.lib to simplify kbuild re-syncs.\n+\n+# Fonts\n+# ---------------------------------------------------------------------------\n+\n+# Generate an assembly file to wrap the font data\n+quiet_cmd_S_ttf= TTF     $@\n+cmd_S_ttf=\t\t\t\t\t\t\\\n+(\t\t\t\t\t\t\t\\\n+\techo '.section .rodata.ttf.init,\"a\"';\t\t\\\n+\techo '.balign 16';\t\t\t\t\\\n+\techo '.global __ttf_$(*F)_begin';\t\t\\\n+\techo '__ttf_$(*F)_begin:';\t\t\t\\\n+\techo '.incbin \"$<\" ';\t\t\t\t\\\n+\techo '__ttf_$(*F)_end:';\t\t\t\\\n+\techo '.global __ttf_$(*F)_end';\t\t\t\\\n+\techo '.balign 16';\t\t\t\t\\\n+) > $@\n+\n+$(obj)/%.S: $(src)/%.ttf\n+\t$(call cmd,S_ttf)\n+\n+# Splash logos\n+# ---------------------------------------------------------------------------\n+\n+# Generate an assembly file to wrap the splash data\n+quiet_cmd_S_splash= TTF     $@\n+cmd_S_splash=\t\t\t\t\t\t\\\n+(\t\t\t\t\t\t\t\\\n+\techo '.section .rodata.splash.init,\"a\"';\t\\\n+\techo '.balign 16';\t\t\t\t\\\n+\techo '.global __splash_$(*F)_begin';\t\t\\\n+\techo '__splash_$(*F)_begin:';\t\t\t\\\n+\techo '.incbin \"$<\" ';\t\t\t\t\\\n+\techo '__splash_$(*F)_end:';\t\t\t\\\n+\techo '.global __splash_$(*F)_end';\t\t\\\n+\techo '.balign 16';\t\t\t\t\\\n+) > $@\n+\n+$(obj)/%.S: $(src)/%.bmp\n+\t$(call cmd,S_splash)\n+\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\\\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+\t$(call cmd,S_efi)\n+\n+quiet_cmd_efi_objcopy = OBJCOPY $@\n+cmd_efi_objcopy = $(OBJCOPY) -j .header -j .text -j .sdata -j .data \\\n+\t\t-j .dynamic -j .dynstr  -j .dynsym -j .rel* -j .reloc \\\n+\t\t$(if $(EFI_TARGET),$(EFI_TARGET),-O binary) $^ $@\n+\n+$(obj)/%.efi: $(obj)/%_efi.so\n+\t$(call cmd,efi_objcopy)\n+\n+KBUILD_EFILDFLAGS = -nostdlib -zexecstack -znocombreloc -znorelro\n+KBUILD_EFILDFLAGS += $(call ld-option,--no-warn-rwx-segments)\n+quiet_cmd_efi_ld = LD      $@\n+cmd_efi_ld = $(LD) $(KBUILD_EFILDFLAGS) -L $(srctree) -T $(EFI_LDS_PATH) \\\n+\t\t-shared -Bsymbolic -s $^ $(PLATFORM_LIBGCC) -o $@\n+\n+EFI_LDS_PATH = arch/$(ARCH)/lib/$(EFI_LDS)\n+\n+$(obj)/efi_crt0.o: $(srctree)/arch/$(ARCH)/lib/$(EFI_CRT0:.o=.S) FORCE\n+\t$(call if_changed_dep,as_o_S)\n+\n+$(obj)/efi_reloc.o: $(srctree)/arch/$(ARCH)/lib/$(EFI_RELOC:.o=.c) $(recordmcount_source) FORCE\n+\t$(call cmd,force_checksrc)\n+\t$(call if_changed_rule,cc_o_c)\n+\n+$(obj)/%_efi.so: $(obj)/%.o $(obj)/efi_crt0.o $(obj)/efi_reloc.o $(obj)/efi_freestanding.o\n+\t$(call cmd,efi_ld)\n+\n+targets += $(obj)/efi_crt0.o $(obj)/efi_reloc.o $(obj)/efi_freestanding.o\n+\n+CFLAGS_REMOVE_efi_reloc.o := $(LTO_CFLAGS)\n+CFLAGS_REMOVE_efi_freestanding.o := $(LTO_CFLAGS)\ndiff --git a/scripts/Makefile.xpl b/scripts/Makefile.xpl\nindex c5ddf64c73f..862a8e6f231 100644\n--- a/scripts/Makefile.xpl\n+++ b/scripts/Makefile.xpl\n@@ -88,6 +88,7 @@ include $(srctree)/config.mk\n include $(srctree)/arch/$(ARCH)/Makefile\n \n include $(srctree)/scripts/Makefile.lib\n+include $(srctree)/scripts/Makefile.lib-u-boot\n \n # Enable garbage collection of un-used sections for SPL\n KBUILD_CFLAGS += -ffunction-sections -fdata-sections\n",
    "prefixes": [
        "v2",
        "1/2"
    ]
}