linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Rob Herring <robh@kernel.org>
To: Masahiro Yamada <yamada.masahiro@socionext.com>,
	Frank Rowand <frowand.list@gmail.com>
Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: [PATCH 2/6] kbuild: add dtc as dependency on .dtb files
Date: Wed, 28 Feb 2018 17:32:45 -0600	[thread overview]
Message-ID: <20180228233249.26281-3-robh@kernel.org> (raw)
In-Reply-To: <20180228233249.26281-1-robh@kernel.org>

If dtc is rebuilt, we should rebuild .dtb files with the new dtc.

Cc: Masahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: Rob Herring <robh@kernel.org>
---
 scripts/Makefile.lib | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/Makefile.lib b/scripts/Makefile.lib
index 1bc2f90cb8c0..6aeb91524c76 100644
--- a/scripts/Makefile.lib
+++ b/scripts/Makefile.lib
@@ -316,7 +316,7 @@ cmd_dtc = mkdir -p $(dir ${dtc-tmp}) ; \
 		-d $(depfile).dtc.tmp $(dtc-tmp) ; \
 	cat $(depfile).pre.tmp $(depfile).dtc.tmp > $(depfile)
 
-$(obj)/%.dtb: $(src)/%.dts FORCE
+$(obj)/%.dtb: $(src)/%.dts $(DTC) FORCE
 	$(call if_changed_dep,dtc)
 
 dtc-tmp = $(subst $(comma),_,$(dot-target).dts.tmp)
-- 
2.14.1

  parent reply	other threads:[~2018-02-28 23:33 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-02-28 23:32 [PATCH 0/6] dtc updates for 4.17 Rob Herring
2018-02-28 23:32 ` [PATCH 1/6] kbuild: remove remaining use of undefined YACC_PREFIX Rob Herring
2018-03-01  4:20   ` Masahiro Yamada
2018-03-01 11:35     ` Masahiro Yamada
2018-03-01 13:39       ` Rob Herring
2018-03-01 14:01         ` Masahiro Yamada
2018-03-01 15:38           ` Rob Herring
2018-02-28 23:32 ` Rob Herring [this message]
2018-03-01  4:33   ` [PATCH 2/6] kbuild: add dtc as dependency on .dtb files Masahiro Yamada
2018-03-01  5:45     ` Masahiro Yamada
2018-03-01 13:28       ` Rob Herring
2018-03-01 14:04         ` Masahiro Yamada
2018-02-28 23:32 ` [PATCH 3/6] scripts: re-enable some now fixed dtc warnings Rob Herring
2018-02-28 23:32 ` [PATCH 4/6] scripts/dtc: generate lexer and parser during build instead of shipping Rob Herring
2018-03-01  4:34   ` Masahiro Yamada
2018-03-01 18:13     ` Rob Herring
2018-02-28 23:32 ` [PATCH 5/6] scripts/dtc: Update to upstream version v1.4.6-9-gaadd0b65c987 Rob Herring
2018-02-28 23:32 ` [PATCH 6/6] scripts: turn off some new dtc warnings by default Rob Herring
2018-03-01  4:43 ` [PATCH 0/6] dtc updates for 4.17 Masahiro Yamada

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20180228233249.26281-3-robh@kernel.org \
    --to=robh@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=frowand.list@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=yamada.masahiro@socionext.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).