From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail-wi0-x22c.google.com ([2a00:1450:400c:c05::22c]) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1WxtAW-0007pk-RY for ptxdist@pengutronix.de; Fri, 20 Jun 2014 09:23:29 +0200 Received: by mail-wi0-f172.google.com with SMTP id hi2so265020wib.17 for ; Fri, 20 Jun 2014 00:23:23 -0700 (PDT) Received: from omega (p20030064A94744D2E2CB4EFFFE1BB546.dip0.t-ipconnect.de. [2003:64:a947:44d2:e2cb:4eff:fe1b:b546]) by mx.google.com with ESMTPSA id fb15sm2107254wid.23.2014.06.20.00.23.22 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 20 Jun 2014 00:23:22 -0700 (PDT) Date: Fri, 20 Jun 2014 09:23:17 +0200 From: Alexander Aring Message-ID: <20140620072315.GA29420@omega> References: <1400145009-4662-1-git-send-email-t.gamez@phytec.de> <20140516064516.GA25124@omega> <20140611062955.GM4904@pengutronix.de> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20140611062955.GM4904@pengutronix.de> Subject: Re: [ptxdist] [PATCH v2 1/2] dtc: Seperate path and filename of dts 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 Hi, On Wed, Jun 11, 2014 at 08:29:55AM +0200, Michael Olbrich wrote: > Hi, > > I've rewritten the patch taking these issues into account. > I'll merge it after the release. > > On Fri, May 16, 2014 at 08:45:19AM +0200, Alexander Aring wrote: > > I detected a new issue with this patch. > > > > > > First: > > > > Before it was possible to have something like: > > > > PTXCONF_DTC_OFTREE_DTS="/bar/foo/foobar.dts /foo/bar/barfoo.dts" > > > > These files have a different basename. With your patch the basename must > > be one unique basename. I mean okay, we could drop this and force the > > ptxdist users that all dts files need to be under one location. > > > > or > > > > we make a for-each to search all directories of DTS_PATH, then we could > > configure something like that: > > > > DTC_OFTREE_DTS_PATHS="/bar/foo /foo/bar" > > DTC_OFTREE_DTS="foobar.dts barfoo.dts" > > I've used ':' as a separater for the path. > just to clarify, what's the priority in this list? Should we do that like PATH? Then I would prefer ${KERNEL_DIR}/arch/${PTXCONF_KERNEL_ARCH_STRING}/boot/dts:${PTXDIST_PLATFORMCONFIGDIR}/dts instead ${PTXDIST_PLATFORMCONFIGDIR}/dts:${KERNEL_DIR}/arch/${PTXCONF_KERNEL_ARCH_STRING}/boot/dts as default value. Then I can just copy the mainline dts file to ${PTXDIST_PLATFORMCONFIGDIR}/dts without renaming and make some platform changes. - Alex -- ptxdist mailing list ptxdist@pengutronix.de