From 34a3a4bf4b58ea7e63ff81eaf35963cbd4cf59b5 Mon Sep 17 00:00:00 2001 From: Ming Liu Date: Mon, 8 Jan 2018 06:52:07 +0100 Subject: qtbase: fix a regression A flaw was introduced by commit b8a236df: [ qt5: Fix cmake config files ] Removing ${S}/include must be done before configure script being called, but it's not in that case for qtbase-native recipe after the commit, that is saying, ${S}/include was removed after configure being called, which causes compiling issues for native build. Further more, the logic introduced by commit b8a236df should only apply to qtbase recipes, so they should be moved to qtbase recipes as well. Signed-off-by: Ming Liu Signed-off-by: Martin Jansa --- recipes-qt/qt5/qt5.inc | 7 ------- 1 file changed, 7 deletions(-) (limited to 'recipes-qt/qt5/qt5.inc') diff --git a/recipes-qt/qt5/qt5.inc b/recipes-qt/qt5/qt5.inc index 4b5fe8a8..95e3854c 100644 --- a/recipes-qt/qt5/qt5.inc +++ b/recipes-qt/qt5/qt5.inc @@ -35,13 +35,6 @@ python __anonymous() { d.setVar("PACKAGE_ARCH", tarch) } -# Regenerate header files when they are included in source tarball -# Otherwise cmake files don't set PRIVATE_HEADERS correctly -do_configure_prepend() { - rm -rf ${S}/include - mkdir -p ${S}/.git || true -} - # Many examples come with libraries installed outside of standard libdir, # suppress QA check complaining INSANE_SKIP_${PN}-dbg += "libdir" -- cgit v1.2.3