<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Problem building own application in yocto in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Problem-building-own-application-in-yocto/m-p/661637#M101583</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Igor,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i had no problems with including a&amp;nbsp;simple "Hello World" example, but I don't get i how to compile our application using a bitbake recipe based on our makefile. I've been using ptxdist and rules in the first place but the current versions of the phytec BSPs are based on Yocto.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 03 Oct 2016 05:29:26 GMT</pubDate>
    <dc:creator>jko</dc:creator>
    <dc:date>2016-10-03T05:29:26Z</dc:date>
    <item>
      <title>Problem building own application in yocto</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Problem-building-own-application-in-yocto/m-p/661635#M101581</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm trying to compile our own application using Yocto for a phyFlex board but am not able to get it running.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Following the Makefile&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;EM&gt;CFLAGS=${KERNEL_SRC}&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;CFLAGS=-lrt -lpthread&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;#CFLAGS += -I../../platform-Spectro2/build-target/linux-2.6.24/include/&lt;/EM&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;EM&gt;#CFLAGS += -D_GNU_SOURCE&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;CFLAGS += -g&lt;/EM&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;EM&gt;all: automat&lt;/EM&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;EM&gt;automat: automat.c &lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;automat +: vm/vm.c vm/vm.h vm/componentdefs.c vm/componentdefs.h vm/blobtags.h vm/spectrometer.c vm/spectrometer.h speconfig/speconfiglib.c speconfig/speconfiglib.h &lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;automat +: vm/chemometry.c vm/chemometry.h vm/chemoengine.h vm/textfile.c vm/textfile.h vm/tcpsocket.c vm/tcpsocket.h vm/datastore.c vm/datastore.h vm/dynamicdefs.c vm/dynamicdefs.h &lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;automat +: vm/configuration.c vm/configuration.h vm/realtimeclock.c vm/realtimeclock.h vm/visualization.c vm/visualization.h&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;automat +: CANopen/CANopen.c CANopen/CANopen.h CANopen/mcp2515.c CANopen/mcp2515.h CANopen/lock.c CANopen/lock.h CANopen/Event.c CANopen/Event.h CANopen/CanBasic.c CANopen/CanBasic.h&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;automat +: CANopen/ComObj.c CANopen/ComObj.h CANopen/nmt.c CANopen/nmt.h CANopen/ObjDict.c CANopen/ObjDict.h&lt;/EM&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;EM&gt;clean:&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt; rm automat&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and this is how my .bb looks like (the last version i've tried)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;EM&gt;DESCRIPTION = "autod"&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;SECTION = "automat"&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;LICENSE = "MIT"&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;&lt;/EM&gt;&lt;EM&gt;md5=0835ade698e0bcf8506ecda2f7b4f302"&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;PR = "r0"&lt;/EM&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;EM&gt;SRC_URI = "file://Makefile"&lt;/EM&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;EM&gt;S = "${WORKDIR}"&lt;/EM&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;EM&gt;EXTRA_OEMAKE = "'CFLAGS=${CFLAGS} -lrt -lpthread -I${KERNEL_SRC} -g'"&lt;/EM&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;EM&gt;do_install() {&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt; oe_runmake all:&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt; install -d ${D}${bindir}&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt; install -m 0755 automat ${D}${bindir}&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and finally the error&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;ERROR: Function failed: do_configure (log file is located at /opt/PHYTEC_BSPs/phyFLEX-i.MX6/build/tmp-glibc/work/cortexa9hf-vfp-neon-phytec-linux-gnueabi/automat/0.1-r0/temp/log.do_configure.12497)&lt;BR /&gt;ERROR: Logfile of failure stored in: /opt/PHYTEC_BSPs/phyFLEX-i.MX6/build/tmp-glibc/work/cortexa9hf-vfp-neon-phytec-linux-gnueabi/automat/0.1-r0/temp/log.do_configure.12497&lt;BR /&gt;Log data follows:&lt;BR /&gt;| DEBUG: Executing python function sysroot_cleansstate&lt;BR /&gt;| DEBUG: Python function sysroot_cleansstate finished&lt;BR /&gt;| DEBUG: Executing shell function do_configure&lt;BR /&gt;| NOTE: make CFLAGS= -O2 -pipe -g -feliminate-unused-debug-types -lrt -lpthread -I${KERNEL_SRC} -g clean&lt;BR /&gt;| rm automat&lt;BR /&gt;| rm: cannot remove `automat': No such file or directory&lt;BR /&gt;| make: *** [clean] Error 1&lt;BR /&gt;| ERROR: oe_runmake failed&lt;BR /&gt;| WARNING: exit code 1 from a shell command.&lt;BR /&gt;| ERROR: Function failed: do_configure (log file is located at /opt/PHYTEC_BSPs/phyFLEX-i.MX6/build/tmp-glibc/work/cortexa9hf-vfp-neon-phytec-linux-gnueabi/automat/0.1-r0/temp/log.do_configure.12497)&lt;BR /&gt;ERROR: Task 3 (/opt/PHYTEC_BSPs/phyFLEX-i.MX6/sources/poky/meta-ired/recipes/automat/automat_0.1.bb, do_configure) failed with exit code '1'&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;/P&gt;&lt;P&gt;I'm really new into yocto and kernelbuilding in general.&amp;nbsp;Any hints are very appreciated!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Sep 2016 11:38:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Problem-building-own-application-in-yocto/m-p/661635#M101581</guid>
      <dc:creator>jko</dc:creator>
      <dc:date>2016-09-30T11:38:32Z</dc:date>
    </item>
    <item>
      <title>Re: Problem building own application in yocto</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Problem-building-own-application-in-yocto/m-p/661636#M101582</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jakub&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;one can look at hellow world building steps :&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fphytec.com%2Fwiki%2Findex.php%3Ftitle%3DPhyFLEX-i.MX6_Linux_Quickstart-PD13.1.0" rel="nofollow" target="_blank"&gt;http://phytec.com/wiki/index.php?title=PhyFLEX-i.MX6_Linux_Quickstart-PD13.1.0&lt;/A&gt;&lt;BR /&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.variwiki.com%2Findex.php%3Ftitle%3DVAR-SOM-MX6_Hello_World" rel="nofollow" target="_blank"&gt;http://www.variwiki.com/index.php?title=VAR-SOM-MX6_Hello_World&lt;/A&gt;&lt;BR /&gt;&lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-95003"&gt;https://community.nxp.com/docs/DOC-95003&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 02 Oct 2016 23:38:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Problem-building-own-application-in-yocto/m-p/661636#M101582</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2016-10-02T23:38:59Z</dc:date>
    </item>
    <item>
      <title>Re: Problem building own application in yocto</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Problem-building-own-application-in-yocto/m-p/661637#M101583</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Igor,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i had no problems with including a&amp;nbsp;simple "Hello World" example, but I don't get i how to compile our application using a bitbake recipe based on our makefile. I've been using ptxdist and rules in the first place but the current versions of the phytec BSPs are based on Yocto.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Oct 2016 05:29:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Problem-building-own-application-in-yocto/m-p/661637#M101583</guid>
      <dc:creator>jko</dc:creator>
      <dc:date>2016-10-03T05:29:26Z</dc:date>
    </item>
  </channel>
</rss>

