diff options
| author | Tom Rini <[email protected]> | 2023-09-21 19:32:46 -0400 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2023-10-09 15:24:31 -0400 |
| commit | 521ca0fa7832ee67ad2a1de37bf05fe8acd00b06 (patch) | |
| tree | a0b1c08e4398e7dfc69a1ab6d7b5b6dcd4cdcf35 /scripts/Makefile.spl | |
| parent | 3d0fa4a4385e78a26096d9d806cfca6d8a7b7404 (diff) | |
Makefile: Allow for board directories to not have a Makefile
It is entirely possible at this point to have platforms in U-Boot that
do not have board-specific C code (just Kconfig or environment) and so
make it optional to have to descend in to and then build in the board
directory.
Signed-off-by: Tom Rini <[email protected]>
Diffstat (limited to 'scripts/Makefile.spl')
| -rw-r--r-- | scripts/Makefile.spl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/Makefile.spl b/scripts/Makefile.spl index 15ac87286d5..32f4384657b 100644 --- a/scripts/Makefile.spl +++ b/scripts/Makefile.spl @@ -96,7 +96,7 @@ c_flags := $(KBUILD_CFLAGS) $(cpp_flags) HAVE_VENDOR_COMMON_LIB = $(if $(wildcard $(srctree)/board/$(VENDOR)/common/Makefile),y,n) -libs-y += $(if $(BOARDDIR),board/$(BOARDDIR)/) +libs-y += $(if $(wildcard $(srctree)/board/$(BOARDDIR)/Makefile),board/$(BOARDDIR)/) libs-$(HAVE_VENDOR_COMMON_LIB) += board/$(VENDOR)/common/ ifeq ($(CONFIG_TPL_BUILD),y) |
