From 202c7c170f6b4ac10a0a218b321aa3ab196fa0a7 Mon Sep 17 00:00:00 2001 From: Michael Olbrich Date: Fri, 12 Jul 2019 12:58:28 +0200 Subject: Kconfig: use generated section for host tools This way we don't need to add the needed includes manually. Signed-off-by: Michael Olbrich --- Kconfig | 22 +++++----------------- rules/host-cloog.in | 2 ++ rules/host-expat.in | 2 ++ rules/host-fake-makeinfo.in | 2 ++ rules/host-gmp.in | 2 ++ rules/host-gobject-introspection.in | 3 +++ rules/host-isl.in | 2 ++ rules/host-libelf.in | 2 ++ rules/host-mpc.in | 2 ++ rules/host-mpfr.in | 2 ++ rules/host-xz.in | 2 ++ rules/host-zlib.in | 2 ++ 12 files changed, 28 insertions(+), 17 deletions(-) create mode 100644 rules/host-gobject-introspection.in diff --git a/Kconfig b/Kconfig index 5dcff3d..35189c2 100644 --- a/Kconfig +++ b/Kconfig @@ -19,6 +19,8 @@ config NO_PLATFORM bool default y +config VIRTUAL + bool config PROJECT string @@ -68,23 +70,9 @@ source "workspace/rules/cross-clang.in" source "workspace/rules/cross-gdb.in" source "workspace/rules/cross-toolchain.in" source "workspace/rules/host-fake-makeinfo.in" -source "workspace/rules/host-cloog.in" -source "workspace/rules/host-expat.in" -source "workspace/rules/host-gmp.in" -source "workspace/rules/host-isl.in" -source "workspace/rules/host-mpc.in" -source "workspace/rules/host-mpfr.in" -source "workspace/rules/host-xz.in" -source "workspace/rules/host-zlib.in" -source "workspace/rules/host-libelf.in" -source "rules/host-autotools-autoconf.in" -source "rules/host-autotools-automake.in" -source "rules/host-cmake.in" -source "rules/host-chrpath.in" -source "rules/host-m4.in" -source "rules/host-ninja.in" -source "rules/host-system-perl.in" -source "rules/host-system-python3.in" + +source "generated/hosttools_noprompt.in" +source "generated/hosttools_noprompt_ptx.in" comment "----------------------------------" diff --git a/rules/host-cloog.in b/rules/host-cloog.in index f7b03f6..22993cc 100644 --- a/rules/host-cloog.in +++ b/rules/host-cloog.in @@ -1,3 +1,5 @@ +## SECTION=hosttools_noprompt + config HOST_CLOOG select HOST_ISL bool diff --git a/rules/host-expat.in b/rules/host-expat.in index c8d4305..9f4bf0a 100644 --- a/rules/host-expat.in +++ b/rules/host-expat.in @@ -1,2 +1,4 @@ +## SECTION=hosttools_noprompt + config HOST_EXPAT bool diff --git a/rules/host-fake-makeinfo.in b/rules/host-fake-makeinfo.in index 55c4d8f..f5b78c6 100644 --- a/rules/host-fake-makeinfo.in +++ b/rules/host-fake-makeinfo.in @@ -1,2 +1,4 @@ +## SECTION=hosttools_noprompt + config HOST_FAKE_MAKEINFO bool diff --git a/rules/host-gmp.in b/rules/host-gmp.in index d81ff47..73c0aae 100644 --- a/rules/host-gmp.in +++ b/rules/host-gmp.in @@ -1,2 +1,4 @@ +## SECTION=hosttools_noprompt + config HOST_GMP bool diff --git a/rules/host-gobject-introspection.in b/rules/host-gobject-introspection.in new file mode 100644 index 0000000..ea0a0c6 --- /dev/null +++ b/rules/host-gobject-introspection.in @@ -0,0 +1,3 @@ +## SECTION=hosttools_noprompt_ptx + +# this file is left intentionally blank diff --git a/rules/host-isl.in b/rules/host-isl.in index 0c25e63..b0572a1 100644 --- a/rules/host-isl.in +++ b/rules/host-isl.in @@ -1,3 +1,5 @@ +## SECTION=hosttools_noprompt + config HOST_ISL bool select HOST_GMP diff --git a/rules/host-libelf.in b/rules/host-libelf.in index a6bc8ee..eab1ae9 100644 --- a/rules/host-libelf.in +++ b/rules/host-libelf.in @@ -1,3 +1,5 @@ +## SECTION=hosttools_noprompt + config HOST_LIBELF bool select HOST_ZLIB diff --git a/rules/host-mpc.in b/rules/host-mpc.in index 75bd349..2564d09 100644 --- a/rules/host-mpc.in +++ b/rules/host-mpc.in @@ -1,3 +1,5 @@ +## SECTION=hosttools_noprompt + config HOST_MPC bool select HOST_GMP diff --git a/rules/host-mpfr.in b/rules/host-mpfr.in index a27707d..4887ba4 100644 --- a/rules/host-mpfr.in +++ b/rules/host-mpfr.in @@ -1,3 +1,5 @@ +## SECTION=hosttools_noprompt + config HOST_MPFR select HOST_GMP bool diff --git a/rules/host-xz.in b/rules/host-xz.in index b067b6b..d643811 100644 --- a/rules/host-xz.in +++ b/rules/host-xz.in @@ -1,2 +1,4 @@ +## SECTION=hosttools_noprompt + config HOST_XZ bool diff --git a/rules/host-zlib.in b/rules/host-zlib.in index c203900..4b85138 100644 --- a/rules/host-zlib.in +++ b/rules/host-zlib.in @@ -1,2 +1,4 @@ +## SECTION=hosttools_noprompt + config HOST_ZLIB bool -- cgit v1.2.3