summaryrefslogtreecommitdiff
path: root/scripts/Makefile.build
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.build
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.build')
-rw-r--r--scripts/Makefile.build1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/Makefile.build b/scripts/Makefile.build
index 8da9851d430..e625f99986e 100644
--- a/scripts/Makefile.build
+++ b/scripts/Makefile.build
@@ -65,6 +65,7 @@ ccflags-y += $(PLATFORM_CPPFLAGS)
cppflags-y += $(PLATFORM_CPPFLAGS)
include $(srctree)/scripts/Makefile.lib
+include $(srctree)/scripts/Makefile.lib-u-boot
# Do not include hostprogs rules unless needed.
# $(sort ...) is used here to remove duplicated words and excessive spaces.