All of lore.kernel.org
 help / color / mirror / Atom feed
* should YP docs explain "type=kmeta" and "destsuffix="?
@ 2015-03-04 15:10 Robert P. J. Day
  2015-03-04 21:34 ` Bruce Ashfield
  0 siblings, 1 reply; 4+ messages in thread
From: Robert P. J. Day @ 2015-03-04 15:10 UTC (permalink / raw)
  To: Yocto discussion list


  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
========================================================================


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

end of thread, other threads:[~2015-03-05  7:53 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-03-04 15:10 should YP docs explain "type=kmeta" and "destsuffix="? Robert P. J. Day
2015-03-04 21:34 ` Bruce Ashfield
2015-03-05  7:02   ` Robert P. J. Day
2015-03-05  7:53   ` Robert P. J. Day

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.