Re: [PATCH] Makefile: allow to install libfdt without building executables

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Wed, Jul 26, 2023 at 04:43:11PM +0200, Nicolas Escande wrote:
> 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@xxxxxxxxx>

Merged, thanks.


> ---
>  Makefile | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> 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)

-- 
David Gibson			| I'll have my music baroque, and my code
david AT gibson.dropbear.id.au	| minimalist, thank you.  NOT _the_ _other_
				| _way_ _around_!
http://www.ozlabs.org/~dgibson

Attachment: signature.asc
Description: PGP signature


[Index of Archives]     [Device Tree]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux