summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@arm.com>2025-03-26 12:11:49 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2025-03-27 11:19:04 +0000
commit760a61a7071fb0765763041f2f6fa22cf7039f31 (patch)
tree2f821d3d8560bc8205bee2eea4da0b03d580ca43
parent9863ffc50f56d466e15917dd31ce2c43e8bafede (diff)
downloadpoky-760a61a7071fb0765763041f2f6fa22cf7039f31.tar.gz
flex: remove obsolete disable-tests.patch
We added this because automake was causing things to be built, but now this doesn't seem to be the case: all: all-am all-am: Makefile $(SCRIPTS) SCRIPTS = $(dist_noinst_SCRIPTS) dist_noinst_SCRIPTS = tableopts.sh tableopts.sh is a source file that is both in the tarballs and git. Thus, remove the patch. (From OE-Core rev: 13e8a2831abcb9edd352fcdc6d1f3be0670b1242) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-devtools/flex/flex/disable-tests.patch19
-rw-r--r--meta/recipes-devtools/flex/flex_2.6.4.bb1
2 files changed, 0 insertions, 20 deletions
diff --git a/meta/recipes-devtools/flex/flex/disable-tests.patch b/meta/recipes-devtools/flex/flex/disable-tests.patch
deleted file mode 100644
index 4dc801d72c..0000000000
--- a/meta/recipes-devtools/flex/flex/disable-tests.patch
+++ /dev/null
@@ -1,19 +0,0 @@
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
diff --git a/meta/recipes-devtools/flex/flex_2.6.4.bb b/meta/recipes-devtools/flex/flex_2.6.4.bb
index 2236b2bc6a..434ce47c03 100644
--- a/meta/recipes-devtools/flex/flex_2.6.4.bb
+++ b/meta/recipes-devtools/flex/flex_2.6.4.bb
@@ -15,7 +15,6 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=e4742cf92e89040b39486a6219b68067 \
15SRC_URI = "${GITHUB_BASE_URI}/download/v${PV}/flex-${PV}.tar.gz \ 15SRC_URI = "${GITHUB_BASE_URI}/download/v${PV}/flex-${PV}.tar.gz \
16 file://run-ptest \ 16 file://run-ptest \
17 file://0001-tests-add-a-target-for-building-tests-without-runnin.patch \ 17 file://0001-tests-add-a-target-for-building-tests-without-runnin.patch \
18 ${@bb.utils.contains('PTEST_ENABLED', '1', '', 'file://disable-tests.patch', d)} \
19 file://0001-build-AC_USE_SYSTEM_EXTENSIONS-in-configure.ac.patch \ 18 file://0001-build-AC_USE_SYSTEM_EXTENSIONS-in-configure.ac.patch \
20 file://check-funcs.patch \ 19 file://check-funcs.patch \
21 file://0001-Emit-no-line-directives-if-gen_line_dirs-is-false.patch \ 20 file://0001-Emit-no-line-directives-if-gen_line_dirs-is-false.patch \