summaryrefslogtreecommitdiff
path: root/meta/recipes-devtools/rpm/rpm_5.4.16.bb
diff options
context:
space:
mode:
authorJérémy Rosen <jeremy.rosen@smile.fr>2016-09-07 11:08:48 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-09-13 15:17:39 +0100
commit6c9f61233f64356291a0c42761a833f3b151114c (patch)
treec1be264fb50ea544397aee4bea81101c5c7c08ad /meta/recipes-devtools/rpm/rpm_5.4.16.bb
parent89f55bf8e9d633cfb508a0885a462afb561c7cee (diff)
downloadopenembedded-core-6c9f61233f64356291a0c42761a833f3b151114c.tar.gz
openembedded-core-6c9f61233f64356291a0c42761a833f3b151114c.tar.bz2
openembedded-core-6c9f61233f64356291a0c42761a833f3b151114c.zip
rpm: manually cleanup sysck
version 5.4.1 of rpm was not properly distclean before release, which causes problems when cross-compiling. The previous version this recipe called make distclean, but that would trigger a call to ./configure which would fail when no gcc is available and make the whole do_configure fail further down the line This patch manually removes the files from the recipe. Signed-off-by: Jérémy Rosen <jeremy.rosen@smile.fr> Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'meta/recipes-devtools/rpm/rpm_5.4.16.bb')
-rw-r--r--meta/recipes-devtools/rpm/rpm_5.4.16.bb2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-devtools/rpm/rpm_5.4.16.bb b/meta/recipes-devtools/rpm/rpm_5.4.16.bb
index 55acd25b1c..9f78deeea2 100644
--- a/meta/recipes-devtools/rpm/rpm_5.4.16.bb
+++ b/meta/recipes-devtools/rpm/rpm_5.4.16.bb
@@ -527,7 +527,7 @@ do_configure() {
sed -e 's/pkg-config --exists uuid/pkg-config --exists ossp-uuid/g' \
-e 's/pkg-config uuid/pkg-config ossp-uuid/g' -i ${S}/configure
- ( cd ${S}/syck ; set +e ; rm -- -l* ; make distclean ) || :
+ ( cd ${S}/syck ; set +e ; rm -- -l* ; rm Makefile config.h config.status lib/Makefile libtool stamp-h1 tests/.deps tests/Makefile ) || :
export varprefix=${localstatedir}
oe_runconf