summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/flex/flex/disable-tests.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/flex/flex/disable-tests.patch')
-rw-r--r--meta/recipes-devtools/flex/flex/disable-tests.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/meta/recipes-devtools/flex/flex/disable-tests.patch b/meta/recipes-devtools/flex/flex/disable-tests.patch
new file mode 100644
index 0000000000..4dc801d72c
--- /dev/null
+++ b/meta/recipes-devtools/flex/flex/disable-tests.patch
@@ -0,0 +1,19 @@
1Due to automake stupidity the Makefile in tests/ has an 'all' target that
2depends on $(BUILD_SOURCES), which means when building flex parts of the test
3suite are built even if they're not needed, resulting in flex needing
4flex-native and bison-native to build.
5
6This patch removes the tests directory from SUBDIRS and will be conditionally
7applied by the recipe.
8
9Upstream-Status: Inappropriate
10Signed-off-by: Ross Burton <ross.burton@intel.com>
11
12diff --git a/Makefile.am b/Makefile.am
13index 076ccad..0574d7b 100644
14--- a/Makefile.am
15+++ b/Makefile.am
16@@ -55,3 +55,2 @@ SUBDIRS = \
17 po \
18- tests \
19 tools