diff options
| author | Jan Kiszka <[email protected]> | 2025-08-23 17:21:09 +0200 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2025-09-10 10:38:50 -0600 |
| commit | 371a76e845504c9ba7ca216b6edfb4ae4ec14e56 (patch) | |
| tree | fe8d8842b36f89e9b86c749688ac07fe3f530e1b /tools | |
| parent | 7d921410ef2e5873b6602760a0fd4d393bc9c2e6 (diff) | |
tools: Do not generate logo when cross-building
This cannot work (unless qemu-user is registered in binfmt_misc) as the
tools will be for a different architecture.
Fixes "make cross_tools" in case CONFIG_VIDEO_LOGO is enabled.
Signed-off-by: Jan Kiszka <[email protected]>
Reviewed-by: Tom Rini <[email protected]>
Diffstat (limited to 'tools')
| -rw-r--r-- | tools/Makefile | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/Makefile b/tools/Makefile index 7eb17f92116..ae6a3052646 100644 --- a/tools/Makefile +++ b/tools/Makefile @@ -333,7 +333,9 @@ HOST_EXTRACFLAGS += -include $(srctree)/include/compiler.h \ -D__KERNEL_STRICT_NAMES \ -D_GNU_SOURCE +ifeq ($(CROSS_BUILD_TOOLS),) __build: $(LOGO-y) +endif $(LOGO_H): $(obj)/bmp_logo $(LOGO_BMP) $(obj)/bmp_logo --gen-info $(LOGO_BMP) > $@ |
