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