Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/1.2/patches/2222698/?format=api
{ "id": 2222698, "url": "http://patchwork.ozlabs.org/api/1.2/patches/2222698/?format=api", "web_url": "http://patchwork.ozlabs.org/project/uboot/patch/20260413131541.2091541-1-sjg@chromium.org/", "project": { "id": 18, "url": "http://patchwork.ozlabs.org/api/1.2/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": "<20260413131541.2091541-1-sjg@chromium.org>", "list_archive_url": null, "date": "2026-04-13T13:15:37", "name": "[v4,1/2] kbuild: Move U-Boot .incbin rules to Makefile.lib-u-boot", "commit_ref": null, "pull_url": null, "state": "new", "archived": false, "hash": "c9f14c565ce3074b5ec72438df5031f855570ff1", "submitter": { "id": 6170, "url": "http://patchwork.ozlabs.org/api/1.2/people/6170/?format=api", "name": "Simon Glass", "email": "sjg@chromium.org" }, "delegate": { "id": 3651, "url": "http://patchwork.ozlabs.org/api/1.2/users/3651/?format=api", "username": "trini", "first_name": "Tom", "last_name": "Rini", "email": "trini@ti.com" }, "mbox": "http://patchwork.ozlabs.org/project/uboot/patch/20260413131541.2091541-1-sjg@chromium.org/mbox/", "series": [ { "id": 499702, "url": "http://patchwork.ozlabs.org/api/1.2/series/499702/?format=api", "web_url": "http://patchwork.ozlabs.org/project/uboot/list/?series=499702", "date": "2026-04-13T13:15:37", "name": "[v4,1/2] kbuild: Move U-Boot .incbin rules to Makefile.lib-u-boot", "version": 4, "mbox": "http://patchwork.ozlabs.org/series/499702/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/2222698/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/2222698/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=Ac8nkmly;\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=\"Ac8nkmly\";\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 4fvSb03P4Vz1xtJ\n\tfor <incoming@patchwork.ozlabs.org>; Mon, 13 Apr 2026 23:15:56 +1000 (AEST)", "from h2850616.stratoserver.net (localhost [IPv6:::1])\n\tby phobos.denx.de (Postfix) with ESMTP id 4C7F78407D;\n\tMon, 13 Apr 2026 15:15:53 +0200 (CEST)", "by phobos.denx.de (Postfix, from userid 109)\n id 86055841FF; Mon, 13 Apr 2026 15:15:51 +0200 (CEST)", "from mail-oa1-x42.google.com (mail-oa1-x42.google.com\n [IPv6:2001:4860:4864:20::42])\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 92F1383DC9\n for <u-boot@lists.denx.de>; Mon, 13 Apr 2026 15:15:48 +0200 (CEST)", "by mail-oa1-x42.google.com with SMTP id\n 586e51a60fabf-40429b1d8baso1505899fac.0\n for <u-boot@lists.denx.de>; Mon, 13 Apr 2026 06:15:48 -0700 (PDT)", "from chromium.org ([73.34.74.121]) by smtp.gmail.com with ESMTPSA id\n 006d021491bc7-68bc7dfa196sm5958562eaf.2.2026.04.13.06.15.44\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Mon, 13 Apr 2026 06:15:45 -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.6 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=1776086146; x=1776690946; 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=HZxcKFUzspgYDlg8sHte4lluXbOHHKhGrbF5q1lDox4=;\n b=Ac8nkmly3Xszmj1o75mRA7aWNm3AwhhDZbNImOQ0U68Jnvx3BzbjvpYv8Mt6MKvYhH\n aJ4p95gb/oXNaYfhCjji3kOtBHI7Kyp65vTHX7Dq6w87v1DN3ltb//Lynl8y91G2loDn\n rV+wzh6UETjgGebNZOgTqBp0aKyhNtcstypGQ=", "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20251104; t=1776086146; x=1776690946;\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=HZxcKFUzspgYDlg8sHte4lluXbOHHKhGrbF5q1lDox4=;\n b=RyoULK899rW8Ze2AgRVawg19JJ3i+bNCUeWnk2PTtP4rJS880VDV1eWWwYs3tqoWUJ\n RxPTWjYNjt5ZB4H/qw/xe/k0BhqQsvU5DtKtdIXHt1LsOfTFyhMbb3asb8qamQXq46FO\n JHFYZdFAL2DPIXII5ExQ8gd9UZIinaMA9bkMqVEiweh/Lwn44+4n7vX5GySQKgfdzDp6\n neIkxsj3zArbNQA+crSy0eP3XiDA5Th4axMrhtJSiCV6cnIN9IYWV8XGn9pw9DUezrEH\n jEBqvL0DM/CgWaoCWP6ADaXdcV+MqLessLOA7ZCSfbNBx1g3hPnnzCBXIvMdHM8/0QpV\n S/QA==", "X-Gm-Message-State": "AOJu0YwWJatBR6GnehB18qGaLEN1U4b6TeFYF4znBvT35fuhhWooF6S4\n 8EFSGLonNj1aROmXfkMFKirUYo5DWyKiS6S7fPykiGvAWIrhdHs+bxWaAAUKRURkfdy3YH87THZ\n N4ZmMpCc6", "X-Gm-Gg": "AeBDiesdrHfQqw59+zdoVTLyfo8QXhqOv2MTQLi3M2RY/OOdNpSYXv6ZnDKjyHXAw4m\n EL6V6/Ote8edp3x34xhpobEtZpRRnKFt2g/I6roms7SM8dx43IaK5W3w5i9Ar08xNqQJ7L0n2u9\n +J6NQLp2dgwbb7URqQmqXkBuXhkfNLBzmBPCP/XZVCuPp7Byp2xa7Ae1NOqUVE8pXpw0WK/Fj56\n LoFpkkxSrwO5lBKzmMb8m/OkURKD0j622E8PalmPNv8J+obWZ0tckpPxewjmeZbrRsjLYtrC5gQ\n RouqGYCuYV7cShDfZ2kcBkFXF+vrSdEtygSfcO/4ybDCKnft3KpUQ/YjddnJCDsdbenRRgYig2O\n l4XPNhQz0HCyWWAj+Uc3Ve5NVuU2GmIyzrSLkGDPc1O6GmjHmS/tR/fKXfZzuHjLtIWsGgKy7kJ\n +3E3k4PBs+gAF9ihXa/A==", "X-Received": "by 2002:a05:6820:4c07:b0:68a:f94d:753d with SMTP id\n 006d021491bc7-68be6432c7fmr6840701eaf.17.1776086146192;\n Mon, 13 Apr 2026 06:15:46 -0700 (PDT)", "From": "Simon Glass <sjg@chromium.org>", "To": "u-boot@lists.denx.de", "Cc": "Rasmus Villemoes <ravi@prevas.dk>, Simon Glass <sjg@chromium.org>,\n Tom Rini <trini@konsulko.com>,\n Ilias Apalodimas <ilias.apalodimas@linaro.org>,\n Adriano Cordova <adrianox@gmail.com>, Greg Malysa <malysagreg@gmail.com>,\n James Hilliard <james.hilliard1@gmail.com>,\n Marek Vasut <marek.vasut+renesas@mailbox.org>,\n Philip Molloy <philip.molloy@analog.com>,\n Richard Genoud <richard.genoud@bootlin.com>,\n Sughosh Ganu <sughosh.ganu@arm.com>,\n Tien Fong Chee <tien.fong.chee@altera.com>", "Subject": "[PATCH v4 1/2] kbuild: Move U-Boot .incbin rules to\n Makefile.lib-u-boot", "Date": "Mon, 13 Apr 2026 07:15:37 -0600", "Message-ID": "<20260413131541.2091541-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>\nAcked-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>\n---\n\n(no changes since v2)\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\n\n---\nbase-commit: e2fa3e570f83ab0f9ce667ddaec9dc738bcf05b9\nbranch: font-us4", "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": [ "v4", "1/2" ] }