package: remove BR2_nios2 symbol

Remaining "nios2" strings come from existing patches that
are not removed with along with BR2_nios2 symbol.

Signed-off-by: Romain Naour <romain.naour@smile.fr>
Signed-off-by: Julien Olivain <ju.o@free.fr>
This commit is contained in:
Romain Naour
2025-01-09 00:05:16 +01:00
committed by Julien Olivain
parent 3cc2fef0d2
commit 99bfbef093
37 changed files with 11 additions and 92 deletions

View File

@@ -268,7 +268,6 @@ package/android-tools/0009-Fix-makefiles-for-out-of-tree-ext4_utils-build.patch
package/android-tools/0010-adb-added-patch-for-openssl-1.1.0-compatibility.patch lib_patch.Upstream package/android-tools/0010-adb-added-patch-for-openssl-1.1.0-compatibility.patch lib_patch.Upstream
package/aoetools/0001-Change-shell-script-interpreter-from-bin-bash-to-bin.patch lib_patch.Upstream package/aoetools/0001-Change-shell-script-interpreter-from-bin-bash-to-bin.patch lib_patch.Upstream
package/apache/0001-cross-compile.patch lib_patch.Upstream package/apache/0001-cross-compile.patch lib_patch.Upstream
package/apache/0002-nios2_is_not_os2.patch lib_patch.Upstream
package/apache/S50apache Shellcheck lib_sysv.Indent lib_sysv.Variables package/apache/S50apache Shellcheck lib_sysv.Indent lib_sysv.Variables
package/apitrace/0001-thirdparty-libbacktrace-backtrace-h-include-config.h.patch lib_patch.Upstream package/apitrace/0001-thirdparty-libbacktrace-backtrace-h-include-config.h.patch lib_patch.Upstream
package/apitrace/0002-gltrace-Avoid-__libc_dlsym-and-__libc_dlopen_mode-on-GLIBC-2-34.patch lib_patch.Upstream package/apitrace/0002-gltrace-Avoid-__libc_dlsym-and-__libc_dlopen_mode-on-GLIBC-2-34.patch lib_patch.Upstream

View File

@@ -1,18 +0,0 @@
Fix nios2 detection.
Apache treats nios2 as OS/2.
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
diff -uNr httpd-2.4.12.org/configure.in httpd-2.4.12/configure.in
--- httpd-2.4.12.org/configure.in 2015-01-22 18:33:07.000000000 +0100
+++ httpd-2.4.12/configure.in 2015-04-02 22:01:32.851102219 +0200
@@ -268,7 +268,7 @@
AC_MSG_NOTICE([])
case $host in
- *os2*)
+ *-os2*)
# Use a custom made libtool replacement
echo "using aplibtool"
LIBTOOL="$abs_srcdir/srclib/apr/build/aplibtool"

View File

@@ -1,6 +1,5 @@
config BR2_PACKAGE_BINUTILS config BR2_PACKAGE_BINUTILS
bool "binutils" bool "binutils"
depends on !BR2_nios2
depends on BR2_USE_WCHAR depends on BR2_USE_WCHAR
select BR2_PACKAGE_ZLIB select BR2_PACKAGE_ZLIB
help help
@@ -22,5 +21,4 @@ config BR2_PACKAGE_BINUTILS_TARGET
endif endif
comment "binutils needs a toolchain w/ wchar" comment "binutils needs a toolchain w/ wchar"
depends on !BR2_nios2
depends on !BR2_USE_WCHAR depends on !BR2_USE_WCHAR

View File

@@ -1,6 +1,5 @@
config BR2_PACKAGE_BIRD config BR2_PACKAGE_BIRD
bool "bird" bool "bird"
depends on !BR2_nios2 # relocations don't fit
depends on BR2_USE_MMU # fork() depends on BR2_USE_MMU # fork()
help help
BIRD Internet Routing Daemon BIRD Internet Routing Daemon

View File

@@ -13,7 +13,6 @@ config BR2_PACKAGE_BPFTOOL
bool "bpftool" bool "bpftool"
depends on BR2_PACKAGE_BPFTOOL_ARCH_SUPPORTS depends on BR2_PACKAGE_BPFTOOL_ARCH_SUPPORTS
depends on BR2_TOOLCHAIN_HAS_SYNC_4 depends on BR2_TOOLCHAIN_HAS_SYNC_4
depends on !BR2_nios2 # binutils
depends on BR2_USE_WCHAR # binutils, elfutils depends on BR2_USE_WCHAR # binutils, elfutils
depends on !BR2_STATIC_LIBS # elfutils depends on !BR2_STATIC_LIBS # elfutils
depends on BR2_TOOLCHAIN_HAS_THREADS # elfutils depends on BR2_TOOLCHAIN_HAS_THREADS # elfutils
@@ -27,7 +26,6 @@ config BR2_PACKAGE_BPFTOOL
comment "bpftool needs a toolchain w/ wchar, dynamic library, threads, headers >= 4.12" comment "bpftool needs a toolchain w/ wchar, dynamic library, threads, headers >= 4.12"
depends on BR2_PACKAGE_BPFTOOL_ARCH_SUPPORTS depends on BR2_PACKAGE_BPFTOOL_ARCH_SUPPORTS
depends on BR2_TOOLCHAIN_HAS_SYNC_4 depends on BR2_TOOLCHAIN_HAS_SYNC_4
depends on !BR2_nios2
depends on !BR2_USE_WCHAR || BR2_STATIC_LIBS \ depends on !BR2_USE_WCHAR || BR2_STATIC_LIBS \
|| !BR2_TOOLCHAIN_HAS_THREADS \ || !BR2_TOOLCHAIN_HAS_THREADS \
|| !BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_12 || !BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_12

View File

@@ -20,7 +20,6 @@ config BR2_PACKAGE_DHCPCD_ENABLE_PRIVSEP
BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_2 BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_2
depends on !(BR2_microblazeel || BR2_microblazebe) || \ depends on !(BR2_microblazeel || BR2_microblazebe) || \
BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_18 BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_18
depends on !BR2_nios2 || BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_2
depends on !BR2_or1k || BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_7 depends on !BR2_or1k || BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_7
depends on !BR2_sh || BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_7 depends on !BR2_sh || BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_7
depends on !BR2_xtensa || BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_0 depends on !BR2_xtensa || BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_0

View File

@@ -46,7 +46,6 @@ comment "e2scrub needs bash, coreutils, lvm2, and util-linux"
config BR2_PACKAGE_E2FSPROGS_E4DEFRAG config BR2_PACKAGE_E2FSPROGS_E4DEFRAG
bool "e4defrag" bool "e4defrag"
depends on !BR2_nios2 # fallocate not implemented
help help
Online defragmenter for ext4 filesystem Online defragmenter for ext4 filesystem

View File

@@ -63,10 +63,6 @@ else
E2FSPROGS_CONF_OPTS += --disable-fuse2fs E2FSPROGS_CONF_OPTS += --disable-fuse2fs
endif endif
ifeq ($(BR2_nios2),y)
E2FSPROGS_CONF_ENV += ac_cv_func_fallocate=no
endif
# workaround gcc bug 111001 # workaround gcc bug 111001
ifeq ($(BR2_TOOLCHAIN_HAS_GCC_BUG_111001),y) ifeq ($(BR2_TOOLCHAIN_HAS_GCC_BUG_111001),y)
E2FSPROGS_CONF_ENV += CFLAGS="$(TARGET_CFLAGS) -Os" E2FSPROGS_CONF_ENV += CFLAGS="$(TARGET_CFLAGS) -Os"

View File

@@ -1,8 +1,6 @@
config BR2_PACKAGE_FFMPEG_ARCH_SUPPORTS config BR2_PACKAGE_FFMPEG_ARCH_SUPPORTS
bool bool
default y default y
# fenv.h lacks FE_INVALID, FE_OVERFLOW & FE_UNDERFLOW on nios2
depends on !BR2_nios2
# No support for ARMv7-M in the ARM assembly logic # No support for ARMv7-M in the ARM assembly logic
depends on !BR2_ARM_CPU_ARMV7M depends on !BR2_ARM_CPU_ARMV7M
# m68k coldfire causes a build failure, because the check for # m68k coldfire causes a build failure, because the check for

View File

@@ -5,9 +5,6 @@ config BR2_PACKAGE_FIO
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # C11/stdatomic.h depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # C11/stdatomic.h
depends on BR2_TOOLCHAIN_HAS_SYNC_4 depends on BR2_TOOLCHAIN_HAS_SYNC_4
depends on BR2_TOOLCHAIN_HAS_THREADS depends on BR2_TOOLCHAIN_HAS_THREADS
# fio uses fallocate() which becomes fallocate64() while compiling with
# largefile support, but fallocate64() is not available on nios2
depends on !BR2_nios2
help help
fio is an I/O tool meant to be used both for benchmark fio is an I/O tool meant to be used both for benchmark
and stress/hardware verification. and stress/hardware verification.
@@ -18,5 +15,4 @@ comment "fio needs a toolchain w/ dynamic library, threads, gcc >= 4.9"
depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS || \ depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS || \
!BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
depends on BR2_TOOLCHAIN_HAS_SYNC_4 depends on BR2_TOOLCHAIN_HAS_SYNC_4
depends on !BR2_nios2
depends on BR2_USE_MMU depends on BR2_USE_MMU

View File

@@ -7,11 +7,6 @@ comment "gtkmm3 needs libgtk3 and a toolchain w/ C++, wchar, threads, gcc >= 4.9
config BR2_PACKAGE_GTKMM3 config BR2_PACKAGE_GTKMM3
bool "gtkmm3" bool "gtkmm3"
# Broken on existing external/internal nios2 toolchains,
# revisit when they are upgraded with at least Binutils >= 2.26
# and GCC >= 5.3.
# https://sourceware.org/bugzilla/show_bug.cgi?id=19405
depends on !BR2_nios2
depends on BR2_TOOLCHAIN_HAS_SYNC_4 # pangomm, libgtk3 -> pango -> harfbuzz depends on BR2_TOOLCHAIN_HAS_SYNC_4 # pangomm, libgtk3 -> pango -> harfbuzz
depends on BR2_INSTALL_LIBSTDCPP # glibmm, libpangomm -> glibmm/pango depends on BR2_INSTALL_LIBSTDCPP # glibmm, libpangomm -> glibmm/pango
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # C++11 depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # C++11

View File

@@ -1,8 +1,6 @@
config BR2_PACKAGE_HAPROXY_ARCH_SUPPORTS config BR2_PACKAGE_HAPROXY_ARCH_SUPPORTS
bool bool
default y default y
# src/proto_http.c:6330:1: internal compiler error: Segmentation fault
depends on !BR2_nios2
# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60040 # https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60040
depends on !(BR2_sh4 && !BR2_TOOLCHAIN_GCC_AT_LEAST_7) depends on !(BR2_sh4 && !BR2_TOOLCHAIN_GCC_AT_LEAST_7)

View File

@@ -6,7 +6,6 @@ config BR2_PACKAGE_JEMALLOC_ARCH_SUPPORTS
default y if BR2_i386 || BR2_x86_64 default y if BR2_i386 || BR2_x86_64
default y if BR2_m68k default y if BR2_m68k
default y if BR2_mips || BR2_mipsel || BR2_mips64 || BR2_mips64el default y if BR2_mips || BR2_mipsel || BR2_mips64 || BR2_mips64el
default y if BR2_nios2
default y if BR2_or1k default y if BR2_or1k
default y if BR2_powerpc default y if BR2_powerpc
default y if BR2_riscv default y if BR2_riscv

View File

@@ -1,7 +1,5 @@
config BR2_PACKAGE_LIBCDAUDIO config BR2_PACKAGE_LIBCDAUDIO
bool "libcdaudio" bool "libcdaudio"
# binutils assertion failure
depends on !BR2_nios2
help help
libcdaudio is a library designed to provide functions to libcdaudio is a library designed to provide functions to
control operation of a CD-ROM when playing audio CDs. It control operation of a CD-ROM when playing audio CDs. It

View File

@@ -7,7 +7,7 @@ config BR2_PACKAGE_LIBGPG_ERROR_ARCH_SUPPORTS
BR2_i386 || BR2_mips || \ BR2_i386 || BR2_mips || \
BR2_mipsel || BR2_mips64 || \ BR2_mipsel || BR2_mips64 || \
BR2_mips64el || BR2_m68k || \ BR2_mips64el || BR2_m68k || \
BR2_nios2 || BR2_or1k || \ BR2_or1k || \
BR2_powerpc || BR2_powerpc64 || \ BR2_powerpc || BR2_powerpc64 || \
BR2_powerpc64le || BR2_RISCV_64 || \ BR2_powerpc64le || BR2_RISCV_64 || \
BR2_RISCV_32 || BR2_s390x || \ BR2_RISCV_32 || BR2_s390x || \
@@ -40,8 +40,6 @@ config BR2_PACKAGE_LIBGPG_ERROR_SYSCFG
if BR2_mips64 || BR2_mips64el if BR2_mips64 || BR2_mips64el
default "m68k-unknown-linux-gnu" \ default "m68k-unknown-linux-gnu" \
if BR2_m68k if BR2_m68k
default "nios2-unknown-linux-gnu" \
if BR2_nios2
default "or1k-unknown-linux-gnu" \ default "or1k-unknown-linux-gnu" \
if BR2_or1k if BR2_or1k
default "powerpc-unknown-linux-gnu" \ default "powerpc-unknown-linux-gnu" \

View File

@@ -3,7 +3,7 @@ config BR2_PACKAGE_LIBURCU_ARCH_SUPPORTS
default y default y
depends on BR2_arm || BR2_armeb || BR2_aarch64 || BR2_aarch64_be || \ depends on BR2_arm || BR2_armeb || BR2_aarch64 || BR2_aarch64_be || \
BR2_i386 || BR2_mips || BR2_mips64 || BR2_mipsel || \ BR2_i386 || BR2_mips || BR2_mips64 || BR2_mipsel || \
BR2_mips64el || BR2_nios2 || BR2_powerpc || BR2_powerpc64 || \ BR2_mips64el || BR2_powerpc || BR2_powerpc64 || \
BR2_powerpc64le || BR2_riscv || BR2_sparc64 || BR2_s390x || BR2_x86_64 BR2_powerpc64le || BR2_riscv || BR2_sparc64 || BR2_s390x || BR2_x86_64
depends on BR2_USE_MMU # fork() in test depends on BR2_USE_MMU # fork() in test

View File

@@ -1,8 +1,6 @@
config BR2_PACKAGE_LIBVNCSERVER config BR2_PACKAGE_LIBVNCSERVER
bool "libvncserver" bool "libvncserver"
depends on BR2_USE_MMU # VNCommand.c uses fork() depends on BR2_USE_MMU # VNCommand.c uses fork()
# binutils issue (bad expression)
depends on !BR2_nios2
depends on !BR2_STATIC_LIBS depends on !BR2_STATIC_LIBS
select BR2_PACKAGE_LZO select BR2_PACKAGE_LZO
select BR2_PACKAGE_LIBOPENSSL_ENABLE_DES if BR2_PACKAGE_LIBOPENSSL select BR2_PACKAGE_LIBOPENSSL_ENABLE_DES if BR2_PACKAGE_LIBOPENSSL
@@ -27,5 +25,4 @@ endif
comment "libvncserver needs a toolchain w/ dynamic library" comment "libvncserver needs a toolchain w/ dynamic library"
depends on BR2_USE_MMU depends on BR2_USE_MMU
depends on !BR2_nios2
depends on BR2_STATIC_LIBS depends on BR2_STATIC_LIBS

View File

@@ -21,7 +21,6 @@ if BR2_PACKAGE_LIGHTNING
config BR2_PACKAGE_LIGHTNING_DISASSEMBLER config BR2_PACKAGE_LIGHTNING_DISASSEMBLER
bool "enable disassembler" bool "enable disassembler"
depends on !BR2_nios2 # binutils
depends on BR2_USE_WCHAR # binutils depends on BR2_USE_WCHAR # binutils
select BR2_PACKAGE_BINUTILS select BR2_PACKAGE_BINUTILS
select BR2_PACKAGE_ZLIB select BR2_PACKAGE_ZLIB
@@ -29,7 +28,6 @@ config BR2_PACKAGE_LIGHTNING_DISASSEMBLER
Enable the GNU lightning disassembler. Enable the GNU lightning disassembler.
comment "lightning disassembler needs a toolchain w/ wchar" comment "lightning disassembler needs a toolchain w/ wchar"
depends on !BR2_nios2
depends on !BR2_USE_WCHAR depends on !BR2_USE_WCHAR
endif endif

View File

@@ -5,8 +5,6 @@ config BR2_PACKAGE_LTP_TESTSUITE_ARCH_SUPPORTS
# provided in ltp-testsuite # provided in ltp-testsuite
default y if BR2_TOOLCHAIN_HAS_SYNC_4 default y if BR2_TOOLCHAIN_HAS_SYNC_4
default y if BR2_arc default y if BR2_arc
# does not build on nios2, cachectl.h issue
depends on !BR2_nios2
config BR2_PACKAGE_LTP_TESTSUITE config BR2_PACKAGE_LTP_TESTSUITE
bool "ltp-testsuite" bool "ltp-testsuite"

View File

@@ -242,13 +242,11 @@ comment "nfs support needs a toolchain w/ threads support"
depends on !(BR2_TOOLCHAIN_HAS_THREADS || BR2_TOOLCHAIN_HAS_NATIVE_RPC) depends on !(BR2_TOOLCHAIN_HAS_THREADS || BR2_TOOLCHAIN_HAS_NATIVE_RPC)
comment "samba support needs a glibc toolchain w/ dynamic library, RPC" comment "samba support needs a glibc toolchain w/ dynamic library, RPC"
depends on !BR2_nios2
depends on !BR2_TOOLCHAIN_USES_GLIBC || BR2_STATIC_LIBS || \ depends on !BR2_TOOLCHAIN_USES_GLIBC || BR2_STATIC_LIBS || \
!BR2_TOOLCHAIN_HAS_NATIVE_RPC !BR2_TOOLCHAIN_HAS_NATIVE_RPC
config BR2_PACKAGE_MPD_LIBSMBCLIENT config BR2_PACKAGE_MPD_LIBSMBCLIENT
bool "samba" bool "samba"
depends on !BR2_nios2 # samba
depends on BR2_TOOLCHAIN_USES_GLIBC depends on BR2_TOOLCHAIN_USES_GLIBC
depends on !BR2_STATIC_LIBS depends on !BR2_STATIC_LIBS
depends on BR2_TOOLCHAIN_HAS_NATIVE_RPC depends on BR2_TOOLCHAIN_HAS_NATIVE_RPC

View File

@@ -1,6 +1,6 @@
config BR2_PACKAGE_OPKG_UTILS config BR2_PACKAGE_OPKG_UTILS
bool "opkg-utils" bool "opkg-utils"
depends on !BR2_nios2 || BR2_PACKAGE_BUSYBOX # binutils depends on BR2_PACKAGE_BUSYBOX # binutils
depends on BR2_USE_MMU # bash, python3 depends on BR2_USE_MMU # bash, python3
depends on BR2_USE_WCHAR # python3 depends on BR2_USE_WCHAR # python3
depends on BR2_TOOLCHAIN_HAS_THREADS # python3 <- libffi depends on BR2_TOOLCHAIN_HAS_THREADS # python3 <- libffi
@@ -23,6 +23,6 @@ config BR2_PACKAGE_OPKG_UTILS
https://git.yoctoproject.org/cgit/cgit.cgi/opkg-utils/ https://git.yoctoproject.org/cgit/cgit.cgi/opkg-utils/
comment "opkg-utils needs a toolchain w/ wchar, threads, dynamic library" comment "opkg-utils needs a toolchain w/ wchar, threads, dynamic library"
depends on !BR2_nios2 || BR2_PACKAGE_BUSYBOX depends on BR2_PACKAGE_BUSYBOX
depends on BR2_USE_MMU depends on BR2_USE_MMU
depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS

View File

@@ -48,7 +48,7 @@ POCO_CONF_OPTS += --no-fpenvironment --no-wstring
endif endif
# architectures missing some FE_* in their fenv.h # architectures missing some FE_* in their fenv.h
ifeq ($(BR2_sh4a)$(BR2_nios2),y) ifeq ($(BR2_sh4a),y)
POCO_CONF_OPTS += --no-fpenvironment POCO_CONF_OPTS += --no-fpenvironment
endif endif

View File

@@ -38,7 +38,7 @@ POSTGRESQL_INSTALL_TARGET_OPTS += DESTDIR=$(TARGET_DIR) install-world
POSTGRESQL_INSTALL_STAGING_OPTS += DESTDIR=$(STAGING_DIR) install-world POSTGRESQL_INSTALL_STAGING_OPTS += DESTDIR=$(STAGING_DIR) install-world
endif endif
ifeq ($(BR2_arcle)$(BR2_arceb)$(BR2_microblazeel)$(BR2_microblazebe)$(BR2_or1k)$(BR2_nios2)$(BR2_riscv)$(BR2_xtensa),y) ifeq ($(BR2_arcle)$(BR2_arceb)$(BR2_microblazeel)$(BR2_microblazebe)$(BR2_or1k)$(BR2_riscv)$(BR2_xtensa),y)
POSTGRESQL_CONF_OPTS += -Dspinlocks=false POSTGRESQL_CONF_OPTS += -Dspinlocks=false
else else
POSTGRESQL_CONF_OPTS += -Dspinlocks=true POSTGRESQL_CONF_OPTS += -Dspinlocks=true

View File

@@ -372,7 +372,6 @@ HOST_QEMU_DEPENDENCIES = \
# mipsel mipsel # mipsel mipsel
# mips64 mips64 # mips64 mips64
# mips64el mips64el # mips64el mips64el
# nios2 nios2
# or1k or1k # or1k or1k
# powerpc ppc # powerpc ppc
# powerpc64 ppc64 # powerpc64 ppc64

View File

@@ -1,7 +1,6 @@
config BR2_PACKAGE_QUICKJS config BR2_PACKAGE_QUICKJS
bool "quickjs" bool "quickjs"
depends on !BR2_microblaze # fenv.h lacks FE_{DOWN,UP}WARD depends on !BR2_microblaze # fenv.h lacks FE_{DOWN,UP}WARD
depends on !BR2_nios2 # fenv.h lacks FE_{DOWN,UP}WARD on nios2
depends on !BR2_sh # fenv.h lacks FE_{DOWN,UP}WARD depends on !BR2_sh # fenv.h lacks FE_{DOWN,UP}WARD
depends on !BR2_STATIC_LIBS depends on !BR2_STATIC_LIBS
# No way to check for fenv support. # No way to check for fenv support.
@@ -18,7 +17,6 @@ config BR2_PACKAGE_QUICKJS
comment "quickjs needs a glibc or musl toolchain w/ gcc >= 4.9, host gcc >= 4.9, dynamic library" comment "quickjs needs a glibc or musl toolchain w/ gcc >= 4.9, host gcc >= 4.9, dynamic library"
depends on !BR2_microblaze depends on !BR2_microblaze
depends on !BR2_nios2
depends on !BR2_sh depends on !BR2_sh
depends on BR2_USE_MMU depends on BR2_USE_MMU
depends on BR2_STATIC_LIBS || BR2_TOOLCHAIN_USES_UCLIBC || \ depends on BR2_STATIC_LIBS || BR2_TOOLCHAIN_USES_UCLIBC || \

View File

@@ -10,7 +10,6 @@ config BR2_PACKAGE_SAMBA4
depends on BR2_USE_WCHAR # python depends on BR2_USE_WCHAR # python
depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL # python -> libffi depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL # python -> libffi
depends on !BR2_STATIC_LIBS # cmocka, python, gnutls depends on !BR2_STATIC_LIBS # cmocka, python, gnutls
depends on !BR2_nios2 # binary too large, relocations don't fit
depends on BR2_TOOLCHAIN_HAS_SYNC_4 depends on BR2_TOOLCHAIN_HAS_SYNC_4
depends on !BR2_TOOLCHAIN_USES_MUSL depends on !BR2_TOOLCHAIN_USES_MUSL
select BR2_PACKAGE_CMOCKA select BR2_PACKAGE_CMOCKA

View File

@@ -3,7 +3,7 @@ config BR2_PACKAGE_SEDUTIL_ARCH_SUPPORTS
# no big endian support # no big endian support
default y if BR2_arcle || BR2_arm || BR2_aarch64 \ default y if BR2_arcle || BR2_arm || BR2_aarch64 \
|| BR2_i386 || BR2_microblazeel || BR2_mipsel \ || BR2_i386 || BR2_microblazeel || BR2_mipsel \
|| BR2_mips64el || BR2_nios2 || BR2_powerpc64le \ || BR2_mips64el || BR2_powerpc64le \
|| BR2_sh4 || BR2_sh4a || BR2_x86_64 \ || BR2_sh4 || BR2_sh4a || BR2_x86_64 \
|| BR2_XTENSA_LITTLE_ENDIAN || BR2_XTENSA_LITTLE_ENDIAN

View File

@@ -1,7 +1,5 @@
config BR2_PACKAGE_STRACE config BR2_PACKAGE_STRACE
bool "strace" bool "strace"
# needs at least kernel headers 4.0 on nios2
depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_0 || !BR2_nios2
# needs at least kernel headers 5.0 on xtensa # needs at least kernel headers 5.0 on xtensa
depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_0 || !BR2_xtensa depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_0 || !BR2_xtensa
# needs at least kernel headers 5.0 on musl aarch64 # needs at least kernel headers 5.0 on musl aarch64
@@ -19,10 +17,6 @@ config BR2_PACKAGE_STRACE
https://strace.io https://strace.io
comment "strace needs a toolchain w/ headers >= 4.0 on nios2"
depends on BR2_nios2
depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_0
comment "strace needs a toolchain w/ headers >= 5.0 on xtensa" comment "strace needs a toolchain w/ headers >= 5.0 on xtensa"
depends on BR2_xtensa depends on BR2_xtensa
depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_0 depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_0

View File

@@ -5,8 +5,7 @@ config BR2_PACKAGE_STRESS_NG
depends on BR2_TOOLCHAIN_HAS_SYNC_4 depends on BR2_TOOLCHAIN_HAS_SYNC_4
depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_3 depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_3
depends on BR2_TOOLCHAIN_HAS_THREADS depends on BR2_TOOLCHAIN_HAS_THREADS
# fenv.h lacks FE_INVALID, FE_OVERFLOW & FE_UNDERFLOW on nios2 and ARC # fenv.h lacks FE_INVALID, FE_OVERFLOW & FE_UNDERFLOW on ARC
depends on !BR2_nios2
depends on !BR2_arc depends on !BR2_arc
help help
stress-ng will stress test a computer system in various stress-ng will stress test a computer system in various
@@ -17,7 +16,7 @@ config BR2_PACKAGE_STRESS_NG
https://github.com/ColinIanKing/stress-ng https://github.com/ColinIanKing/stress-ng
comment "stress-ng needs a toolchain w/ threads, headers >= 3.3" comment "stress-ng needs a toolchain w/ threads, headers >= 3.3"
depends on !BR2_nios2 && !BR2_arc depends on !BR2_arc
depends on BR2_TOOLCHAIN_HAS_SYNC_4 depends on BR2_TOOLCHAIN_HAS_SYNC_4
depends on BR2_USE_MMU depends on BR2_USE_MMU
depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_3 || !BR2_TOOLCHAIN_HAS_THREADS depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_3 || !BR2_TOOLCHAIN_HAS_THREADS

View File

@@ -11,7 +11,6 @@ config BR2_PACKAGE_SWIPL_ARCH_SUPPORTS
default y if BR2_m68k default y if BR2_m68k
# BR2_microblaze has only FE_TONEAREST # BR2_microblaze has only FE_TONEAREST
default y if BR2_mips || BR2_mipsel || BR2_mips64 || BR2_mips64el default y if BR2_mips || BR2_mipsel || BR2_mips64 || BR2_mips64el
# BR2_nios2 has only FE_TONEAREST
default y if BR2_or1k default y if BR2_or1k
default y if BR2_powerpc || BR2_powerpc64 || BR2_powerpc64le default y if BR2_powerpc || BR2_powerpc64 || BR2_powerpc64le
default y if BR2_riscv default y if BR2_riscv

View File

@@ -8,7 +8,6 @@ config BR2_PACKAGE_SYSTEMD_ARCH_SUPPORTS
default y if BR2_m68k default y if BR2_m68k
default y if BR2_mips || BR2_mipsel || BR2_mips64 || BR2_mips64el default y if BR2_mips || BR2_mipsel || BR2_mips64 || BR2_mips64el
default y if BR2_powerpc || BR2_powerpc64 || BR2_powerpc64le default y if BR2_powerpc || BR2_powerpc64 || BR2_powerpc64le
default y if BR2_nios2
default y if BR2_riscv default y if BR2_riscv
default y if BR2_sh4 || BR2_sh4eb || BR2_sh4a || BR2_sh4aeb default y if BR2_sh4 || BR2_sh4eb || BR2_sh4a || BR2_sh4aeb
default y if BR2_sparc || BR2_sparc64 default y if BR2_sparc || BR2_sparc64

View File

@@ -111,11 +111,6 @@ ifeq ($(BR2_OPTIMIZE_FAST),y)
SYSTEMD_CFLAGS += -O3 -fno-finite-math-only SYSTEMD_CFLAGS += -O3 -fno-finite-math-only
endif endif
ifeq ($(BR2_nios2),y)
# Nios2 ld emits warnings, make warnings not to be treated as errors
SYSTEMD_LDFLAGS = $(TARGET_LDFLAGS) -Wl,--no-fatal-warnings
endif
ifeq ($(BR2_TARGET_GENERIC_REMOUNT_ROOTFS_RW),y) ifeq ($(BR2_TARGET_GENERIC_REMOUNT_ROOTFS_RW),y)
SYSTEMD_JOURNALD_PERMISSIONS = /var/log/journal d 2755 root systemd-journal - - - - - SYSTEMD_JOURNALD_PERMISSIONS = /var/log/journal d 2755 root systemd-journal - - - - -
endif endif

View File

@@ -1,7 +1,5 @@
config BR2_PACKAGE_TFTPD config BR2_PACKAGE_TFTPD
bool "tftpd" bool "tftpd"
# linker issue with pre-6.x toolchains
depends on !(BR2_nios2 && !BR2_TOOLCHAIN_GCC_AT_LEAST_6)
depends on BR2_USE_MMU # fork() depends on BR2_USE_MMU # fork()
depends on BR2_PACKAGE_BUSYBOX_SHOW_OTHERS depends on BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
help help

View File

@@ -37,7 +37,6 @@ config BR2_PACKAGE_TRANSMISSION_DAEMON
config BR2_PACKAGE_TRANSMISSION_GTK config BR2_PACKAGE_TRANSMISSION_GTK
bool "transmission-gtk" bool "transmission-gtk"
depends on !BR2_nios2 # gtkmm3
depends on BR2_TOOLCHAIN_HAS_SYNC_4 # pangomm, libgtk3 -> pango -> harfbuzz -> gtkmm3 depends on BR2_TOOLCHAIN_HAS_SYNC_4 # pangomm, libgtk3 -> pango -> harfbuzz -> gtkmm3
depends on BR2_PACKAGE_LIBGTK3 && BR2_SYSTEM_ENABLE_NLS depends on BR2_PACKAGE_LIBGTK3 && BR2_SYSTEM_ENABLE_NLS
select BR2_PACKAGE_GTKMM3 select BR2_PACKAGE_GTKMM3
@@ -45,7 +44,6 @@ config BR2_PACKAGE_TRANSMISSION_GTK
Install transmission GTK-based GUI interface. Install transmission GTK-based GUI interface.
comment "transmission-gtk needs libgtk3 and a toolchain with NLS enabled" comment "transmission-gtk needs libgtk3 and a toolchain with NLS enabled"
depends on !BR2_nios2
depends on BR2_TOOLCHAIN_HAS_SYNC_4 depends on BR2_TOOLCHAIN_HAS_SYNC_4
depends on BR2_PACKAGE_LIBGTK3 && !BR2_SYSTEM_ENABLE_NLS depends on BR2_PACKAGE_LIBGTK3 && !BR2_SYSTEM_ENABLE_NLS
endif endif

View File

@@ -232,8 +232,8 @@ $(eval $(host-generic-package))
MKIMAGE = $(HOST_DIR)/bin/mkimage MKIMAGE = $(HOST_DIR)/bin/mkimage
# mkimage supports alpha arc arm arm64 blackfin ia64 invalid m68k microblaze mips mips64 nds32 nios2 or1k powerpc riscv s390 sandbox sh sparc sparc64 x86 x86_64 xtensa # mkimage supports alpha arc arm arm64 blackfin ia64 invalid m68k microblaze mips mips64 nds32 or1k powerpc riscv s390 sandbox sh sparc sparc64 x86 x86_64 xtensa
# NORMALIZED_ARCH can be arm64 arc arm blackfin m68k microblaze mips nios2 powerpc sh sparc i386 x86_64 xtensa # NORMALIZED_ARCH can be arm64 arc arm blackfin m68k microblaze mips powerpc sh sparc i386 x86_64 xtensa
# For i386, we need to convert # For i386, we need to convert
# For openrisc, we need to convert # For openrisc, we need to convert
# For others, we'll just keep NORMALIZED_ARCH # For others, we'll just keep NORMALIZED_ARCH

View File

@@ -2,7 +2,6 @@ config BR2_PACKAGE_X11VNC
bool "x11vnc" bool "x11vnc"
depends on BR2_PACKAGE_XORG7 depends on BR2_PACKAGE_XORG7
depends on BR2_USE_MMU # fork() depends on BR2_USE_MMU # fork()
depends on !BR2_nios2 # libvncserver
select BR2_PACKAGE_LIBVNCSERVER select BR2_PACKAGE_LIBVNCSERVER
select BR2_PACKAGE_XLIB_LIBXT select BR2_PACKAGE_XLIB_LIBXT
select BR2_PACKAGE_XLIB_LIBXEXT select BR2_PACKAGE_XLIB_LIBXEXT

View File

@@ -11,7 +11,6 @@ config BR2_PACKAGE_Z3_ARCH_SUPPORTS
default y if BR2_m68k default y if BR2_m68k
# BR2_microblaze has only FE_TONEAREST # BR2_microblaze has only FE_TONEAREST
default y if BR2_mips || BR2_mipsel || BR2_mips64 || BR2_mips64el default y if BR2_mips || BR2_mipsel || BR2_mips64 || BR2_mips64el
# BR2_nios2 has only FE_TONEAREST
default y if BR2_or1k default y if BR2_or1k
default y if BR2_powerpc || BR2_powerpc64 || BR2_powerpc64le default y if BR2_powerpc || BR2_powerpc64 || BR2_powerpc64le
default y if BR2_riscv default y if BR2_riscv