[meta-freescale] do_package (arm-poky-linux-gnueabi-objcopy) fails
Luke Schwoebel
lukeschwoebel at gmail.com
Wed Nov 20 10:51:28 PST 2013
autotools didn't do it for me, the problem did not seem to be the
compiling and installation but the packaging.
I found the solution at the yocto-mailing-list to disable stripping:
http://www.mail-archive.com/yocto@yoctoproject.org/msg15615.html
>> If you want the binaries not to be stripped, try
>> adding INHIBIT_PACKAGE_STRIP = "1" to valgrind recipe.
>> This will disable stripping the binaries as you have mentioned.
Furthermore I added the ${libdir} to the FILES_${PN} variable, and
that seemed to work.
Here's my working recipe file:
DESCRIPTION = "A C/C++ library to aid the use of Digi XBee radios in API mode."
SECTION = "base"
HOMEPAGE = "http://code.google.com/p/libxbee/"
LICENSE = "LGPLv3"
LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
SRC_URI = "git://github.com/attie/libxbee3.git;protocol=git"
SRCREV = "aad1fce3864eccc80a003b3b93010e6f56bb87dd"
S = "${WORKDIR}/git/"
PR = "r1"
INHIBIT_PACKAGE_STRIP = "1"
FILES_${PN} += "${libdir}/"
do_configure() {
echo ${libdir}
oe_runmake configure
}
do_compile() {
oe_runmake all
}
do_install () {
mkdir -p ${D}/usr/share/man/man3
oe_runmake install SYS_ROOT=${D}
}
On Wed, Nov 20, 2013 at 4:09 AM, Otavio Salvador
<otavio at ossystems.com.br> wrote:
> On Tue, Nov 19, 2013 at 3:37 PM, Luke Schwoebel <lukeschwoebel at gmail.com> wrote:
>> Good Morning,
>>
>> on trying to compile a custom make-file-based package ("libxbee"), I
>> get an error while the do_package routine is running. My board is iMX6
>> wandboard-quad and I am using the dora-branch.
>
> Use:
>
> inheirt autotools
>
> EXTRA_OEMAKE += "SYS_ROOT=${D}"
>
> it should do the trick.
>
> --
> Otavio Salvador O.S. Systems
> http://www.ossystems.com.br http://code.ossystems.com.br
> Mobile: +55 (53) 9981-7854 Mobile: +1 (347) 903-9750
More information about the meta-freescale
mailing list