Commit Graph

74695 Commits

Author SHA1 Message Date
Brandon Maier
9b69034160 support/testing: add new test for dtc
Add a test that runs the dtc commandline tools. To test devicetree
compilation, we use an example devicetree from the dtc project. The
example source is GPL-2.0+ licensed.

Signed-off-by: Brandon Maier <brandon.maier@gmail.com>
Signed-off-by: Arnout Vandecappelle <arnout@mind.be>
2024-10-06 15:47:37 +02:00
Damien Thébault
600e273487 package/linux-pam: remove flex dependency
linux-pam 1.2.0 removed the use of yywrap, so the flex dependency is not
needed now (host-flex is still needed).

Fixes: #47
Signed-off-by: Damien Thébault <damien.thebault@gmail.com>
Signed-off-by: Arnout Vandecappelle <arnout@mind.be>
2024-10-06 15:46:47 +02:00
Julien Olivain
b98062f730 linux: replace host-python3 with BR2_PYTHON3_HOST_DEPENDENCY
Commit abce4a2b3 "linux: add BR2_LINUX_KERNEL_NEEDS_HOST_PYTHON3" [1]
introduced a Kernel dependency on host-python3.

Since the Kernel does not have any specific requirements on host
Python modules, or recent host Python version, this commit replaces
the host-python3 dependency with BR2_PYTHON3_HOST_DEPENDENCY. This
will skip the host-python3 compilation if a sufficient version (3.4 or
greater at the time of this commit) is already present on host. This
will save build time.

This optimization was suggested by Peter, in [2].

Note 1: this commit was checked to ensure that Kernel v6.10.9 arm64
defconfig (which does require a python3 interpreter to build) is
working with Python 3.4.

Note 2: BR2_PYTHON3_HOST_DEPENDENCY was introduced in commit b60729784
"support/dependencies: add a check for python3" [3].

[1] abce4a2b36
[2] https://lists.buildroot.org/pipermail/buildroot/2024-September/763967.html
[3] b60729784a

Signed-off-by: Julien Olivain <ju.o@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-10-03 11:30:55 +02:00
Julien Olivain
8a71fda371 boot/grub2: replace host-python3 with BR2_PYTHON3_HOST_DEPENDENCY
Commit 86bb1b236 "boot/grub2: needs host-python3" [1] introduced a
dependency on host-python3.

Since grub does not have any specific requirements on host Python
modules, or recent host Python version, this commit replaces the
host-python3 dependency with BR2_PYTHON3_HOST_DEPENDENCY. This will
skip the host-python3 compilation if a sufficient version (3.4 or
greater at the time of this commit) is already present on host. This
will save build time.

This optimization was suggested by Peter, in [2].

Note 1: this commit was checked to ensure that grub is building with
Python 3.4.

Note 2: BR2_PYTHON3_HOST_DEPENDENCY was introduced in commit b60729784
"support/dependencies: add a check for python3" [3].

[1] 86bb1b2360
[2] https://lists.buildroot.org/pipermail/buildroot/2024-September/763967.html
[3] b60729784a

Signed-off-by: Julien Olivain <ju.o@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-10-03 11:30:21 +02:00
Thomas Devoogdt
29888ab35e package/cairo: bump to 1.18.2
News:
 - https://www.cairographics.org/news/cairo-1.18.2/

Upstream patches have been dropped in this commit.

Signed-off-by: Thomas Devoogdt <thomas.devoogdt@barco.com>
Reviewed-by: Adrian Perez de Castro <aperez@igalia.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2024-10-02 23:43:13 +02:00
Akhilesh Nema
08b0dc61ec package/strace: bump version to 6.11
Changelog - https://github.com/strace/strace/releases/tag/v6.11

Signed-off-by: Akhilesh Nema <nemaakhilesh@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2024-10-02 23:40:20 +02:00
Akhilesh Nema
1af4eae903 package/tcl: bump version to 8.6.15
Release announcement (with changelog) - https://sourceforge.net/p/tcl/mailman/message/58817026/

Signed-off-by: Akhilesh Nema <nemaakhilesh@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2024-10-02 23:38:55 +02:00
Thomas Perale
295701f1ab package/aubio: fix build on big endian arch
Fixes the following error happening on builds with
big endian architecture target and libflac enabled.

```
[ 75/243] Linking build/tests/test-pitchshift
/home/autobuild/autobuild/instance-16/output-1/per-package/aubio/host/bin/../lib/gcc/mips64-buildroot-linux-gnu/13.3.0/../../../../mips64-buildroot-linux-gnu/bin/ld: src/libaubio.so: undefined reference to `SWAPS'
collect2: error: ld returned 1 exit status

Waf: Leaving directory `/home/autobuild/autobuild/instance-16/output-1/build/aubio-152d6819b360c2e7b379ee3f373d444ab3df0895/build'
Build failed
```

There is a missing definition of the `SWAPS` macro in
`/src/io/sink_flac.c` file.
This patch adds an out of tree patch that copy the `SWAPS` definition from the
`/src/io/sink_wavwrite.c` file in `sink_flac.c` to fix this issue.

Fixes:
  - https://autobuild.buildroot.org/results/b88/b8895a81411dc7622b0aba9f2f0eaa0aef5a1a10/
  - https://autobuild.buildroot.org/results/bc7/bc733f5192b354cb960b6a4726efb597be4bb06c/
  - https://autobuild.buildroot.org/results/ea5/ea52dbcc14c2bab300277053f0b9599a8e82294a/
  - ...

Signed-off-by: Thomas Perale <thomas.perale@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2024-10-02 23:37:50 +02:00
Bernd Kuhls
540a0a567a package/libilbc: bump version
Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2024-10-02 23:18:12 +02:00
Bernd Kuhls
4e5fd24c8b package/libilbc: switch to github
The previous repo is not available anymore.

