<?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 How to create an LTIB package in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/How-to-create-an-LTIB-package/m-p/215518#M13554</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;All,&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Are there any better instructions on how to create an LTIB package?&lt;/P&gt;&lt;P&gt;I tried following "helloworld" package and these instructions:&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.bitshrine.org%2Fautodocs%2FLtibFaq.html%23ref_89" rel="nofollow" target="_blank"&gt;http://www.bitshrine.org/autodocs/LtibFaq.html#ref_89&lt;/A&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But I am still having issues with the package not building.&lt;/P&gt;&lt;P&gt;I have a package with contents like this:&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;pck_dir&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;+--fileA.c&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;+--fileA.h&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;+---tests&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;+---- file1.c&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;+----file2.c&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; +--hdrs&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;+----fileX.h&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;+----fileZ.h&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have attached my spec file and my makefile.&lt;/P&gt;&lt;P&gt;They don't seem to work, I get the error below.&lt;/P&gt;&lt;P&gt;Please let me know if you have done this successfully before.&lt;/P&gt;&lt;P&gt;I had given up on LTIB and using the ordinary make files, but I would like&lt;/P&gt;&lt;P&gt;to get my package working with LTIB.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-----------------------------------------------BEGIN DUMP--------------------------&lt;/P&gt;&lt;P&gt;:~/mxc/ltib$ ./ltib -m scbuild -p pck_dir.spec&lt;/P&gt;&lt;P&gt;Processing: pck_dir&lt;BR /&gt;=========================&lt;BR /&gt;Build path taken because: directory build, build key set, no prebuilt rpm,&lt;/P&gt;&lt;P&gt;rpmbuild --dbpath /home/mxc/ltib/rootfs//var/lib/rpm --target arm --define '_unpackaged_files_terminate_build 0' --define '_target_cpu arm' --define '__strip strip' --define '_topdir /home/mxc/ltib/rpm' --define '_prefix /usr' --define '_tmppath /home/mxc/ltib/tmp' --define '_rpmdir /home/mxc/ltib/rpm/RPMS' --define '_mandir /usr/share/man' --define '_sysconfdir /etc' --define '_localstatedir /var' -bc --short-circuit /home/mxc/ltib/dist/lfs-5.1/pck_dir/pck_dir.spec&lt;BR /&gt;Building target platforms: arm&lt;BR /&gt;Building for target arm&lt;BR /&gt;Executing(%build): /bin/sh -e /home/mxc/ltib/tmp/rpm-tmp.30662&lt;BR /&gt;+ umask 022&lt;BR /&gt;+ cd /home/mxc/ltib/rpm/BUILD&lt;BR /&gt;+ cd pck_dir-1.0&lt;BR /&gt;+ make prefix=/usr&lt;BR /&gt;Makefile:36: *** missing separator. Stop.&lt;BR /&gt;error: Bad exit status from /home/mxc/ltib/tmp/rpm-tmp.30662 (%build)&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;RPM build errors:&lt;BR /&gt; Bad exit status from /home/mxc/ltib/tmp/rpm-tmp.30662 (%build)&lt;BR /&gt;Build time for pck_dir: 0 seconds&lt;/P&gt;&lt;P&gt;Failed building pck_dir&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;f_scbuild() returned an error, exiting&lt;BR /&gt;traceback:&lt;BR /&gt; main:560&lt;/P&gt;&lt;P&gt;Exiting on error or interrupt&lt;/P&gt;&lt;P&gt;-----------------------------------------------END DUMP--------------------------&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Ad.&lt;/P&gt;&lt;P&gt;-----------------------&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Original Attachment has been moved to: &lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-336482"&gt;291-pkc_dir.spec&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 27 Feb 2012 07:36:36 GMT</pubDate>
    <dc:creator>AdCmo</dc:creator>
    <dc:date>2012-02-27T07:36:36Z</dc:date>
    <item>
      <title>How to create an LTIB package</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-create-an-LTIB-package/m-p/215518#M13554</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;All,&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Are there any better instructions on how to create an LTIB package?&lt;/P&gt;&lt;P&gt;I tried following "helloworld" package and these instructions:&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.bitshrine.org%2Fautodocs%2FLtibFaq.html%23ref_89" rel="nofollow" target="_blank"&gt;http://www.bitshrine.org/autodocs/LtibFaq.html#ref_89&lt;/A&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But I am still having issues with the package not building.&lt;/P&gt;&lt;P&gt;I have a package with contents like this:&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;pck_dir&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;+--fileA.c&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;+--fileA.h&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;+---tests&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;+---- file1.c&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;+----file2.c&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; +--hdrs&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;+----fileX.h&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;+----fileZ.h&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have attached my spec file and my makefile.&lt;/P&gt;&lt;P&gt;They don't seem to work, I get the error below.&lt;/P&gt;&lt;P&gt;Please let me know if you have done this successfully before.&lt;/P&gt;&lt;P&gt;I had given up on LTIB and using the ordinary make files, but I would like&lt;/P&gt;&lt;P&gt;to get my package working with LTIB.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-----------------------------------------------BEGIN DUMP--------------------------&lt;/P&gt;&lt;P&gt;:~/mxc/ltib$ ./ltib -m scbuild -p pck_dir.spec&lt;/P&gt;&lt;P&gt;Processing: pck_dir&lt;BR /&gt;=========================&lt;BR /&gt;Build path taken because: directory build, build key set, no prebuilt rpm,&lt;/P&gt;&lt;P&gt;rpmbuild --dbpath /home/mxc/ltib/rootfs//var/lib/rpm --target arm --define '_unpackaged_files_terminate_build 0' --define '_target_cpu arm' --define '__strip strip' --define '_topdir /home/mxc/ltib/rpm' --define '_prefix /usr' --define '_tmppath /home/mxc/ltib/tmp' --define '_rpmdir /home/mxc/ltib/rpm/RPMS' --define '_mandir /usr/share/man' --define '_sysconfdir /etc' --define '_localstatedir /var' -bc --short-circuit /home/mxc/ltib/dist/lfs-5.1/pck_dir/pck_dir.spec&lt;BR /&gt;Building target platforms: arm&lt;BR /&gt;Building for target arm&lt;BR /&gt;Executing(%build): /bin/sh -e /home/mxc/ltib/tmp/rpm-tmp.30662&lt;BR /&gt;+ umask 022&lt;BR /&gt;+ cd /home/mxc/ltib/rpm/BUILD&lt;BR /&gt;+ cd pck_dir-1.0&lt;BR /&gt;+ make prefix=/usr&lt;BR /&gt;Makefile:36: *** missing separator. Stop.&lt;BR /&gt;error: Bad exit status from /home/mxc/ltib/tmp/rpm-tmp.30662 (%build)&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;RPM build errors:&lt;BR /&gt; Bad exit status from /home/mxc/ltib/tmp/rpm-tmp.30662 (%build)&lt;BR /&gt;Build time for pck_dir: 0 seconds&lt;/P&gt;&lt;P&gt;Failed building pck_dir&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;f_scbuild() returned an error, exiting&lt;BR /&gt;traceback:&lt;BR /&gt; main:560&lt;/P&gt;&lt;P&gt;Exiting on error or interrupt&lt;/P&gt;&lt;P&gt;-----------------------------------------------END DUMP--------------------------&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Ad.&lt;/P&gt;&lt;P&gt;-----------------------&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Original Attachment has been moved to: &lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-336482"&gt;291-pkc_dir.spec&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Feb 2012 07:36:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-create-an-LTIB-package/m-p/215518#M13554</guid>
      <dc:creator>AdCmo</dc:creator>
      <dc:date>2012-02-27T07:36:36Z</dc:date>
    </item>
  </channel>
</rss>

