summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2024-02-01 23:49:50 +0000
committerSam James <sam@gentoo.org>2024-02-01 23:52:31 +0000
commit5f3f5035fe716de45c0e0c42e26e2df5528a5b05 (patch)
tree153ac74a1b769c8ca234de478164d027023e5378 /eclass
parentkernel-2.eclass: require real bison & flex (diff)
downloadgentoo-5f3f5035fe716de45c0e0c42e26e2df5528a5b05.tar.gz
gentoo-5f3f5035fe716de45c0e0c42e26e2df5528a5b05.tar.bz2
gentoo-5f3f5035fe716de45c0e0c42e26e2df5528a5b05.zip
kernel-build.eclass: require real bison & flex
This reverts commit 486f12612d840bf4efbd324afdab59a98dd27fce. Note that it appears to have been wrong for yacc for quite a while, as we previously depended on virtual/yacc, even though the kernel looks for bison... GNU Bison is at least needed, unclear about flex vs reflex, but let's say flex for now as the kernel docs say it (most of the time, reflex does work in place of flex, but not checked so let's be safe). Closes: https://bugs.gentoo.org/922823 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'eclass')
-rw-r--r--eclass/kernel-build.eclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/eclass/kernel-build.eclass b/eclass/kernel-build.eclass
index 841981a6ad45..14a6002ea5b5 100644
--- a/eclass/kernel-build.eclass
+++ b/eclass/kernel-build.eclass
@@ -39,9 +39,9 @@ BDEPEND="
${PYTHON_DEPS}
app-alternatives/cpio
app-alternatives/bc
- app-alternatives/lex
+ sys-devel/bison
+ sys-devel/flex
virtual/libelf
- app-alternatives/yacc
arm? ( sys-apps/dtc )
arm64? ( sys-apps/dtc )
riscv? ( sys-apps/dtc )