From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from ptx.hi.pengutronix.de ([2001:6f8:1178:2:5054:ff:fec0:8e10] ident=Debian-exim) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1Wuc3V-0005Wk-8n for ptxdist@pengutronix.de; Wed, 11 Jun 2014 08:30:41 +0200 Received: from mol by ptx.hi.pengutronix.de with local (Exim 4.80) (envelope-from ) id 1Wuc3V-0002Ia-7W for ptxdist@pengutronix.de; Wed, 11 Jun 2014 08:30:41 +0200 Date: Wed, 11 Jun 2014 08:30:41 +0200 From: Michael Olbrich Message-ID: <20140611063041.GO4904@pengutronix.de> References: <1402401308-9050-1-git-send-email-bernhard@bwalle.de> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <1402401308-9050-1-git-send-email-bernhard@bwalle.de> Subject: Re: [ptxdist] [PATCH] dtc: Fix image creation with kernel dtc from 3.15 Reply-To: ptxdist@pengutronix.de List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: ptxdist@pengutronix.de On Tue, Jun 10, 2014 at 01:55:08PM +0200, Bernhard Walle wrote: > Starting with kernel 3.15, the help output of dtc has changed from > > | Force - try to produce output even if the input tree has errors > | -i > | Add a path to search for include files > > to > > | Try to produce output even if the input tree has errors > | -i, --include > | Add a path to search for include files > > The new regular expression expresses this change and also works with older > kernel versions. > > Without that change, the image creation of my kernel fails with following > error message: > > | FATAL ERROR: Couldn't open "skeleton.dtsi": No such file or directory > > Signed-off-by: Bernhard Walle Thanks, applied. Michael > --- > rules/dtc.make | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/rules/dtc.make b/rules/dtc.make > index 55086d1..da36971 100644 > --- a/rules/dtc.make > +++ b/rules/dtc.make > @@ -47,7 +47,7 @@ ptx/dtb = $(notdir $(basename $(strip $(1)))).dtb > $< > @sed -e 's;^$(TMP_DTS):;$@:;' -e 's;^ \([^ ]*\); $$(wildcard \1);' $(TMP_DEPS) > $(DEPS) > @echo DTC `ptxd_print_path "$@"` > - @if $(PTXCONF_SYSROOT_HOST)/bin/dtc -h 2>&1 | grep -q "^[[:space:]]-i$$"; then \ > + @if $(PTXCONF_SYSROOT_HOST)/bin/dtc -h 2>&1 | grep -q "^[[:space:]]\+-i\(,.*\)\?$$"; then \ > dtc_include="-i $(dir $<) -i $(KERNEL_DIR)/arch/$(GENERIC_KERNEL_ARCH)/boot/dts"; \ > fi; \ > $(PTXCONF_SYSROOT_HOST)/bin/dtc \ > -- > 2.0.0 > > > -- > ptxdist mailing list > ptxdist@pengutronix.de > -- Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | -- ptxdist mailing list ptxdist@pengutronix.de