From 66dd4d3abb708376fbfbf37cab1ef1f2dee2049b Mon Sep 17 00:00:00 2001 From: Jérémy Rosen Date: Wed, 7 Sep 2016 11:08:48 +0200 Subject: rpm: manually cleanup sysck MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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. (From OE-Core rev: 6c9f61233f64356291a0c42761a833f3b151114c) Signed-off-by: Jérémy Rosen Signed-off-by: Ross Burton Signed-off-by: Richard Purdie Signed-off-by: Armin Kuster --- meta/recipes-devtools/rpm/rpm_5.4.16.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-devtools/rpm/rpm_5.4.16.bb b/meta/recipes-devtools/rpm/rpm_5.4.16.bb index 2ffb3aa5cd..71ebace730 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 -- cgit 1.2.3-korg