summaryrefslogtreecommitdiff
path: root/scripts/Makefile.xpl
diff options
context:
space:
mode:
authorSimon Glass <[email protected]>2026-04-13 07:15:37 -0600
committerTom Rini <[email protected]>2026-04-21 15:56:54 -0600
commit24b99d293344d92d902cbc184e8d9665e6a437b2 (patch)
tree82dcd344df676613011eab0712c07f8dccfb7347 /scripts/Makefile.xpl
parent86122451b5b987a41a149e385f09d8335348bebe (diff)
kbuild: Move U-Boot .incbin rules to Makefile.lib-u-boot
The font, splash-screen and EFI .incbin wrapper rules are U-Boot additions that do not exist in the upstream Linux kbuild. Keeping them in scripts/Makefile.lib makes re-syncing with Linux harder than it needs to be, as every sync must manually preserve the U-Boot additions. Move these rules into a new scripts/Makefile.lib-u-boot and include it from Makefile.build and Makefile.xpl, right after the existing Makefile.lib include. This is a pure code-move with no functional change. Suggested-by: Tom Rini <[email protected]> Signed-off-by: Simon Glass <[email protected]> Acked-by: Ilias Apalodimas <[email protected]> Reviewed-by: Rasmus Villemoes <[email protected]>
Diffstat (limited to 'scripts/Makefile.xpl')
-rw-r--r--scripts/Makefile.xpl1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/Makefile.xpl b/scripts/Makefile.xpl
index c5ddf64c73f..862a8e6f231 100644
--- a/scripts/Makefile.xpl
+++ b/scripts/Makefile.xpl
@@ -88,6 +88,7 @@ include $(srctree)/config.mk
include $(srctree)/arch/$(ARCH)/Makefile
include $(srctree)/scripts/Makefile.lib
+include $(srctree)/scripts/Makefile.lib-u-boot
# Enable garbage collection of un-used sections for SPL
KBUILD_CFLAGS += -ffunction-sections -fdata-sections