Fixes:
https://autobuild.buildroot.org/results/8c8b073ce163131763fca978b400e596fcf39e62

Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2024-10-02 23:17:53 +02:00
Francois Perrad
440b6a2916 package/webp: bump to version 1.4.0
Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2024-10-02 23:09:22 +02:00
Francois Perrad
ab3c84e5e2 package/libarchive: bump to version 3.7.6
Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2024-10-02 23:09:21 +02:00
Francois Perrad
1bf483665d package/gnutls: bump to version 3.8.7
Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2024-10-02 23:09:20 +02:00
Francois Perrad
36493df9ed package/gdk-pixbuf: bump to version 2.42.12
Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2024-10-02 23:09:19 +02:00
James Hilliard
0dee1a7bba package/python-ujson: bump to version 5.10.0
License hash changed due to TCL license added and reformatting:
54497bd583

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2024-10-02 23:01:17 +02:00
James Hilliard
4211199772 package/python-spake2: bump to version 0.9
Drop patch which is no longer needed/applicable.

Drop no longer required python-hkdf runtime dependency.

Add new python-cryptography runtime dependency.

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2024-10-02 23:01:16 +02:00
James Hilliard
e80da656f1 package/python-smmap2: bump to version 5.0.1
Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2024-10-02 23:01:15 +02:00
James Hilliard
1a6e223b0e package/python-slob: bump to version c21d695707db7d2fe4ec7ec27a018bb7b0fcc209
Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2024-10-02 23:01:14 +02:00
James Hilliard
5e1fb59302 package/python-pdm-backend: bump to version 2.4.1
Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2024-10-02 23:01:13 +02:00
James Hilliard
fc8ea018c6 package/python-prompt-toolkit: bump to version 3.0.48
Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2024-10-02 23:01:12 +02:00
James Hilliard
19135d6c11 package/python-maturin: bump to version 1.7.4
Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2024-10-02 23:01:11 +02:00
James Hilliard
5b6000b1a2 package/python-fonttools: bump to version 4.54.1
Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2024-10-02 23:01:10 +02:00
James Hilliard
025f6216ca package/python-botocore: bump to version 1.35.27
Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2024-10-02 23:01:09 +02:00
James Hilliard
959bd345a5 package/python-boto3: bump to version 1.35.27
Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2024-10-02 23:01:08 +02:00
James Hilliard
74a2dbb890 package/{avro-c, python-avro}: bump to version 1.12.0
Drop patch which is now upstream.

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2024-10-02 23:01:07 +02:00
James Hilliard
62e24c548b package/python-alembic: bump to version 1.13.3
Drop no longer required --skip-dependency-check build option as
upper setuptools version is no longer pinned:
9d6e212b77

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2024-10-02 23:01:06 +02:00
James Hilliard
77998c8d93 package/python-aiohttp: bump to version 3.10.6
Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2024-10-02 23:01:05 +02:00
James Hilliard
afc683d0bf package/python-aiohttp-session: bump to version 2.12.1
Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2024-10-02 23:01:04 +02:00
Adam Duskett
c08d233e04 package/mender-connect: bump version to 2.2.1
License changes:
New:
  BSD-3-Clause:
    vendor/golang.org/x/net/LICENSE
    vendor/github.com/gorilla/websocket/LICENSE

Removed:
  BSD-2-Clause:
    vendor/github.com/gorilla/websocket/LICENSE

Modified:
  Apache-2.0
    LICENSE (Year change)
    vendor/github.com/mendersoftware/go-lib-micro/LICENSE

Signed-off-by: Adam Duskett <adam.duskett@amarulasolutions.com>
Signed-off-by: Arnout Vandecappelle <arnout@mind.be>
2024-10-02 22:59:09 +02:00
Adam Duskett
7b4561650d package/mender-artifact: bump version to 3.11.2
mender-artifact now explicitly depends on host-openssl and uses host-pkgconf
to find the correct libraries.

Use the same variables as defined in HOST_MAKE_ENV (in package/Makefile.in) for
HOST_MENDER_ARTIFACT_GO_ENV.

The updated mender-artifact package introduces the write bootstrap-artifact
argument which is needed for mender versions >= 3.5.1.

License changes:
New:
  Apache 2.0:
    vendor/google.golang.org/genproto/googleapis/api/LICENSE
    vendor/google.golang.org/genproto/googleapis/rpc/LICENSE
    vendor/cloud.google.com/go/compute/metadata/LICENSE

Removed:
  Apache 2.0:
    vendor/cloud.google.com/go/LICENSE

  MIT:
    vendor/github.com/shurcooL/sanitized_anchor_name/LICENSE
    vendor/go.uber.org/atomic/LICENSE.txt
    vendor/github.com/mitchellh/go-testing-interface/LICENSE
    vendor/github.com/mitchellh/copystructure/LICENSE
    vendor/github.com/mitchellh/reflectwalk/LICENSE
    vendor/github.com/mattn/go-colorable/LICENSE
    vendor/github.com/fatih/color/LICENSE.md
    vendor/github.com/armon/go-radix/LICENSE
    vendor/github.com/armon/go-metrics/LICENSE

  MPL-2.0:
    vendor/github.com/hashicorp/go-version/LICENSE
    vendor/github.com/hashicorp/go-uuid/LICENSE
    vendor/github.com/hashicorp/go-plugin/LICENSE
    vendor/github.com/hashicorp/golang-lru/LICENSE

Modified:

  Apache 2.0:
    vendor/gopkg.in/square/go-jose.v2/LICENSE
    vendor/github.com/oklog/run/LICENSE

  BSD 3 Clause:
    vendor/github.com/golang/snappy/LICENSE
    vendor/gopkg.in/square/go-jose.v2/json/LICENSE
    vendor/github.com/pierrec/lz4/LICENSE

  MIT:
    vendor/github.com/urfave/cli/LICENSE
    vendor/github.com/klauspost/pgzip/LICENSE
    vendor/github.com/hashicorp/go-hclog/LICENSE

  MPL-2.0:
    vendor/github.com/hashicorp/vault/sdk/LICENSE
    vendor/github.com/hashicorp/vault/api/LICENSE
    vendor/github.com/hashicorp/yamux/LICENSE
    vendor/github.com/hashicorp/go-immutable-radix/LICENSE

