diff options
author | Chris Packham <judge.packham@gmail.com> | 2025-02-04 08:55:36 +1300 |
---|---|---|
committer | Chris Packham <judge.packham@gmail.com> | 2025-02-05 13:45:33 +1300 |
commit | 70c2b00ad79a0a21a48e5a0eedc9f91c374af21d (patch) | |
tree | 2da447e1448bcfef3977121e55af383600826ee8 | |
parent | 937e5cda7db9832ebbe0b5b8f53e0d99fca7e6e9 (diff) | |
download | crosstool-ng-70c2b00ad79a0a21a48e5a0eedc9f91c374af21d.tar.gz crosstool-ng-70c2b00ad79a0a21a48e5a0eedc9f91c374af21d.tar.bz2 crosstool-ng-70c2b00ad79a0a21a48e5a0eedc9f91c374af21d.zip |
arch: nios2: Qualify selects
Previous commits added selects so that the nios2 architecture only used
GDB/GLIBC versions that still support it however these weren't qualified
leading to kconfig complaints such as
WARNING: unmet direct dependencies detected for GLIBC_REQUIRE_older_than_2_41
Depends on [n]: LIBC_GLIBC_SHOW [=n]
Selected by [y]:
- ARCH_NIOS2 [=y] && GEN_CHOICE_ARCH [=y]
Qualify these selects with if DEBUG_GDB and if LIBC_GLIBC to stop the
complaints.
Fixes: 9d91cebe ("gdb: Add 16.1")
Fixes: 87605d65 ("glibc: Add 2.41")
Signed-off-by: Chris Packham <judge.packham@gmail.com>
-rw-r--r-- | config/arch/nios2.in | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/config/arch/nios2.in b/config/arch/nios2.in index 5d592db0..d22a2650 100644 --- a/config/arch/nios2.in +++ b/config/arch/nios2.in @@ -8,8 +8,8 @@ ## select ARCH_SUPPORTS_WITH_ARCH ## select ARCH_SUPPORTS_FLAT_FORMAT ## select GCC_REQUIRE_older_than_15 -## select GDB_REQUIRE_older_than_16 -## select GLIBC_REQUIRE_older_than_2_41 +## select GDB_REQUIRE_older_than_16 if DEBUG_GDB +## select GLIBC_REQUIRE_older_than_2_41 if LIBC_GLIBC ## ## help The NIOS2 architecture, as defined by: ## help http://www.altera.com |