diff options
author | Alexander Kanavin <alex.kanavin@gmail.com> | 2021-06-04 11:14:53 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-06-06 23:16:51 +0100 |
commit | 53cf53147fbd8fc6cb870e50572210672d5dbf19 (patch) | |
tree | 8a59b937af1413ebdd13af3cd534f936bc153076 /meta/recipes-devtools/perl-cross/files/README.md | |
parent | d39cef3f8263334b8b9ff1b531fd5e963dfe715b (diff) | |
download | poky-53cf53147fbd8fc6cb870e50572210672d5dbf19.tar.gz |
perl: split perl-cross into its own recipe
As perl and perl-cross need to be updated (and patches rebased)
in lockstep, devtool upgrade (and therefore AUH) can't cope with it.
Manually updating is still possible, but painful.
Split determinism.patch into perl and perl-cross parts, move the
rest of the perl-cross patches.
(From OE-Core rev: 60dcb230f65fb1a0f23341c379676f82213d6240)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/perl-cross/files/README.md')
-rw-r--r-- | meta/recipes-devtools/perl-cross/files/README.md | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/meta/recipes-devtools/perl-cross/files/README.md b/meta/recipes-devtools/perl-cross/files/README.md new file mode 100644 index 0000000000..93217245c8 --- /dev/null +++ b/meta/recipes-devtools/perl-cross/files/README.md | |||
@@ -0,0 +1,29 @@ | |||
1 | **perl-cross** provides configure script, top-level Makefile | ||
2 | and some auxiliary files for [perl](http://www.perl.org), | ||
3 | with the primary emphasis on cross-compiling the source. | ||
4 | |||
5 | # Get perl and perl-cross sources | ||
6 | curl -L -O http://www.cpan.org/src/5.0/perl-5.24.1.tar.gz | ||
7 | curl -L -O https://github.com/arsv/perl-cross/releases/download/1.1.3/perl-cross-1.1.3.tar.gz | ||
8 | |||
9 | # Unpack perl-cross over perl, overwriting Makefile | ||
10 | tar -zxf perl-5.24.1.tar.gz | ||
11 | cd perl-5.24.1 | ||
12 | tar --strip-components=1 -zxf ../perl-cross-1.1.3.tar.gz | ||
13 | |||
14 | # Proceed as usual with most autoconfed packages | ||
15 | ./configure --target=arm-linux-gnueabi --prefix=/usr -Duseshrplib | ||
16 | make -j4 | ||
17 | make DESTDIR=/path/to/staging/dir install | ||
18 | |||
19 | Unlike mainline Perl, this configure never runs any target executables, | ||
20 | relying solely on compile/link tests and pre-defined hints. | ||
21 | On the flip side, it is only meant to run on resonably sane modern unix systems. | ||
22 | |||
23 | Check [project pages](http://arsv.github.io/perl-cross/) for more info. | ||
24 | In particular, [configure usage](http://arsv.github.io/perl-cross/usage.html) | ||
25 | lists available configure options. | ||
26 | |||
27 | Perl-cross is a free software licensed under the same terms | ||
28 | as the original perl source. | ||
29 | See LICENSE, Copying and Artistic files. | ||