Signed-off-by: Adam Duskett <adam.duskett@amarulasolutions.com>
Signed-off-by: Arnout Vandecappelle <arnout@mind.be>
2024-10-02 22:59:07 +02:00
Adam Duskett
e003ff7697 package/mender-grubenv: bump version to 38e5043a215f696d126a2d707c9db9aeb93cfb2d
Commit 174bf40fb520893a5ef69ef02c22aa232b56bd67 introduced the usage of
`flock -w` to prevent errors during concurrent access of the environment
(IE: When a process is editing an env and another is trying to restore it.)

As such, mender-grubenv now requires util-linux and the basic binaries
set, as the busybox flock does not provide the -w argument.

Other changes:
  - The boot directory is now expected to be /boot instead of /boot/grub
  - License hash changed for 2023 -> 2024 year date (see commit f54ecfb)

Signed-off-by: Adam Duskett <adam.duskett@amarulasolutions.com>
Signed-off-by: Arnout Vandecappelle <arnout@mind.be>
2024-10-02 22:59:06 +02:00
Adam Duskett
a38fcbf1d9 configs/mender_x86_64_efi_defconfig: Update kernel to 6.6.49
Update the kernel to the latest 6.6 LTS version

Signed-off-by: Adam Duskett <adam.duskett@amarulasolutions.com>
Signed-off-by: Arnout Vandecappelle <arnout@mind.be>
2024-10-02 22:59:04 +02:00
Julien Olivain
dd5f3ffd87 package/fwts: enable on RISC-V 64-bit
fwts RISC-V 64bit support was introduced in version 20.07.00, see [1].

This commit adds this architecture in _ARCH_SUPPORTS.

[1] https://wiki.ubuntu.com/FirmwareTestSuite/ReleaseNotes/20.07.00

Signed-off-by: Julien Olivain <ju.o@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2024-10-02 22:51:14 +02:00
James Hilliard
4856583d4f package/{bluez5_utils, bluez5_utils-headers}: bump to version 5.78
Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2024-10-02 22:40:12 +02:00
Julien Olivain
73b227cdd4 package/fwts: bump to version 24.09.00
See release announce:
https://lists.ubuntu.com/archives/fwts-devel/2024-September/013906.html

This commit also update the commented hash source URL from http to
https, since it is now redirected.

Signed-off-by: Julien Olivain <ju.o@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2024-10-02 22:39:54 +02:00
Dario Binacchi
b62dc00206 configs/stm32f746_disco_sd: new defconfig
The commit adds support for STM32F746G-DISCO board. The discovery kit is
a complete demonstration and development platform for STMicroelectronics
Arm Cortex-M7-core-based STM32F746NG.

Board support package includes the following components:
- mainline Linux kernel 5.15.165
- mainline U-Boot 2024.07
- default packages from buildroot

Link: https://www.st.com/en/evaluation-tools/32f746gdiscovery.html
Co-Developed-by: Waldemar Brodkorb <wbx@openadk.org>
Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2024-10-02 22:34:42 +02:00
Waldemar Brodkorb
34e0130bc3 package/busybox: remove STATIC from busybox-minimal.config
With FDPIC we want a shared busybox executable even with noMMU.
Static is already handled by busybox.mk for static toolchains.

Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2024-10-02 22:34:41 +02:00
Ben Wolsieffer
78e494e239 package/uclibc: enable NPTL on no-MMU ARM w/ FDPIC
NPTL is supported on no-MMU ARM systems if FDPIC binaries are used.

Signed-off-by: Ben Wolsieffer <Ben.Wolsieffer@hefring.com>
Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2024-10-02 22:34:40 +02:00
Ben Wolsieffer
4e8d8d2345 linux: pass -mno-fdpic if FDPIC is enabled
If the FDPIC ABI is enabled by default in the toolchain, it must be
explicitly disabled when building the kernel.

Signed-off-by: Ben Wolsieffer <Ben.Wolsieffer@hefring.com>
Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2024-10-02 22:34:39 +02:00
Ben Wolsieffer
ceff8dbaa5 boot/uboot: pass -mno-fdpic if FDPIC is enabled
If the FDPIC ABI is enabled by default in the toolchain, it must be
explicitly disabled when building U-Boot.

Signed-off-by: Ben Wolsieffer <Ben.Wolsieffer@hefring.com>
Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2024-10-02 22:34:38 +02:00
Ben Wolsieffer
d75e29c9b2 arch/arm: add support for FDPIC
Linux on ARM supports FDPIC binaries intended for use on no-MMU
systems. This patch enables support for building a toolchain that
produces FDPIC binaries, only for ARMv7-M platforms, for which FDPIC
binaries are relevant.

The target name for a FDPIC toolchain must be
arm-<vendor>-uclinuxfdpiceabi, which doesn't follow the standard
format and requires a special case.

Signed-off-by: Ben Wolsieffer <Ben.Wolsieffer@hefring.com>
Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2024-10-02 22:34:13 +02:00
Thomas Petazzoni
a6b364c2e3 support/scripts/gen-bootlin-toolchains: handle BR2_BINFMT_FLAT
With the introduction of ARM FDPIC support, we need to make sure that
the existing ARM FLAT external toolchains are not made
visible/available when ARM FDPIC is selected. This commit updates the
gen-bootlin-toolchains script to take this into account.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2024-10-02 22:30:52 +02:00
Ben Wolsieffer
66e8b5ece4 arch: don't enable FDPIC binaries by default
FDPIC support is being added as a new option for an existing
architecture (ARM), so we don't want to suddenly change the default.

Signed-off-by: Ben Wolsieffer <Ben.Wolsieffer@hefring.com>
Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2024-10-02 22:20:44 +02:00
Ben Wolsieffer
45c0a5114d Revert: "arch: drop now useless support for FDPIC"
This reverts commit 58dcd28dfb.

ARM supports FDPIC, so this code is needed once again.

Signed-off-by: Ben Wolsieffer <Ben.Wolsieffer@hefring.com>
Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2024-10-02 22:20:43 +02:00
Yann E. MORIN
edc0a6b1a4 configs: regenerate all defconfigs
During the hackathon in Vienna, it was decided [0] to stop requiring
annotated defconfig files, and that they should all be regenerated.

This commit does just that.

This is a mechanical change, achieved by running (the defcfg script is
repriducedc at the end of the commit log):

    $ for cfg in configs/*_defconfig; do
        ./defcfg "${cfg##*/}" || break
      done

Out of our 302 defconfig files, only 247 needed regenerating, which
means that about 1 in 5 was already not providing the requested
annotations.

To be noted: three defconfig files had duplicate definitions, which this
commit resolves:

    nitrogen6sx_defconfig
    nitrogen7_defconfig
    olimex_a33_olinuxino_defconfig
        warning: override: reassigning to symbol BR2_PACKAGE_HOST_UBOOT_TOOLS

[0] https://elinux.org/Buildroot:DeveloperDaysELCE2024#Rules_for_defconfigs

Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Cc: Edgar Bonet <bonet@grenoble.cnrs.fr>
Signed-off-by: Arnout Vandecappelle <arnout@mind.be>

====
Below is the script to reproduce the commmit. What it does is regenerate
the configuration first, then applies a patch to update kernel headers
to 3.11, and then recalls the defconfig again, and finally verifies that
the 3.11 headers are not selected (and ignores whether the latest are
selected or not): we want to catch whether defconfig that were using
3.10, currently the latest we support, would stioll get those headers
after we regeerate those.

    --->8------>8------>8------>8------>8---
    #!/bin/sh

    cfg="${1}"

    git checkout -- package/linux-headers/Config.in.host toolchain/Config.in
    make "${cfg}"
    make savedefconfig

    patch -p1 <<_EOF_
    diff --git a/package/linux-headers/Config.in.host b/package/linux-headers/Config.in.host
    index 2ae4077ffe..e669f89267 100644
    --- a/package/linux-headers/Config.in.host
    +++ b/package/linux-headers/Config.in.host
    @@ -129,8 +129,12 @@ choice
    	  If your kernel headers are more recent than the latest version
    	  in the choice, then select the latest version.

    +config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_11
    +	bool "6.11.x or later"
    +	select BR2_TOOLCHAIN_HEADERS_AT_LEAST_6_11
    +
     config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_10
    -	bool "6.10.x or later"
    +	bool "6.10.x"
     	select BR2_TOOLCHAIN_HEADERS_AT_LEAST_6_10

     config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_9
    diff --git a/toolchain/Config.in b/toolchain/Config.in
    index 6e91ab756c..c2522aca7f 100644
    --- a/toolchain/Config.in
    +++ b/toolchain/Config.in
    @@ -656,6 +656,10 @@ config BR2_TOOLCHAIN_HEADERS_AT_LEAST_6_9
     config BR2_TOOLCHAIN_HEADERS_AT_LEAST_6_10
     	bool
     	select BR2_TOOLCHAIN_HEADERS_AT_LEAST_6_9
    +
    +config BR2_TOOLCHAIN_HEADERS_AT_LEAST_6_11
    +	bool
    +	select BR2_TOOLCHAIN_HEADERS_AT_LEAST_6_10
     	select BR2_TOOLCHAIN_HEADERS_LATEST

     # This should be selected by the latest version, above, to indicate that
    @@ -669,6 +673,7 @@ config BR2_TOOLCHAIN_HEADERS_LATEST
     # stops affecting a value on the first matching default.
     config BR2_TOOLCHAIN_HEADERS_AT_LEAST
     	string
    +	default "6.11" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_6_11
     	default "6.10" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_6_10
     	default "6.9"  if BR2_TOOLCHAIN_HEADERS_AT_LEAST_6_9
     	default "6.8"  if BR2_TOOLCHAIN_HEADERS_AT_LEAST_6_8
    _EOF_

    make "${cfg}"
    git checkout -- package/linux-headers/Config.in.host toolchain/Config.in

    diff="$(
        diff -I '_6_11\|BR2_TOOLCHAIN_HEADERS_LATEST=y' -du \
            <( tail -n +5 .config.old ) \
            <( tail -n +5 .config )
    )"
    if [ "${diff}" ]; then
        printf 'Not idempotent for "%s"\n' "${cfg}" >&2
        exit 1
    fi
    ---8<------8<------8<------8<------8<---

====
To verify that no other changes are made to the defconfigs that are
risky when the defaults change, we ran the following simple script
(where buildroot-prev is a checkout just before this commit). It shows
that there are many settings removed because they are default, but none
of them run the same risk that the default is going to be changed in the
future.

    for i in configs/*_defconfig; do
        diff="$(diffconfig ../buildroot-next/$i $i)"
        if [ -n "$diff" ]; then
            echo "==> $i"
            echo "$diff"
            echo
        fi
    done

    --->8------>8------>8------>8------>8---
    ==> configs/aarch64_efi_defconfig
    -BR2_TARGET_GRUB2_ARM64_EFI y

    ==> configs/acmesystems_aria_g25_128mb_defconfig
    -BR2_arm926t y

    ==> configs/acmesystems_aria_g25_256mb_defconfig
    -BR2_arm926t y

    ==> configs/acmesystems_arietta_g25_128mb_defconfig
    -BR2_arm926t y

    ==> configs/acmesystems_arietta_g25_256mb_defconfig
    -BR2_arm926t y

    ==> configs/amarula_vyasa_rk3288_defconfig
    -BR2_PACKAGE_HOST_UBOOT_TOOLS y
    -BR2_TARGET_UBOOT_NEEDS_PYTHON3 y

    ==> configs/armadeus_apf27_defconfig
    -BR2_TARGET_ROOTFS_UBIFS y
    -BR2_arm926t y

    ==> configs/armadeus_apf28_defconfig
    -BR2_TARGET_ROOTFS_UBIFS y
    -BR2_arm926t y

    ==> configs/armadeus_apf51_defconfig
    -BR2_TARGET_ROOTFS_UBIFS y

    ==> configs/aspeed_ast2600evb_defconfig
    -BR2_ARM_FPU_VFPV4D16 y

    ==> configs/asus_tinker-s_rk3288_defconfig
    -BR2_TARGET_UBOOT_NEEDS_PYTHON3 y

    ==> configs/at91sam9260eknf_defconfig
    -BR2_TARGET_ROOTFS_UBIFS y
    -BR2_arm926t y

    ==> configs/at91sam9g20dfc_defconfig
    -BR2_TARGET_ROOTFS_TAR y
    -BR2_TARGET_ROOTFS_UBIFS y
    -BR2_TARGET_ROOTFS_UBIFS_LEBSIZE 0x1f800
    -BR2_TARGET_ROOTFS_UBIFS_MINIOSIZE 0x800
    -BR2_TARGET_ROOTFS_UBI_PEBSIZE 0x20000
    -BR2_TARGET_ROOTFS_UBI_SUBSIZE 512
    -BR2_arm926t y

    ==> configs/at91sam9g45m10ek_defconfig
    -BR2_TARGET_ROOTFS_UBIFS y
    -BR2_arm926t y

    ==> configs/at91sam9rlek_defconfig
    -BR2_TARGET_ROOTFS_UBIFS y
    -BR2_arm926t y

    ==> configs/at91sam9x5ek_defconfig
    -BR2_TARGET_ROOTFS_UBIFS y
    -BR2_arm926t y

    ==> configs/at91sam9x5ek_dev_defconfig
    -BR2_TARGET_ROOTFS_UBIFS y
    -BR2_arm926t y

    ==> configs/at91sam9x5ek_mmc_defconfig
    -BR2_arm926t y

    ==> configs/at91sam9x5ek_mmc_dev_defconfig
    -BR2_arm926t y

    ==> configs/atmel_sama5d3_xplained_defconfig
    -BR2_TARGET_ROOTFS_UBIFS y

    ==> configs/atmel_sama5d3_xplained_dev_defconfig
    -BR2_TARGET_ROOTFS_UBIFS y

    ==> configs/atmel_sama5d3xek_defconfig
    -BR2_TARGET_ROOTFS_UBIFS y

    ==> configs/atmel_sama5d4_xplained_defconfig
    -BR2_TARGET_ROOTFS_UBIFS y

    ==> configs/atmel_sama5d4_xplained_dev_defconfig
    -BR2_TARGET_ROOTFS_UBIFS y

    ==> configs/bananapi_m2_ultra_defconfig
    -BR2_TARGET_UBOOT_NEEDS_PYTHON3 y

    ==> configs/bananapro_defconfig
    -BR2_ARM_EABIHF y
    -BR2_LINUX_KERNEL_USE_DEFCONFIG y
    -BR2_TARGET_GENERIC_GETTY y
    -BR2_TARGET_UBOOT_FORMAT_BIN y

    ==> configs/beaglebone_qt5_defconfig
    -BR2_PACKAGE_TI_SGX_KM y
    -BR2_TOOLCHAIN_BUILDROOT_GLIBC y

    ==> configs/beagleboneai64_defconfig
    -BR2_TARGET_TI_K3_BOOT_FIRMWARE y
    -BR2_TARGET_UBOOT_NEEDS_PYLIBFDT y

    ==> configs/beelink_gs1_defconfig
    -BR2_TARGET_UBOOT_NEEDS_PYTHON3 y

    ==> configs/canaan_kd233_defconfig
    -BR2_BINFMT_FLAT y
    -BR2_RISCV_64 y
    -BR2_RISCV_ABI_LP64D y

    ==> configs/ci20_defconfig
    -BR2_KERNEL_HEADERS_AS_KERNEL y
    -BR2_PACKAGE_HOST_UBOOT_TOOLS y
    -BR2_TARGET_UBOOT_SPL_NAME "spl/u-boot-spl.bin"

    ==> configs/cubieboard2_defconfig
    -BR2_TARGET_UBOOT_NEEDS_PYTHON3 y

    ==> configs/freescale_imx28evk_defconfig
    -BR2_arm926t y

    ==> configs/friendlyarm_nanopi_r2s_defconfig
    -BR2_cortex_a53 y

    ==> configs/globalscale_espressobin_defconfig
    -BR2_cortex_a53 y

    ==> configs/hifive_unleashed_defconfig
    -BR2_LINUX_KERNEL_IMAGE y
    -BR2_RISCV_64 y
    -BR2_RISCV_ABI_LP64D y
    -BR2_TARGET_GENERIC_GETTY y

    ==> configs/imx23evk_defconfig
    -BR2_arm926t y

    ==> configs/imxrt1050-evk_defconfig
    -BR2_LINUX_KERNEL_ZIMAGE y

    ==> configs/khadas_vim3_defconfig
    -BR2_PACKAGE_HOST_AMLOGIC_BOOT_FIP_DEVICE "khadas-vim3"

    ==> configs/kontron_bl_imx8mm_defconfig
    -BR2_TARGET_ARM_TRUSTED_FIRMWARE_BL31 y
    -BR2_TARGET_UBOOT_NEEDS_ATF_BL31_BIN y
    -BR2_TARGET_UBOOT_NEEDS_PYTHON3 y
    -BR2_cortex_a53 y

    ==> configs/kontron_pitx_imx8m_defconfig
    -BR2_TARGET_ARM_TRUSTED_FIRMWARE_BL31 y
    -BR2_TARGET_UBOOT_NEEDS_ATF_BL31_BIN y
    -BR2_TARGET_UBOOT_NEEDS_PYTHON3 y

    ==> configs/kontron_smarc_sal28_defconfig
    -BR2_TARGET_UBOOT_NEEDS_PYTHON3 y

    ==> configs/lafrite_defconfig
    -BR2_cortex_a53 y

    ==> configs/lego_ev3_defconfig
    -BR2_TARGET_GENERIC_GETTY y
    -BR2_arm926t y

    ==> configs/linksprite_pcduino_defconfig
    -BR2_PACKAGE_WPA_SUPPLICANT_NL80211 y
    -BR2_TARGET_GENERIC_GETTY y
    -BR2_TARGET_UBOOT_NEEDS_PYTHON3 y

    ==> configs/ls1046a-frwy_defconfig
    -BR2_PACKAGE_QORIQ_FM_UCODE_PLATFORM "ls1046"

    ==> configs/mx6cubox_defconfig
    -BR2_TARGET_UBOOT_NEEDS_PYTHON3 y

    ==> configs/nexbox_a95x_defconfig
    -BR2_cortex_a53 y

    ==> configs/nitrogen6sx_defconfig
    -BR2_TARGET_GENERIC_GETTY y

    ==> configs/nitrogen6x_defconfig
    -BR2_TARGET_GENERIC_GETTY y

    ==> configs/nitrogen7_defconfig
    -BR2_TARGET_GENERIC_GETTY y

    ==> configs/nitrogen8m_defconfig
    -BR2_TARGET_GENERIC_GETTY y
    -BR2_cortex_a53 y

    ==> configs/nitrogen8mm_defconfig
    -BR2_TARGET_GENERIC_GETTY y
    -BR2_cortex_a53 y

    ==> configs/nitrogen8mn_defconfig
    -BR2_TARGET_GENERIC_GETTY y
    -BR2_cortex_a53 y

    ==> configs/nitrogen8mp_defconfig
    -BR2_TARGET_GENERIC_GETTY y
    -BR2_cortex_a53 y

    ==> configs/odroidc2_defconfig
    -BR2_TARGET_UBOOT_BUILD_SYSTEM_LEGACY y

    ==> configs/olimex_a10_olinuxino_lime_defconfig
    -BR2_LINUX_KERNEL_USE_DEFCONFIG y
    -BR2_TARGET_GENERIC_GETTY y
    -BR2_TARGET_UBOOT_FORMAT_BIN y
    -BR2_TARGET_UBOOT_NEEDS_PYTHON3 y

    ==> configs/olimex_a13_olinuxino_defconfig
    -BR2_LINUX_KERNEL_USE_DEFCONFIG y
    -BR2_TARGET_GENERIC_GETTY y
    -BR2_TARGET_UBOOT_FORMAT_BIN y
    -BR2_TARGET_UBOOT_NEEDS_PYTHON3 y

    ==> configs/olimex_a20_olinuxino_lime2_defconfig
    -BR2_ARM_EABIHF y
    -BR2_LINUX_KERNEL_USE_DEFCONFIG y
    -BR2_PACKAGE_SUNXI_MALI_UTGARD_DRIVER y
    -BR2_TARGET_GENERIC_GETTY y
    -BR2_TARGET_UBOOT_FORMAT_BIN y
    -BR2_TARGET_UBOOT_NEEDS_PYTHON3 y
    -BR2_TOOLCHAIN_BUILDROOT_GLIBC y

    ==> configs/olimex_a20_olinuxino_lime_defconfig
    -BR2_ARM_EABIHF y
    -BR2_LINUX_KERNEL_USE_DEFCONFIG y
    -BR2_PACKAGE_SUNXI_MALI_UTGARD_DRIVER y
    -BR2_TARGET_GENERIC_GETTY y
    -BR2_TARGET_UBOOT_FORMAT_BIN y
    -BR2_TARGET_UBOOT_NEEDS_PYTHON3 y
    -BR2_TOOLCHAIN_BUILDROOT_GLIBC y

    ==> configs/olimex_a20_olinuxino_micro_defconfig
    -BR2_TARGET_UBOOT_NEEDS_PYTHON3 y

    ==> configs/olimex_a33_olinuxino_defconfig
    -BR2_LINUX_KERNEL_USE_DEFCONFIG y
    -BR2_TARGET_GENERIC_GETTY y
    -BR2_TARGET_UBOOT_FORMAT_BIN y
    -BR2_TARGET_UBOOT_NEEDS_PYTHON3 y

    ==> configs/olimex_a64_olinuxino_defconfig
    -BR2_TARGET_ARM_TRUSTED_FIRMWARE_BL31 y
    -BR2_TARGET_UBOOT_NEEDS_PYTHON3 y
    -BR2_cortex_a53 y

    ==> configs/olimex_imx233_olinuxino_defconfig
    -BR2_arm926t y

    ==> configs/openblocks_a6_defconfig
    -BR2_arm926t y

    ==> configs/orangepi_lite2_defconfig
    -BR2_PACKAGE_WPA_SUPPLICANT_NL80211 y
    -BR2_TARGET_ARM_TRUSTED_FIRMWARE_BL31 y
    -BR2_cortex_a53 y

    ==> configs/orangepi_one_defconfig
    -BR2_TARGET_UBOOT_NEEDS_PYTHON3 y

    ==> configs/orangepi_one_plus_defconfig
    -BR2_TARGET_ARM_TRUSTED_FIRMWARE_BL31 y
    -BR2_cortex_a53 y

    ==> configs/orangepi_pc_defconfig
    -BR2_TARGET_UBOOT_NEEDS_PYTHON3 y

    ==> configs/orangepi_pc_plus_defconfig
    -BR2_PACKAGE_WPA_SUPPLICANT_NL80211 y
    -BR2_TARGET_UBOOT_NEEDS_PYTHON3 y

    ==> configs/orangepi_r1_defconfig
    -BR2_TARGET_UBOOT_NEEDS_PYTHON3 y

    ==> configs/orangepi_zero2w_defconfig
    -BR2_TARGET_ARM_TRUSTED_FIRMWARE_BL31 y
    -BR2_TARGET_UBOOT_NEEDS_PYTHON3 y
    -BR2_cortex_a53 y

    ==> configs/orangepi_zero3_defconfig
    -BR2_TARGET_ARM_TRUSTED_FIRMWARE_BL31 y
    -BR2_TARGET_UBOOT_NEEDS_PYTHON3 y
    -BR2_cortex_a53 y

    ==> configs/orangepi_zero_defconfig
    -BR2_PACKAGE_WPA_SUPPLICANT_NL80211 y
    -BR2_TARGET_UBOOT_NEEDS_PYTHON3 y

    ==> configs/orangepi_zero_plus2_defconfig
    -BR2_PACKAGE_WPA_SUPPLICANT_NL80211 y
    -BR2_TARGET_ARM_TRUSTED_FIRMWARE_BL31 y
    -BR2_TARGET_UBOOT_NEEDS_PYTHON3 y
    -BR2_cortex_a53 y

    ==> configs/orangepi_zero_plus_defconfig
    -BR2_TARGET_ARM_TRUSTED_FIRMWARE_BL31 y
    -BR2_TARGET_UBOOT_NEEDS_PYTHON3 y
    -BR2_cortex_a53 y

    ==> configs/pine64_defconfig
    -BR2_cortex_a53 y

    ==> configs/pine64_sopine_defconfig
    -BR2_TARGET_ARM_TRUSTED_FIRMWARE_BL31 y
    -BR2_cortex_a53 y

    ==> configs/qemu_aarch64_sbsa_defconfig
    -BR2_TARGET_GRUB2_ARM64_EFI y

    ==> configs/qemu_aarch64_virt_defconfig
    -BR2_cortex_a53 y

    ==> configs/qemu_arm_versatile_defconfig
    -BR2_arm926t y

    ==> configs/qemu_arm_vexpress_defconfig
    -BR2_ARM_FPU_VFPV3D16 y

    ==> configs/qemu_arm_vexpress_tz_defconfig
    -BR2_PACKAGE_LIBOPENSSL y

    ==> configs/qemu_m68k_mcf5208_defconfig
    -BR2_LINUX_KERNEL_VMLINUX y
    -BR2_TARGET_GENERIC_GETTY y

    ==> configs/qemu_m68k_q800_defconfig
    -BR2_LINUX_KERNEL_VMLINUX y
    -BR2_TARGET_GENERIC_GETTY y
    -BR2_m68k_68040 y

    ==> configs/qemu_microblazebe_mmu_defconfig
    -BR2_microblaze y

    ==> configs/qemu_microblazeel_mmu_defconfig
    -BR2_microblaze y

    ==> configs/qemu_mips32r2_malta_defconfig
    -BR2_TARGET_GENERIC_GETTY y

    ==> configs/qemu_mips32r2el_malta_defconfig
    -BR2_TARGET_GENERIC_GETTY y

    ==> configs/qemu_mips32r6_malta_defconfig
    -BR2_TARGET_GENERIC_GETTY y

    ==> configs/qemu_mips32r6el_malta_defconfig
    -BR2_TARGET_GENERIC_GETTY y

    ==> configs/qemu_mips64_malta_defconfig
    -BR2_PACKAGE_HOST_QEMU_SYSTEM_MODE y
    -BR2_TARGET_GENERIC_GETTY y

    ==> configs/qemu_mips64el_malta_defconfig
    -BR2_PACKAGE_HOST_QEMU_SYSTEM_MODE y
    -BR2_TARGET_GENERIC_GETTY y

    ==> configs/qemu_mips64r6_malta_defconfig
    -BR2_PACKAGE_HOST_QEMU_SYSTEM_MODE y
    -BR2_TARGET_GENERIC_GETTY y

    ==> configs/qemu_mips64r6el_malta_defconfig
    -BR2_PACKAGE_HOST_QEMU_SYSTEM_MODE y
    -BR2_TARGET_GENERIC_GETTY y

    ==> configs/qemu_ppc64le_powernv8_defconfig
    -BR2_powerpc_power8 y

    ==> configs/qemu_ppc64le_pseries_defconfig
    -BR2_powerpc_power8 y

    ==> configs/qemu_ppc_bamboo_defconfig
    -BR2_TARGET_GENERIC_GETTY y

    ==> configs/qemu_ppc_g3beige_defconfig
    -BR2_TARGET_GENERIC_GETTY y

    ==> configs/qemu_ppc_mpc8544ds_defconfig
    -BR2_TARGET_GENERIC_GETTY y

    ==> configs/qemu_riscv32_nommu_virt_defconfig
    -BR2_LINUX_KERNEL_IMAGE y
    -BR2_TARGET_GENERIC_GETTY y

    ==> configs/qemu_riscv32_virt_defconfig
    -BR2_LINUX_KERNEL_IMAGE y
    -BR2_TARGET_GENERIC_GETTY y

    ==> configs/qemu_riscv64_nommu_virt_defconfig
    -BR2_LINUX_KERNEL_IMAGE y
    -BR2_RISCV_64 y
    -BR2_TARGET_GENERIC_GETTY y

    ==> configs/qemu_riscv64_virt_defconfig
    -BR2_LINUX_KERNEL_IMAGE y
    -BR2_RISCV_64 y
    -BR2_TARGET_GENERIC_GETTY y

    ==> configs/qemu_sh4_r2d_defconfig
    -BR2_sh4 y

    ==> configs/qemu_sparc64_sun4u_defconfig
    -BR2_sparc_v9 y

    ==> configs/qemu_sparc_ss10_defconfig
    -BR2_sparc_v8 y

    ==> configs/qemu_x86_defconfig
    -BR2_i386 y

    ==> configs/raspberrypi0_defconfig
    -BR2_ARM_EABIHF y

    ==> configs/raspberrypi0w_defconfig
    -BR2_ARM_EABIHF y

    ==> configs/raspberrypi2_defconfig
    -BR2_ARM_EABIHF y

    ==> configs/raspberrypi3_64_defconfig
    -BR2_cortex_a53 y

    ==> configs/raspberrypi3_qt5we_defconfig
    -BR2_PACKAGE_KMOD y
    -BR2_PACKAGE_QT5BASE_JPEG y
    -BR2_PACKAGE_QT5BASE_PNG y
    -BR2_TOOLCHAIN_BUILDROOT_GLIBC y

    ==> configs/raspberrypi_defconfig
    -BR2_ARM_EABIHF y

    ==> configs/riotboard_defconfig
    -BR2_TARGET_GENERIC_GETTY y

    ==> configs/rock64_defconfig
    -BR2_TARGET_UBOOT_NEEDS_PYTHON3 y

    ==> configs/rock_pi_n8_defconfig
    -BR2_LINUX_KERNEL_USE_DEFCONFIG y
    -BR2_TARGET_UBOOT_NEEDS_PYTHON3 y

    ==> configs/rockpro64_defconfig
    -BR2_TARGET_ARM_TRUSTED_FIRMWARE_BL31 y
    -BR2_TARGET_UBOOT_NEEDS_PYTHON3 y

    ==> configs/s6lx9_microboard_defconfig
    -BR2_microblaze y

    ==> configs/sheevaplug_defconfig
    -BR2_TARGET_GENERIC_GETTY y
    -BR2_TARGET_UBOOT_NETWORK n
    -BR2_arm926t y

    ==> configs/sipeed_maix_bit_defconfig
    -BR2_BINFMT_FLAT y
    -BR2_RISCV_64 y
    -BR2_RISCV_ABI_LP64D y

    ==> configs/sipeed_maix_bit_sdcard_defconfig
    -BR2_BINFMT_FLAT y
    -BR2_RISCV_64 y
    -BR2_RISCV_ABI_LP64D y
    -BR2_TARGET_UBOOT_FORMAT_BIN y

    ==> configs/sipeed_maix_dock_defconfig
    -BR2_BINFMT_FLAT y
    -BR2_RISCV_64 y
    -BR2_RISCV_ABI_LP64D y

    ==> configs/sipeed_maix_dock_sdcard_defconfig
    -BR2_BINFMT_FLAT y
    -BR2_RISCV_64 y
    -BR2_RISCV_ABI_LP64D y
    -BR2_TARGET_UBOOT_FORMAT_BIN y

    ==> configs/sipeed_maix_go_defconfig
    -BR2_BINFMT_FLAT y
    -BR2_RISCV_64 y
    -BR2_RISCV_ABI_LP64D y

    ==> configs/sipeed_maix_go_sdcard_defconfig
    -BR2_BINFMT_FLAT y
    -BR2_RISCV_64 y
    -BR2_RISCV_ABI_LP64D y
    -BR2_TARGET_UBOOT_FORMAT_BIN y

    ==> configs/sipeed_maixduino_defconfig
    -BR2_BINFMT_FLAT y
    -BR2_RISCV_64 y
    -BR2_RISCV_ABI_LP64D y

    ==> configs/sipeed_maixduino_sdcard_defconfig
    -BR2_BINFMT_FLAT y
    -BR2_RISCV_64 y
    -BR2_RISCV_ABI_LP64D y
    -BR2_TARGET_UBOOT_FORMAT_BIN y

    ==> configs/snps_archs38_hsdk_defconfig
    -BR2_TOOLCHAIN_BUILDROOT_GLIBC y

    ==> configs/solidrun_clearfog_gt_8k_defconfig
    -BR2_TARGET_ARM_TRUSTED_FIRMWARE_SSP n

    ==> configs/solidrun_macchiatobin_defconfig
    -BR2_TARGET_ARM_TRUSTED_FIRMWARE_SSP n
    -BR2_TARGET_ROOTFS_TAR y
    -BR2_TARGET_UBOOT_USE_DEFCONFIG y

    ==> configs/spike_riscv64_defconfig
    -BR2_RISCV_64 y

    ==> configs/ts5500_defconfig
    -BR2_i386 y
    -BR2_x86_i586 y

    ==> configs/versal_vck190_defconfig
    -BR2_TARGET_XILINX_PREBUILT_VERSION "xilinx_v2024.1"

    ==> configs/versal_vpk180_defconfig
    -BR2_TARGET_XILINX_PREBUILT_VERSION "xilinx_v2024.1"

    ==> configs/zynqmp_kria_kd240_defconfig
    -BR2_TARGET_XILINX_PREBUILT_VERSION "xilinx_v2024.1"

    ==> configs/zynqmp_kria_kr260_defconfig
    -BR2_TARGET_XILINX_PREBUILT_VERSION "xilinx_v2024.1"

    ==> configs/zynqmp_kria_kv260_defconfig
    -BR2_TARGET_XILINX_PREBUILT_VERSION "xilinx_v2024.1"

    ==> configs/zynqmp_zcu102_defconfig
    -BR2_TARGET_XILINX_PREBUILT_VERSION "xilinx_v2024.1"

    ==> configs/zynqmp_zcu104_defconfig
    -BR2_TARGET_XILINX_PREBUILT_VERSION "xilinx_v2024.1"

    ==> configs/zynqmp_zcu106_defconfig
    -BR2_TARGET_XILINX_PREBUILT_VERSION "xilinx_v2024.1"
    ---8<------8<------8<------8<------8<---
2024-10-02 21:08:48 +02:00
Yann E. MORIN
17bdd10cb3 docs/manual: do not instruct doctoring the saved defconfig
Doctoring a defconfig is tedious, and it is not easy to update a
defconfig, as it requires manual copy-pasting, adding comments and so
on...

Instead, just require defconfigs to be generated with 'savedefconfig'.
Any details can/must be provided in the commit log.

Reported-by: Edgar Bonet <bonet@grenoble.cnrs.fr>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Signed-off-by: Arnout Vandecappelle <arnout@mind.be>
2024-10-02 20:28:30 +02:00
Yann E. MORIN
b2fdc16c47 package/linux-headers: default to old kernel version
Currently, there is no default value in the choice for the custom kernel
version, and the latest version is at the top of the list.

This means tha a defconfig that uses the latest version does not get the
symbol written in it, and thus when a newer version is latter added, the
defconfig is then incorrect.

To kinda-workaround the issue, make the oldest, pre-3.0 version the
default: this is always going to be the oldest version, we're not going
to add anything older than that, so defconfigs that use that version
will not have it written but that will always yield it back. Conversely,
all other defconfigs will get the kernel version written in them, so it
will stick even when we add newer versions.

Reported-by: Edgar Bonet <bonet@grenoble.cnrs.fr>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Signed-off-by: Arnout Vandecappelle <arnout@mind.be>
2024-10-02 20:27:15 +02:00
James Hilliard
8d835ffc52 package/cups: security bump to version 2.4.11
Fixes the following security issue:

CVE-2024-35235: Cupsd Listen arbitrary chmod 0140777

https://github.com/OpenPrinting/cups/security/advisories/GHSA-vvwp-mv6j-hw6f
https://www.openwall.com/lists/oss-security/2024/06/11/1

Drop cups hash patches which are now upstream.

Rebase remaining patches.

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
[Peter: mark as security bump]
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-10-01 22:07:45 +02:00
Bernd Kuhls
b52c204e6f package/samba4: bump version to 4.20.5
Release notes:
https://www.samba.org/samba/history/samba-4.20.5.html

Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-10-01 22:01:18 +02:00
Bernd Kuhls
d3a12bc6f1 {linux, linux-headers}: bump 4.19.x / 5.{4, 10, 15}.x / 6.{1, 6, 10}.x series
Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-10-01 22:00:35 +02:00