diff options
author | Ross Burton <ross.burton@intel.com> | 2014-12-04 16:26:17 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-12-05 18:01:08 +0000 |
commit | 79309027771fd4b6efb8914f6e7347a9bc34221d (patch) | |
tree | 8044049e84b69e8cf5b75abb57d7153ee573614d /meta | |
parent | 9a79319f655e0d1557a2a56ee6651272c33171b3 (diff) | |
download | poky-79309027771fd4b6efb8914f6e7347a9bc34221d.tar.gz |
bzip2: use subdir SRC_URI param instead of adding tasks
Instead of adding new tasks to move files around, just use the subdir SRC_URI
parameter.
(From OE-Core rev: 3a4b24549dcab06b7b840d04eeab9b660c2ed473)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/recipes-extended/bzip2/bzip2_1.0.6.bb | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/meta/recipes-extended/bzip2/bzip2_1.0.6.bb b/meta/recipes-extended/bzip2/bzip2_1.0.6.bb index 9dd9e6a1f9..ed12277566 100644 --- a/meta/recipes-extended/bzip2/bzip2_1.0.6.bb +++ b/meta/recipes-extended/bzip2/bzip2_1.0.6.bb | |||
@@ -8,10 +8,10 @@ LICENSE = "bzip2" | |||
8 | LIC_FILES_CHKSUM = "file://LICENSE;beginline=8;endline=37;md5=40d9d1eb05736d1bfc86cfdd9106e6b2" | 8 | LIC_FILES_CHKSUM = "file://LICENSE;beginline=8;endline=37;md5=40d9d1eb05736d1bfc86cfdd9106e6b2" |
9 | PR = "r5" | 9 | PR = "r5" |
10 | 10 | ||
11 | SRC_URI = "http://www.bzip.org/${PV}/${BPN}-${PV}.tar.gz \ | 11 | SRC_URI = "http://www.bzip.org/${PV}/${BP}.tar.gz \ |
12 | file://configure.ac \ | 12 | file://configure.ac;subdir=${BP} \ |
13 | file://run-ptest \ | 13 | file://Makefile.am;subdir=${BP} \ |
14 | file://Makefile.am" | 14 | file://run-ptest" |
15 | 15 | ||
16 | SRC_URI[md5sum] = "00b516f4704d4a7cb50a1d97e6e8e15b" | 16 | SRC_URI[md5sum] = "00b516f4704d4a7cb50a1d97e6e8e15b" |
17 | SRC_URI[sha256sum] = "a2848f34fcd5d6cf47def00461fcb528a0484d8edef8208d6d2e2909dc61d9cd" | 17 | SRC_URI[sha256sum] = "a2848f34fcd5d6cf47def00461fcb528a0484d8edef8208d6d2e2909dc61d9cd" |
@@ -27,12 +27,6 @@ ALTERNATIVE_${PN} = "bunzip2 bzcat" | |||
27 | 27 | ||
28 | #install binaries to bzip2-native under sysroot for replacement-native | 28 | #install binaries to bzip2-native under sysroot for replacement-native |
29 | EXTRA_OECONF_append_class-native = " --bindir=${STAGING_BINDIR_NATIVE}/${PN}" | 29 | EXTRA_OECONF_append_class-native = " --bindir=${STAGING_BINDIR_NATIVE}/${PN}" |
30 | do_extraunpack () { | ||
31 | cp ${WORKDIR}/configure.ac ${S}/ | ||
32 | cp ${WORKDIR}/Makefile.am ${S}/ | ||
33 | } | ||
34 | |||
35 | addtask extraunpack after do_unpack before do_patch | ||
36 | 30 | ||
37 | do_install_ptest () { | 31 | do_install_ptest () { |
38 | cp -f ${B}/Makefile ${D}${PTEST_PATH}/Makefile | 32 | cp -f ${B}/Makefile ${D}${PTEST_PATH}/Makefile |