summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/recipes-extended/bzip2/bzip2-1.0.6/Makefile.am3
-rw-r--r--meta/recipes-extended/bzip2/bzip2_1.0.6.bb1
2 files changed, 2 insertions, 2 deletions
diff --git a/meta/recipes-extended/bzip2/bzip2-1.0.6/Makefile.am b/meta/recipes-extended/bzip2/bzip2-1.0.6/Makefile.am
index 05d389fc7d..dcf64584d9 100644
--- a/meta/recipes-extended/bzip2/bzip2-1.0.6/Makefile.am
+++ b/meta/recipes-extended/bzip2/bzip2-1.0.6/Makefile.am
@@ -48,7 +48,8 @@ runtest:
48 else echo "FAIL: sample3 decompress"; fi 48 else echo "FAIL: sample3 decompress"; fi
49 49
50install-ptest: 50install-ptest:
51 cp $(srcdir)/Makefile $(DESTDIR)/ 51 sed -n '/^runtest:/,/^install-ptest:/{/^install-ptest:/!p}' \
52 $(srcdir)/Makefile.am > $(DESTDIR)/Makefile
52 cp $(srcdir)/sample1.ref $(DESTDIR)/ 53 cp $(srcdir)/sample1.ref $(DESTDIR)/
53 cp $(srcdir)/sample2.ref $(DESTDIR)/ 54 cp $(srcdir)/sample2.ref $(DESTDIR)/
54 cp $(srcdir)/sample3.ref $(DESTDIR)/ 55 cp $(srcdir)/sample3.ref $(DESTDIR)/
diff --git a/meta/recipes-extended/bzip2/bzip2_1.0.6.bb b/meta/recipes-extended/bzip2/bzip2_1.0.6.bb
index 0512a75990..de668d6d2b 100644
--- a/meta/recipes-extended/bzip2/bzip2_1.0.6.bb
+++ b/meta/recipes-extended/bzip2/bzip2_1.0.6.bb
@@ -34,7 +34,6 @@ ALTERNATIVE_${PN} = "bunzip2 bzcat"
34EXTRA_OECONF_append_class-native = " --bindir=${STAGING_BINDIR_NATIVE}/${PN}" 34EXTRA_OECONF_append_class-native = " --bindir=${STAGING_BINDIR_NATIVE}/${PN}"
35 35
36do_install_ptest () { 36do_install_ptest () {
37 cp -f ${B}/Makefile ${D}${PTEST_PATH}/Makefile
38 sed -i -e "s|^Makefile:|_Makefile:|" ${D}${PTEST_PATH}/Makefile 37 sed -i -e "s|^Makefile:|_Makefile:|" ${D}${PTEST_PATH}/Makefile
39} 38}
40 39