Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id E6FE7E00718; Wed, 4 Mar 2015 07:10:14 -0800 (PST) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] Received: from astoria.ccjclearline.com (astoria.ccjclearline.com [64.235.106.9]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 857ACE006E9 for ; Wed, 4 Mar 2015 07:10:11 -0800 (PST) Received: from [99.240.204.5] (port=45980 helo=crashcourse.ca) by astoria.ccjclearline.com with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.80) (envelope-from ) id 1YTAw6-0005ut-Ck for yocto@yoctoproject.org; Wed, 04 Mar 2015 10:10:10 -0500 Date: Wed, 4 Mar 2015 10:10:07 -0500 (EST) From: "Robert P. J. Day" X-X-Sender: rpjday@Device-040570 To: Yocto discussion list Message-ID: User-Agent: Alpine 2.11 (LFD 23 2013-08-11) MIME-Version: 1.0 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - astoria.ccjclearline.com X-AntiAbuse: Original Domain - yoctoproject.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - crashcourse.ca X-Source: X-Source-Args: X-Source-Dir: Subject: should YP docs explain "type=kmeta" and "destsuffix="? X-BeenThere: yocto@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Discussion of all things Yocto Project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Mar 2015 15:10:15 -0000 Content-Type: TEXT/PLAIN; charset=US-ASCII i see that the meta-xilinx layer takes advantage of extending the search path for features directories with things like: SRC_URI = " \ git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git;protocol=https;branch=${KBRANCH} \ file://xilinx-base;type=kmeta;destsuffix=xilinx-base \ file://0001-ARM64-Add-new-Xilinx-ZynqMP-SoC.patch \ ... etc etc ... and the above is processed from kernel-yocto.bbclass with: # check the SRC_URI for "kmeta" type'd git repositories. Return the name of # the repository as it will be found in WORKDIR def find_kernel_feature_dirs(d): feature_dirs=[] fetch = bb.fetch2.Fetch([], d) for url in fetch.urls: urldata = fetch.ud[url] parm = urldata.parm if "type" in parm: type = parm["type"] if "destsuffix" in parm: destdir = parm["destsuffix"] if type == "kmeta": feature_dirs.append(destdir) return feature_dirs i see no mention of this feature in any of the YP docs ... is it meant to be used by normal developers, so that it should be explained? rday -- ======================================================================== Robert P. J. Day Ottawa, Ontario, CANADA http://crashcourse.ca Twitter: http://twitter.com/rpjday LinkedIn: http://ca.linkedin.com/in/rpjday ========================================================================