diff options
author | Mark Hatle <mhatle@windriver.com> | 2010-07-23 08:18:07 -0700 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2010-07-24 01:23:53 +0100 |
commit | 4f19548bfb5e9259eb0e38bbe3886f139d6b1f0a (patch) | |
tree | 0dccb8c6d15be0f60ce48f207bc5949993340519 /meta | |
parent | 5e3da1b94e20c878a77ce1a166a46e59b1ff9c08 (diff) | |
download | poky-4f19548bfb5e9259eb0e38bbe3886f139d6b1f0a.tar.gz |
prelink: Add prelink-native
Add the new cross prelink support as the prelink-native integration.
Set the prelinker to use the prelink-cross.git repository as the upstream.
Note: libiberty.a is required on the host at this time
Signed-off-by: Mark Hatle <mhatle@windriver.com>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/conf/distro/include/poky-default-revisions.inc | 2 | ||||
-rw-r--r-- | meta/packages/prelink/prelink_git.bb (renamed from meta/packages/prelink/prelink_20100106.bb) | 17 |
2 files changed, 13 insertions, 6 deletions
diff --git a/meta/conf/distro/include/poky-default-revisions.inc b/meta/conf/distro/include/poky-default-revisions.inc index d3d59274aa..44723a0a6d 100644 --- a/meta/conf/distro/include/poky-default-revisions.inc +++ b/meta/conf/distro/include/poky-default-revisions.inc | |||
@@ -104,6 +104,8 @@ SRCREV_pn-oprofileui ??= "197" | |||
104 | SRCREV_pn-osc-native ??= "9096" | 104 | SRCREV_pn-osc-native ??= "9096" |
105 | SRCREV_pn-owl-video ??= "394" | 105 | SRCREV_pn-owl-video ??= "394" |
106 | SRCREV_pn-pkgconfig ??= "66d49f1375fec838bcd301bb4ca2ef76cee0e47c" | 106 | SRCREV_pn-pkgconfig ??= "66d49f1375fec838bcd301bb4ca2ef76cee0e47c" |
107 | SRCREV_pn-prelink ??= "909470ee441237563d6236c505cb2d02ddc48704" | ||
108 | SRCREV_pn-prelink-native ??= "909470ee441237563d6236c505cb2d02ddc48704" | ||
107 | SRCREV_pn-psplash ??= "424" | 109 | SRCREV_pn-psplash ??= "424" |
108 | SRCREV_pn-pseudo ??= "973e40da8e5abb080cc0b9c9eaff4d84dea5b42c" | 110 | SRCREV_pn-pseudo ??= "973e40da8e5abb080cc0b9c9eaff4d84dea5b42c" |
109 | SRCREV_pn-pseudo-native ??= "973e40da8e5abb080cc0b9c9eaff4d84dea5b42c" | 111 | SRCREV_pn-pseudo-native ??= "973e40da8e5abb080cc0b9c9eaff4d84dea5b42c" |
diff --git a/meta/packages/prelink/prelink_20100106.bb b/meta/packages/prelink/prelink_git.bb index a84aaa267a..06078ed68b 100644 --- a/meta/packages/prelink/prelink_20100106.bb +++ b/meta/packages/prelink/prelink_git.bb | |||
@@ -1,12 +1,14 @@ | |||
1 | SECTION = "devel" | 1 | SECTION = "devel" |
2 | DEPENDS = "elfutils" | 2 | # Need binutils for libiberty.a |
3 | DEPENDS = "elfutils binutils" | ||
3 | DESCRIPTION = " The prelink package contains a utility which modifies ELF shared libraries \ | 4 | DESCRIPTION = " The prelink package contains a utility which modifies ELF shared libraries \ |
4 | and executables, so that far fewer relocations need to be resolved at \ | 5 | and executables, so that far fewer relocations need to be resolved at \ |
5 | runtime and thus programs come up faster." | 6 | runtime and thus programs come up faster." |
6 | LICENSE = "GPL" | 7 | LICENSE = "GPLv2" |
8 | PV = "1.0+git${SRCPV}" | ||
7 | PR = "r0" | 9 | PR = "r0" |
8 | 10 | ||
9 | SRC_URI = "http://people.redhat.com/jakub/prelink/prelink-${PV}.tar.bz2 \ | 11 | SRC_URI = "git://git.pokylinux.org/prelink-cross.git;protocol=git \ |
10 | file://prelink.conf \ | 12 | file://prelink.conf \ |
11 | file://prelink.cron.daily \ | 13 | file://prelink.cron.daily \ |
12 | file://prelink.default" | 14 | file://prelink.default" |
@@ -14,12 +16,15 @@ SRC_URI = "http://people.redhat.com/jakub/prelink/prelink-${PV}.tar.bz2 \ | |||
14 | TARGET_OS_ORIG := "${TARGET_OS}" | 16 | TARGET_OS_ORIG := "${TARGET_OS}" |
15 | OVERRIDES_append = ":${TARGET_OS_ORIG}" | 17 | OVERRIDES_append = ":${TARGET_OS_ORIG}" |
16 | 18 | ||
17 | S = "${WORKDIR}/prelink" | 19 | S = "${WORKDIR}/git/trunk" |
18 | |||
19 | EXTRA_OECONF = "--disable-64bit" | ||
20 | 20 | ||
21 | inherit autotools | 21 | inherit autotools |
22 | 22 | ||
23 | BBCLASSEXTEND = "native" | ||
24 | |||
25 | EXTRA_OECONF = "--disable-selinux --with-pkgversion=${PV}-${PR} \ | ||
26 | --with-bugurl=http://bugzilla.pokylinux.org/" | ||
27 | |||
23 | do_install_append () { | 28 | do_install_append () { |
24 | install -d ${D}${sysconfdir}/cron.daily ${D}${sysconfdir}/default | 29 | install -d ${D}${sysconfdir}/cron.daily ${D}${sysconfdir}/default |
25 | install -m 0644 ${WORKDIR}/prelink.conf ${D}${sysconfdir}/prelink.conf | 30 | install -m 0644 ${WORKDIR}/prelink.conf ${D}${sysconfdir}/prelink.conf |