aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/flex/flex/disable-tests.patch
blob: 4dc801d72c3bfebcadde7b3a202374881d1b5fec (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Due to automake stupidity the Makefile in tests/ has an 'all' target that
depends on $(BUILD_SOURCES), which means when building flex parts of the test
suite are built even if they're not needed, resulting in flex needing
flex-native and bison-native to build.

This patch removes the tests directory from SUBDIRS and will be conditionally
applied by the recipe.

Upstream-Status: Inappropriate
Signed-off-by: Ross Burton <ross.burton@intel.com>

diff --git a/Makefile.am b/Makefile.am
index 076ccad..0574d7b 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -55,3 +55,2 @@ SUBDIRS = \
 	po \
-	tests \
 	tools