diff options
author | Richard Purdie <rpurdie@linux.intel.com> | 2010-08-27 15:14:24 +0100 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2010-08-27 15:29:45 +0100 |
commit | 29d6678fd546377459ef75cf54abeef5b969b5cf (patch) | |
tree | 8edd65790e37a00d01c3f203f773fe4b5012db18 /meta/packages/perl/perl-5.8.8/Makefile.patch | |
parent | da49de6885ee1bc424e70bc02f21f6ab920efb55 (diff) | |
download | poky-29d6678fd546377459ef75cf54abeef5b969b5cf.tar.gz |
Major layout change to the packages directory
Having one monolithic packages directory makes it hard to find things
and is generally overwhelming. This commit splits it into several
logical sections roughly based on function, recipes.txt gives more
information about the classifications used.
The opportunity is also used to switch from "packages" to "recipes"
as used in OpenEmbedded as the term "packages" can be confusing to
people and has many different meanings.
Not all recipes have been classified yet, this is just a first pass
at separating things out. Some packages are moved to meta-extras as
they're no longer actively used or maintained.
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta/packages/perl/perl-5.8.8/Makefile.patch')
-rw-r--r-- | meta/packages/perl/perl-5.8.8/Makefile.patch | 61 |
1 files changed, 0 insertions, 61 deletions
diff --git a/meta/packages/perl/perl-5.8.8/Makefile.patch b/meta/packages/perl/perl-5.8.8/Makefile.patch deleted file mode 100644 index ed494b3287..0000000000 --- a/meta/packages/perl/perl-5.8.8/Makefile.patch +++ /dev/null | |||
@@ -1,61 +0,0 @@ | |||
1 | Index: perl-5.8.8/Cross/Makefile | ||
2 | =================================================================== | ||
3 | --- perl-5.8.8.orig/Cross/Makefile 2004-01-12 21:44:01.000000000 +0100 | ||
4 | +++ perl-5.8.8/Cross/Makefile 2007-08-15 00:15:18.000000000 +0200 | ||
5 | @@ -2,7 +2,8 @@ | ||
6 | # | ||
7 | ## $Id: Makefile,v 1.7 2004/01/12 15:41:02 red Exp red $ | ||
8 | |||
9 | -export TOPDIR=${shell pwd} | ||
10 | +override TOPDIR=${shell pwd} | ||
11 | +export TOPDIR | ||
12 | include $(TOPDIR)/config | ||
13 | export CFLAGS | ||
14 | export SYS=$(ARCH)-$(OS) | ||
15 | @@ -12,7 +13,7 @@ | ||
16 | |||
17 | export CC = $(CROSS)gcc | ||
18 | export CXX = $(CROSS)g++ | ||
19 | -export LD = $(CROSS)ld | ||
20 | +export LD = $(CC) | ||
21 | export STRIP = $(CROSS)strip | ||
22 | export AR = $(CROSS)ar | ||
23 | export RANLIB = $(CROSS)ranlib | ||
24 | @@ -34,21 +35,6 @@ | ||
25 | all: | ||
26 | @echo Please read the README file before doing anything else. | ||
27 | |||
28 | -gen_patch: | ||
29 | - diff -Bbur ../Makefile.SH Makefile.SH > Makefile.SH.patch | ||
30 | - diff -Bbur ../installperl installperl > installperl.patch | ||
31 | - | ||
32 | -patch: | ||
33 | - cd .. ; if [ ! -e ./CROSS_PATCHED ] ; then \ | ||
34 | - patch -p1 < Cross/Makefile.SH.patch; \ | ||
35 | - patch -p1 < Cross/installperl.patch ; mv installperl installperl-patched; \ | ||
36 | - sed -e 's/XXSTRIPXX/$(SYS)/' installperl-patched > installperl; \ | ||
37 | - touch CROSS_PATCHED ; fi | ||
38 | - | ||
39 | -dry_patch: | ||
40 | - cd .. ; patch --dry-run -p1 < Cross/Makefile.SH.patch; \ | ||
41 | - patch --dry-run -p1 < Cross/installperl.patch; \ | ||
42 | - | ||
43 | perl: | ||
44 | @echo Perl cross-build directory is $(TOPDIR) | ||
45 | @echo Target arch is $(SYS) | ||
46 | @@ -58,11 +44,11 @@ | ||
47 | $(TOPDIR)/generate_config_sh config.sh-$(SYS) > $(TOPDIR)/../config.sh | ||
48 | cd $(TOPDIR)/.. ; ./Configure -S ; make depend ; make ; make more | ||
49 | cd $(TOPDIR)/.. ; mkdir -p fake_config_library ; cp lib/Config.pm fake_config_library | ||
50 | - cd $(TOPDIR)/.. ; $(MAKE) more2 "PERLRUN=/usr/bin/perl -I$(TOPDIR)/../fake_config_library -MConfig" | ||
51 | - cd $(TOPDIR)/.. ; $(MAKE) more3 "PERLRUN=/usr/bin/perl -I$(TOPDIR)/../fake_config_library -MConfig" | ||
52 | - cd $(TOPDIR)/.. ; $(MAKE) more4 "PERLRUN=/usr/bin/perl -I$(TOPDIR)/../fake_config_library -MConfig" | ||
53 | + cd $(TOPDIR)/.. ; $(MAKE) more2 "PERLRUN=hostperl -I$(TOPDIR)/../fake_config_library -MConfig" | ||
54 | + cd $(TOPDIR)/.. ; $(MAKE) more3 "PERLRUN=hostperl -I$(TOPDIR)/../fake_config_library -MConfig" | ||
55 | + cd $(TOPDIR)/.. ; $(MAKE) more4 "PERLRUN=hostperl -I$(TOPDIR)/../fake_config_library -MConfig" | ||
56 | cd $(TOPDIR)/.. ; rm -rf install_me_here | ||
57 | - cd $(TOPDIR)/.. ; make install-strip | ||
58 | +# cd $(TOPDIR)/.. ; make install-strip | ||
59 | cd $(TOPDIR)/.. ; sh -x Cross/warp | ||
60 | |||
61 | |||