Age | Commit message (Collapse) | Author | Files |
|
appropriate libarary and include directories for exapt to the
makefile.
NOTE: This still doesn't work since it tries to use the host headers
when linking to perl. Fixing this properly will need "perl" to be
installed in the staging area (currently we stage perl-native only).
|
|
* Modify perl to install a copy of it's configuration during staging. This
will allow us to get at the perl settings for the target when building
cpan modules.
* Modify perl-native to allow selection of the host or target configuration
based on an environment variable. This will allow the cpan class to select
the appropriate configuration based on if we are building the native
package or not.
* Modify cpan.bbclass to set the environment variable to an appropriate
value to tell perl native to select the appropriate settings based on if
we are building native or target modules.
This change fixes some modules that were compiled for the host instead of
the target (libversion-perl for example) and fixes up some of cpan modules
that include additional subdirectories with their own makefiles.
|
|
files for perl modules built using cpan will end up in different places
depending on which version of perl they are being built with. Modules that
explicitly set various FILES_ values were using the paths that are only
valid for the older versions of perl. Calculate and set the correct path in
cpan.bbclass and use that in the FILES_ variables so that it'll be correct
for all versions of perl.
|
|
|
|
* don't install packlists - we don't need them and it saves space (debian
patch)
* don't split POSIX module over perl and perl-arch dirs (debian patch)
* add a -doc package and put all the random documentation and examples from
the perl tree in it.
* include all the .pod's from over the tree in the .pod package
* include the .e2x files in the encode package
|
|
match the debian configuration. It moves these configuration files to /etc/
to allow for read only /usr installations.
|
|
dependency file itself to make the main recipe a bit more readable. Also
move the two dependencies that were manually added to the the dependenecy
list file and fix use RDEPENDS instead of DEPENDS.
|
|
installed on the target with those that are suitable for the target. This
has no effect on actually using perl but would have an effect on trying to
build perl modules on the target.
|
|
style FHS compliant layout rather then OE specific layout that was being
used previously. Note that cpan perl modules build under OE won't work with
this because they expect the 5.8.7 type layout (this will be fixed later.)
|
|
common file to make it easier to edit the common settings. A few settings
were changed to help make the configurations closer.
|
|
.inc file and include it in the two recipes that need the list.
|
|
testing is done.
Main differences from the 5.8.7 recipe are:
* Always use gcc to link. Same arch's require this, while others can
happily use ld. Use gcc for everything.
* Fix threading issues by enabling threading in both perl-native and
perl. In fact make the configurations almost identical.
* No per ARCH configuration, just 32/64/le/be configs. This should
stop configurations differing between arch's which made fixing
things 5.8.7 difficult. Also means new ARCH's should work without
any changes.
* Fix up the way miniperl is handled so it shouldn't be the cause of
problems for people anymore.
* Stop perl-modules depending on perl-dbg, perl-pod, perl-dev etc.
* In theory should work for MACHINE="native" now.
Only tested for an sh4/glibc target built on an x86_64 host so far. A
lot more testing and more cleanups are needed before this is ready to
be enabled by default. NOTE: You must build the matching version of
perl-native before attempting to build perl (that applies for any
version).
|
|
build perl
|
|
only really useful for this version of perl the way it's written.
|
|
using PIC for compiling shared libraries.
|
|
patches out of the common directory and only specify common files in
the SRC_URI in perl.inc, move the others to the version specific
.bb's.
|
|
wiping out the options that were set for sh3/sh4 - we only need to init the
OPTIONS once.
|
|
|
|
targets.
Thanks to Jamie Lenahan for the help
|
|
configures and compiles, but still doesn't install.
|
|
|
|
for powerpc targets
|
|
|
|
|
|
it.
|
|
mailing list. There should be no functionality changes yet.
|
|
|
|
names the actual module instead of using python. Should help with the
current parse errors that is apparently occurring with new versions of
bitbake. The python version was helpful when messing with lots of these
things but serves no purpose now.
|
|
|
|
|
|
|
|
- the function has obviously been forgotten to add for version 1.16
|
|
|
|
see email thread at http://lists.openembedded.org/pipermail/openembedded-devel/2006-October/000523.html for details
|
|
currently including it.
|
|
the version so upgrades are easier.
|
|
|
|
dependency listed twice.
|
|
package name to require from the name of the native package. This
makes all native files identical which makes adding new ones easier.
|
|
requires.
|
|
perl6 style junction operators in perl5.
|
|
based, implementation of Math::BigInt.
|
|
RDEPENDS.
|
|
modules which are not picked up by the script which was used to
generate the automatic dependencies. They way they are used makes it
difficult to automatically detect that these are needed.
|
|
check for threading availability.
Since perl-native is used to compile modules, and perl-native is
built with threading enabled, any modules that check for threading
think that it's available. However when you attempt to use the module
on the target it complains about missing symbols (those related to
threading).
The two options to fix this are to enable threading in perl or to
disable it in perl-native. I've tested the later and will use that
since I have some modules that required threading.
This change is still needed for all the other targets.
|
|
cpan.bbclass were being linked using ld instead of gcc, which often
breaks on sh. Override the LD settings so any cpan modules that
compile c/c++ code use gcc to link. Bump the PR on the effected
modules.
|
|
the output message from grep. The output message could change
depending on the LOCALE which would break the current test. Make it
DEPEND on grep-native to ensure we get the gnu version of grep which
is needed for -I to work. As per bug #1439.
|
|
per #1439, so that configure doesn't fail if you happen to end up with this
string in the perl-native binary.
|
|
libraries used by standard perl modules. This was picking up LD from OE
which as the linking when we need to use gcc to link. Override LD when
calling oe_make to force the use of gcc to link.
|
|
DEPENDS when building anything apart from libmodule-build-perl or
libmodule-build-perl-native. When building itself it uses itself to provide
the libmodule-build-perl code, for anything else it needs to have been built
and installed. Remove the explicit depends from the modules that use it.
|