aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNicolas Escande <nico.escande@gmail.com>2023-07-26 16:43:11 +0200
committerDavid Gibson <david@gibson.dropbear.id.au>2023-07-29 13:03:56 +1000
commitf088e381f29eb09bcd9599a942eb4b77949526f5 (patch)
treed94d7f24ff8e6c25366f547212d565e882f1ef0b
parent6df5328a902cf719495ea8a07da383172e358fff (diff)
downloaddtc-f088e381f29eb09bcd9599a942eb4b77949526f5.tar.gz
Makefile: allow to install libfdt without building executables
When we only need the libfdt calling the target install-lib also builds the executables listed in $(BINS) because this target depends on all Instead lets make install-lib only depend on libfdt. Signed-off-by: Nicolas Escande <nico.escande@gmail.com> Message-ID: <20230726144336.677135-1-nico.escande@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 784e2f8..c0b68a2 100644
--- a/Makefile
+++ b/Makefile
@@ -238,7 +238,7 @@ install-bin: all $(SCRIPTS)
$(INSTALL_PROGRAM) $(BIN) $(DESTDIR)$(BINDIR)
$(INSTALL_SCRIPT) $(SCRIPTS) $(DESTDIR)$(BINDIR)
-install-lib: all
+install-lib: libfdt
@$(VECHO) INSTALL-LIB
$(INSTALL) -d $(DESTDIR)$(LIBDIR)
$(INSTALL_LIB) $(LIBFDT_lib) $(DESTDIR)$(LIBDIR)