Re: [PATCH] Makefile: when building libfdt only, do not add unneeded deps

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



On Tue, May 12, 2020 at 12:33:15PM +0200, Claudio Fontana wrote:
> implemented originally for the QEMU consumer of libfdt.
> 
> Signed-off-by: Claudio Fontana <cfontana@xxxxxxx>

Applied, thanks.

> ---
>  Makefile | 4 ++++
>  1 file changed, 4 insertions(+)
> 
> diff --git a/Makefile b/Makefile
> index f02aa19..cb256e8 100644
> --- a/Makefile
> +++ b/Makefile
> @@ -176,6 +176,7 @@ endif
>  
>  
>  ifneq ($(DEPTARGETS),)
> +ifneq ($(MAKECMDGOALS),libfdt)
>  -include $(DTC_OBJS:%.o=%.d)
>  -include $(CONVERT_OBJS:%.o=%.d)
>  -include $(FDTDUMP_OBJS:%.o=%.d)
> @@ -183,6 +184,7 @@ ifneq ($(DEPTARGETS),)
>  -include $(FDTPUT_OBJS:%.o=%.d)
>  -include $(FDTOVERLAY_OBJS:%.o=%.d)
>  endif
> +endif
>  
>  
>  
> @@ -318,7 +320,9 @@ ifeq ($(NO_PYTHON),0)
>  TESTS_PYLIBFDT += maybe_pylibfdt
>  endif
>  
> +ifneq ($(MAKECMDGOALS),libfdt)
>  include tests/Makefile.tests
> +endif
>  
>  #
>  # Clean rules

-- 
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