Hi all, I've done some more work and figured out what was to be changed to include a new program to my meta-dl.
This is the change, please let me know if you have any comment. https://github.com/insop/meta-dl/commit/6f7c4dc9b66e38a1fedb4a9fd80d644d3f37aced Thank you, Insop On Mon, Mar 4, 2013 at 8:04 PM, Insop Song <insop.s...@gmail.com> wrote: > Hi, > > I am preparing a new meta layer for testing and promoting a > sched_deadline scheduler, called "meta-dl". I am planning to add > scheduler testing tools and different kernel versions as well. > - http://insop.github.com/meta-dl/ > > With the help of hands-on kernel lab (thank you Tom and Darren), I am > able to make kernel with sched_deadline enabled. > > > Now, I am having some trouble of adding testing tools to this meta-dl, > and hope I can get some help from you. > > - problem: adding a new software into my meta-dl layer > > - symtom and questions? > 1. bitbake core-image-minimal (normal image build) won't include the > additional program that I listed in .bb file below > 2. If I do "bitbake schedtool-dl -c install" it builds and install, > but at "i586" location instead of my machine staging rootfs > (dl-qemux86) > > > > - Here is my .bb file that pulls an additional program. > https://github.com/insop/meta-dl/blob/sched-dl-V7/recipes-tools/schedtool-dl/schedtool-dl.bb > === > DESCRIPTION = "schedtool-dl (scheduler test tool) for deadline scheduler" > HOMEPAGE = "https://github.com/insop/schedtool-dl" > SECTION = "base" > LICENSE = "GPLv2" > LIC_FILES_CHKSUM = > "file://Makefile;endline=55;md5=e4b4e8ed9c2132e1d727a1bb5e3bd984" > PR = "r1" > > SRC_URI = "git://github.com/insop/schedtool-dl.git;protocol=git" > SRCREV = "${AUTOREV}" > > S = "${WORKDIR}/git" > > do_compile() { > oe_runmake > } > > do_install() { > oe_runmake install DESTDIR=${D} > } > > PARALLEL_MAKE = "" > > BBCLASSEXTEND = "native" > > COMPATIBLE_MACHINE_dl-qemux86 = "dl-qemux86" > ==== > > > - I've updated my conf/layer.conf file to include above file > https://github.com/insop/meta-dl/blob/sched-dl-V7/conf/layer.conf > ==== > # We have a conf and classes directory, add to BBPATH > BBPATH := "${BBPATH}:${LAYERDIR}" > > # We have a recipes directory, add to BBFILES > BBFILES := "${BBFILES} ${LAYERDIR}/recipes-*/*/*.bb \ > ${LAYERDIR}/recipes-*/*/*.bbappend" > > BBFILE_COLLECTIONS += "dl-qemux86" > BBFILE_PATTERN_dl-qemux86 := "^${LAYERDIR}/" > BBFILE_PRIORITY_dl-qemux86 = "6" > ===== > > > > Thank you. > > Regards, > > Insop > > > - ref: > 1. sched_deadline: > https://events.linuxfoundation.org/events/linuxcon-europe/song > 2. sched_deadline: > http://events.linuxfoundation.org/images/stories/slides/elc2013_kobayashi.pdf?a _______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto