[yocto] recipe gsl-1.15

Edward Vidal vidal.develone at gmail.com
Thu May 9 09:50:08 PDT 2013


All,
The only place I saw ** License updated to GNU GPL version 3.  was in the
NEWS file.

I modified the recipe gsl_1.15.bb as follows
DESCRIPTION = "GNU Scientific Library (GSL)"
HOMEPAGE = "http://www.gnu.org/software/gsl/"

LICENSE = "GPLv3"
LIC_FILES_CHKSUM =
"file://NEWS;beginline=361;endline=362;md5=53ae5d8d6c3464f1ac8d1d7e72e3de6b"

SRC_URI = "http://mirror.rit.edu/gnu/gnu/gsl/gsl-${PV}.tar.gz"
SRC_URI[md5sum] = "494ffefd90eef4ada678c306bab4030b"
SRC_URI[sha256sum] =
"85b907e57902e2b7606ef3aef960302ffdd13bd9dc5b8fcbfa75e4f0bf340ea3"

S = "${WORKDIR}/gsl-${PV}"

inherit autotools

Now when I do the following:
MACHINE=beagleboard bitbake gsl
Loading cache: 100% |###########################################| ETA:
00:00:00
Loaded 1135 entries from dependency cache.
Parsing recipes: 100% |#########################################| Time:
00:00:00
Parsing of 825 .bb files complete (824 cached, 1 parsed). 1134 targets, 44
skipped, 0 masked, 0 errors.

Build Configuration:
BB_VERSION        = "1.19.0"
BUILD_SYS         = "x86_64-linux"
NATIVELSBSTRING   = "Fedora-18"
TARGET_SYS        = "arm-poky-linux-gnueabi"
MACHINE           = "beagleboard"
DISTRO            = "poky"
DISTRO_VERSION    = "1.3+snapshot-20130509"
TUNE_FEATURES     = "armv7a vfp neon"
TARGET_FPU        = "vfp-neon"
meta
meta-yocto
meta-yocto-bsp    = "master:84d45db4ddced96c736f106f8122eefadf925c41"

NOTE: Resolving any missing task queue dependencies
NOTE: Preparing runqueue
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
NOTE: Tasks Summary: Attempted 692 tasks of which 680 didn't need to be
rerun and all succeeded.

In /home/vidal/POKY/build050613/poky/build/tmp/deploy/rpm/armv7a_vfp_neon I
see the following RPMs
ls gsl*
gsl-1.15-r0.armv7a_vfp_neon.rpm      gsl-doc-1.15-r0.armv7a_vfp_neon.rpm
gsl-dbg-1.15-r0.armv7a_vfp_neon.rpm
gsl-staticdev-1.15-r0.armv7a_vfp_neon.rpm
gsl-dev-1.15-r0.armv7a_vfp_neon.rpm

My question do I have to install the RPMS manually or when I do bitbake
core-image-sato-sdk-ex will these become part of the
core-image-sato-sdk-ex-beagleboard-20130506115850.rootfs.tar.bz2 or do I
have do something else.

What is the procedure to make this part of the Yocto project.

Any and all help will be appreciated.
Thanks
Ed Vidal Jr.


On Thu, May 9, 2013 at 9:59 AM, Burton, Ross <ross.burton at intel.com> wrote:

> Hi,
>
> On 9 May 2013 16:48, Edward Vidal <vidal.develone at gmail.com> wrote:
> > I am trying to write the recipe to add gsl-1.15 to core-image-sato.
> >
> > First I did mdkir poky/meta/recipes-support/gsl
> >
> > Is this the correct location for this recipe?
>
> It's a perfectly valid location.  The recipes folders have no defined
> structure, you can arrange them as you want.
>
> [snip]
>
> > Any and all help will be appreciated.
>
> You didn't actually say what the problem is.  I presume it's the error
> you're getting about your license checksum.  Well, your md5sum command
> is checksumming the entire file, and your LIC_FILES_CHKSUM is
> checksumming a single line of the file, so I expect them to be
> different.
>
> Is the NEWS file the only place that says the license is GPLv3?  The
> NEWS file should change with every release, so it's better to use a
> top-level license file or a fragment from a source file instead.
>
> Ross
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20130509/53920ef0/attachment.html>


More information about the yocto mailing list