devicetree-compiler.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] Makefile: when building libfdt only, do not add unneeded deps
@ 2020-05-12 10:33 Claudio Fontana
       [not found] ` <20200512103315.1926-1-cfontana-l3A5Bk7waGM@public.gmane.org>
  0 siblings, 1 reply; 2+ messages in thread
From: Claudio Fontana @ 2020-05-12 10:33 UTC (permalink / raw)
  To: David Gibson; +Cc: Claudio Fontana, devicetree-compiler-u79uwXL29TY76Z2rM5mHXA

implemented originally for the QEMU consumer of libfdt.

Signed-off-by: Claudio Fontana <cfontana-l3A5Bk7waGM@public.gmane.org>
---
 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
-- 
2.16.4


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] Makefile: when building libfdt only, do not add unneeded deps
       [not found] ` <20200512103315.1926-1-cfontana-l3A5Bk7waGM@public.gmane.org>
@ 2020-05-14  7:12   ` David Gibson
  0 siblings, 0 replies; 2+ messages in thread
From: David Gibson @ 2020-05-14  7:12 UTC (permalink / raw)
  To: Claudio Fontana; +Cc: devicetree-compiler-u79uwXL29TY76Z2rM5mHXA

[-- Attachment #1: Type: text/plain, Size: 1164 bytes --]

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-l3A5Bk7waGM@public.gmane.org>

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 #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-05-14  7:12 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-05-12 10:33 [PATCH] Makefile: when building libfdt only, do not add unneeded deps Claudio Fontana
     [not found] ` <20200512103315.1926-1-cfontana-l3A5Bk7waGM@public.gmane.org>
2020-05-14  7:12   ` David Gibson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).