Skip to content

Commit 954841f

Browse files
[bot] AutoMerging: merge all upstream's changes:
* https://github.com/coolsnowwolf/lede: (43 commits) mtwifi: disable set_fs by default mtwifi: formatted version output dnsmasq: replace patches with upstream download.pl: update and fix some mirrors kernel: bump to 5.4.226, 5.10.158, 5.15.82 (coolsnowwolf#10573) kernel: bump 6.0 to 6.0.12 (coolsnowwolf#10567) ath11k-wifi: add Edgecore EAP102 bdf support sync with upstream (coolsnowwolf#10562) Revert "ipq60xx: Add upstream patch for USB Support" ipq60xx: Add upstream patch for USB Support autocore: improve x86 index display x86: add support for iKoolCore R1 (eth1/2/3 for LAN, eth0 for WAN) x86: improve sysinfo handling of special values tools/cmake: update to 3.25.1 build: add gzip to prereq-build.mk build: images: squashfs: add help, fix description kernel: ca8210: Fix crash by zero initializing data e2fsprogs: Fix CVE-2022-1304 mediatek: mt7623: build mt6577_auxadc driver into kernel trusted-firmware-a.mk: fix build with binutils 2.39 ...
2 parents 7e59e90 + 048637a commit 954841f

File tree

449 files changed

+5134
-8226
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

449 files changed

+5134
-8226
lines changed

config/Config-build.in

+16-23
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,14 @@ config EXPERIMENTAL
1414
positive and negative). But do so only if you know how to
1515
recover your device in case of flashing potentially non-working
1616
firmware.
17-
17+
1818
If you plan to use this build in production, say NO!
1919

2020
menu "Global build settings"
2121

2222
config JSON_OVERVIEW_IMAGE_INFO
2323
bool "Create JSON info file overview per target"
24-
default BUILDBOT
24+
default y
2525
help
2626
Create a JSON info file called profiles.json in the target
2727
directory containing machine readable list of built profiles
@@ -111,7 +111,7 @@ menu "Global build settings"
111111
default n
112112
help
113113
This makes file checksums part of package metadata. It increases size
114-
but provides you with pkg_check command to check for flash coruptions.
114+
but provides you with pkg_check command to check for flash corruptions.
115115

116116
config INCLUDE_CONFIG
117117
bool "Include build configuration in firmware" if DEVEL
@@ -154,17 +154,12 @@ menu "Global build settings"
154154
Adds -g3 to the CFLAGS.
155155

156156
config IPV6
157-
bool
158-
prompt "Enable IPv6 support in packages"
159-
default y
160-
help
161-
Enables IPv6 support in kernel (builtin) and packages.
157+
def_bool y
162158

163159
comment "Stripping options"
164160

165161
choice
166162
prompt "Binary stripping method"
167-
default USE_STRIP if EXTERNAL_TOOLCHAIN
168163
default USE_STRIP if USE_GLIBC
169164
default USE_SSTRIP
170165
help
@@ -221,20 +216,6 @@ menu "Global build settings"
221216
make the system libraries incompatible with most of the packages that are
222217
not selected during the build process.
223218

224-
choice
225-
prompt "Preferred standard C++ library"
226-
default USE_LIBSTDCXX if USE_GLIBC
227-
default USE_UCLIBCXX
228-
help
229-
Select the preferred standard C++ library for all packages that support this.
230-
231-
config USE_UCLIBCXX
232-
bool "uClibc++"
233-
234-
config USE_LIBSTDCXX
235-
bool "libstdc++"
236-
endchoice
237-
238219
comment "Hardening build options"
239220

240221
config PKG_CHECK_FORMAT_SECURITY
@@ -390,4 +371,16 @@ menu "Global build settings"
390371

391372
endchoice
392373

374+
config SECCOMP
375+
bool "Enable SECCOMP"
376+
select KERNEL_SECCOMP
377+
select PACKAGE_procd-seccomp
378+
depends on (aarch64 || arm || armeb || mips || mipsel || mips64 || mips64el || i386 || powerpc || x86_64)
379+
depends on !TARGET_uml
380+
default y
381+
help
382+
This option enables seccomp kernel features to safely
383+
execute untrusted bytecode and selects the seccomp-variants
384+
of procd
385+
393386
endmenu

config/Config-devel.in

+5
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,11 @@ menuconfig DEVEL
9595
Store ccache in this directory.
9696
If not set, uses './.ccache'
9797

98+
config KERNEL_CFLAGS
99+
string "Kernel extra CFLAGS" if DEVEL
100+
default "-falign-functions=32" if TARGET_bcm53xx
101+
default ""
102+
98103
config EXTERNAL_KERNEL_TREE
99104
string "Use external kernel tree" if DEVEL
100105
default ""

config/Config-images.in

+8-5
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ menu "Target Images"
4848
bool "xz"
4949

5050
config TARGET_INITRAMFS_COMPRESSION_ZSTD
51-
depends on !LINUX_5_4 && !LINUX_4_19
51+
depends on !LINUX_5_4
5252
bool "zstd"
5353
endchoice
5454

@@ -152,14 +152,17 @@ menu "Target Images"
152152
bool "squashfs"
153153
default y if USES_SQUASHFS
154154
help
155-
Build a squashfs-lzma root filesystem.
155+
Build a squashfs root filesystem.
156156

157157
config TARGET_SQUASHFS_BLOCK_SIZE
158158
int "Block size (in KiB)"
159159
depends on TARGET_ROOTFS_SQUASHFS
160160
default 64 if LOW_MEMORY_FOOTPRINT
161161
default 1024 if (SMALL_FLASH && !LOW_MEMORY_FOOTPRINT)
162162
default 1024
163+
help
164+
Select squashfs block size, must be one of:
165+
4, 8, 16, 32, 64, 128, 256, 512, 1024
163166

164167
menuconfig TARGET_ROOTFS_UBIFS
165168
bool "ubifs"
@@ -294,16 +297,16 @@ menu "Target Images"
294297
source "target/linux/*/image/Config.in"
295298

296299
config TARGET_KERNEL_PARTSIZE
297-
int "Kernel partition size (in MB)"
300+
int "Kernel partition size (in MiB)"
298301
depends on USES_BOOT_PART
299302
default 8 if TARGET_apm821xx_sata
300303
default 64 if TARGET_bcm27xx
301304
default 64 if TARGET_rockchip
302305
default 16
303306

304307
config TARGET_ROOTFS_PARTSIZE
305-
int "Root filesystem partition size (in MB)"
306-
depends on USES_ROOTFS_PART || TARGET_ROOTFS_EXT4FS || TARGET_omap || TARGET_sunxi || TARGET_uml || TARGET_ramips
308+
int "Root filesystem partition size (in MiB)"
309+
depends on USES_ROOTFS_PART || TARGET_ROOTFS_EXT4FS
307310
default 400
308311
help
309312
Select the root filesystem partition size.

0 commit comments

Comments
 (0)