From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail.mlbassoc.com ([65.100.170.105] helo=mail.chez-thomas.org) by linuxtogo.org with esmtp (Exim 4.72) (envelope-from ) id 1UJ3aK-0000kF-O4 for openembedded-devel@lists.openembedded.org; Fri, 22 Mar 2013 16:08:51 +0100 Received: by mail.chez-thomas.org (Postfix, from userid 1998) id DEF00F81202; Fri, 22 Mar 2013 08:51:55 -0600 (MDT) X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on hermes.chez-thomas.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=4.0 tests=ALL_TRUSTED,BAYES_00 autolearn=unavailable version=3.3.2 Received: from [192.168.1.114] (zeus [192.168.1.114]) by mail.chez-thomas.org (Postfix) with ESMTP id 4CB21F811F8; Fri, 22 Mar 2013 08:51:54 -0600 (MDT) Message-ID: <514C700C.6010707@mlbassoc.com> Date: Fri, 22 Mar 2013 08:51:56 -0600 From: Gary Thomas User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130308 Thunderbird/17.0.4 MIME-Version: 1.0 To: openembedded-devel@lists.openembedded.org References: <514C6AFC.1050405@mlbassoc.com> In-Reply-To: Subject: Re: Adding a recipe to oe bitbake X-BeenThere: openembedded-devel@lists.openembedded.org X-Mailman-Version: 2.1.11 Precedence: list Reply-To: openembedded-devel@lists.openembedded.org List-Id: Using the OpenEmbedded metadata to build Distributions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Mar 2013 15:08:57 -0000 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit On 2013-03-22 08:42, David Hirst wrote: > OK, > Sorry for the carpet bombing! I added this to tisdk-rootfs-image > "task-arago-xyz \" to look for the new task file > I have included the task and pure-ftpd bb files also. I would love to > understand why this does not work. What steps did you run after making this change? What version of bitbake are you using? Most likely, bitbake did not [fully] realize that you made a change. I'd try something like this: % bitbake tisdk-rootfs-image -c cleansstate % bitbake tisdk-rootfs-image and see what happens. BTW, top-posting is evil :-( > > ==========================tisdk-rootfs-image.bb============================ > # Arago TI SDK filesystem image > COMPATIBLE_MACHINE = "omap3|omapl138|ti33x" > > require arago-base-tisdk-image.bb > > IMAGE_INSTALL += "\ > task-arago-test \ > task-arago-tisdk-graphics \ > task-arago-tisdk-qte \ > task-arago-tisdk-addons \ > task-arago-tisdk-connectivity \ > task-arago-tisdk-crypto \ > task-arago-tisdk-matrix \ > task-arago-tisdk-multimedia \ > task-arago-tisdk-amsdk \ > task-arago-xyz \ > " > > export IMAGE_BASENAME = "tisdk-rootfs-image" > > =================task-arago.xyz.bb================ > > DESCRIPTION = "Extended task to get extras" > LICENSE = "MIT" > LIC_FILES_CHKSUM = > "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" > PR = "r0" > > inherit task > > ARAGO_XYZ = " \ > pure-ftpd \ > " > > ARAGO_XYZ_INT = "\ > ${ARAGO_XYZ} \ > " > RDEPENDS_${PN} = "\ > ${ARAGO_XYZ_INT} \ > " > ===============pure-ftpd_1.0.29.bb==================== > > DESCRIPTION = "Sample program" > LICENSE = "GPLv2" > LIC_FILES_CHKSUM = "file://COPYING;md5=d7b47170f564f6a314b82b3ea67a40bd" > PR = "r0" > PV = "1.0.29" > DEPENDS = "" > RPROVIDES = "pure-ftpd" > PROVIDES = "pure-ftpd" > ARM_INSTRUCTION_SET = "arm" > > PARALLEL_MAKE = "" > > inherit autotools pkgconfig > > EXTRA_OECONF = "--enable-cross-compile --host=arm-arago-linux-gnueabi" > > SRC_URI = " > http://iweb.dl.sourceforge.net/project/pureftpd/Pure-FTPd/1.0.29/pure-ftpd-${PV}.tar.gz > " > SRC_URI[md5sum] = "e0132a51357d419f8b66e8997d9dc5fa" > SRC_URI[sha256sum] = > "55bfb84fa63a37e5b56906afb4444fda7285d0f8b5ed24798f59c978ddea2749" > S = "${WORKDIR}/pure-ftpd-${PV}" > > EXTRA_OECONF_append_armv6 = " --enable-armv6" > EXTRA_OECONF_append_armv7a = " --enable-armv6 --enable-neon" > > FULL_OPTIMIZATION = "-fexpensive-optimizations -fomit-frame-pointer > -frename-registers -O4 -ffast-math" > BUILD_OPTIMIZATION = "${FULL_OPTIMIZATION}" > > do_configure(){ > oe_runconf ${EXTRE_OECONF} > } > > do_compile () { > oe_runmake > } > > do_install () { > oe_runmake install DESTDIR=${D} > } > > > ARM_INSTRUCTION_SET = "arm" > > BBCLASSEXTEND = "native" > > ============================ END=========================== > > On Fri, Mar 22, 2013 at 10:30 AM, Gary Thomas wrote: > >> On 2013-03-22 08:24, David Hirst wrote: >> >>> Hi, >>> I have been struggling with a oe/bitbake issue. I wanted to add an >>> other .bb to the image file. >>> I have tried multiple ways but always end up at the same spot. I have >>> created a new task-XXX.bb file which includes my bb >>> I edited the XXXX-rootfs-image.bb to include the task-XXX.bb. >>> Once built I find that everything built fine and the new recipe was built >>> but was not loaded into the XXXX-rootfs-image.tar,gz. >>> If I look into the image directory for the bb file I see the compiled >>> application in usr/sbin. >>> I have tried this with my own .bb file and net-snmp bb file which comes >>> with the default oe-layersetup installation with the same result. >>> Did I not edit a file or miss some other required step? >>> >>> >> Wow, the same question on three mailing lists (that I read, there >> may be more...) and no cross-posting! >> >> This list is perhaps the most appropriate one for your question. >> >> More details will help. Exactly what did you change in the >> "XXXX-rootfs-image.bb" >> recipe? >> >> -- >> ------------------------------**------------------------------ >> Gary Thomas | Consulting for the >> MLB Associates | Embedded world >> ------------------------------**------------------------------ >> >> ______________________________**_________________ >> Openembedded-devel mailing list >> Openembedded-devel@lists.**openembedded.org >> http://lists.linuxtogo.org/**cgi-bin/mailman/listinfo/**openembedded-devel >> > > > -- ------------------------------------------------------------ Gary Thomas | Consulting for the MLB Associates | Embedded world ------------------------------------------------------------