Commit Graph

101 Commits

Author SHA1 Message Date
coolsnowwolf
31a2de36ab ramips: fix HATLab GateBoard-One Support 2022-12-01 14:05:27 +08:00
lovehackintosh
297447302a
tools: update versions and sync with upstream (#10380)
* expat: update to 2.5.0

Fixes CVE-2022-43680.

Changes:
https://github.com/libexpat/libexpat/blob/R_2_5_0/expat/Changes

Signed-off-by: Nick Hainke <vincent@systemli.org>

* tools/ccache: update to 4.7

Release Notes:
https://ccache.dev/releasenotes.html#_ccache_4_7

Signed-off-by: Raihaan Shouhell <raihaanhimself@gmail.com>

* tools/ccache: update to 4.7.1

Release Notes:
https://ccache.dev/releasenotes.html#_ccache_4_7_1

Signed-off-by: Raihaan Shouhell <raihaanhimself@gmail.com>

* tools/ccache: update to 4.7.2

Release Notes:
https://ccache.dev/releasenotes.html#_ccache_4_7_2

Signed-off-by: Raihaan Shouhell <raihaanhimself@gmail.com>

* tools/mtools: update to 4.0.42

Release Notes:
https://lists.gnu.org/archive/html/info-mtools/2022-10/msg00000.html

Signed-off-by: Nick Hainke <vincent@systemli.org>

* tools/mtd-utils: update to 2.1.5

Release Notes:
https://lore.kernel.org/buildroot/c0992bbb-9487-9a51-ea9f-39cf074b61ec@sigma-star.at/

Refresh patches:
- 130-lzma_jffs2.patch
- 320-mkfs.jffs2-SOURCE_DATE_EPOCH.patch

Signed-off-by: Nick Hainke <vincent@systemli.org>

* tools/elfutils: update to 1.88

Release Notes:
https://sourceware.org/pipermail/elfutils-devel/2022q4/005561.html

Signed-off-by: Nick Hainke <vincent@systemli.org>

* tools/fakeroot: update to 1.30.1

Release Notes:
https://tracker.debian.org/news/1381350/accepted-fakeroot-1301-1-source-into-unstable/

Refresh patches:
- 600-macOS.patch

Signed-off-by: Nick Hainke <vincent@systemli.org>

* cmake: update to 3.24.3

Release Notes:
https://cmake.org/cmake/help/latest/release/3.24.html

Signed-off-by: Nick Hainke <vincent@systemli.org>

* tools/ninja: update to 1.11.1

Release Notes:
https://github.com/ninja-build/ninja/releases/tag/v1.11.1

Refresh patches:
- 100-make_jobserver_support.patch

Signed-off-by: Nick Hainke <vincent@systemli.org>

* tools: add option BUILD_ALL_HOST_TOOLS to compile all host tools

Add option to compile all host tools even if not needed.
This can be useful to prepare a universal precompiled host tools
archive to use in another buildroot and speedup compilation.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>

Signed-off-by: Nick Hainke <vincent@systemli.org>
Signed-off-by: Raihaan Shouhell <raihaanhimself@gmail.com>
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
Co-authored-by: Nick Hainke <vincent@systemli.org>
Co-authored-by: Raihaan Shouhell <raihaanhimself@gmail.com>
Co-authored-by: Christian Marangi <ansuelsmth@gmail.com>
2022-11-07 09:54:08 +08:00
Albert Xu
6c4e5d7b47
scripts/download.pl: Make the download tool configurable (#10291)
* rules.mk: Move DOWNLOAD_CHECK_CERTIFICATE to include/download.mk

Move DOWNLOAD_CHECK_CERTIFICATE to include/download.mk as it's a better
place than exporting it in the global rules.mk makefile.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>

* scripts/download.pl: Make the download tool configurable

Introduce a new option in the "Advanced configuration options" to
configure a custom download tool.

By declaring a string in "Use custom download tool" an user can force
what command to use to download package. With the string empty the
default tool used is curl, with wget as a fallback if not available.

download.pl supports 3 tools officially aria2c, curl and wget.
If one of the tool is used in this config, download.pl will use the
default args to make use of them.

If the provided string is different than aria2c, curl or wget, the command
is used as is and the download url will be appended at the end of such command.

While at it also tweak the tool selection logic and chose the tool only
once when the script is called and move aria2c specific variables in the
relevant section.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>

* scripts/download.pl: Pass aria2 config in ENV only

The aria2c command tries to load config from
${XDG_CONFIG_HOME:-${HOME}/.config}/aria2/aria2.conf by default,
which may result unexpected behavior.

As a replacement, people can use environment variable ARIA2C_OPTIONS
to custom arguments passed to aria2c like curl and wget below.
Including --conf-path=/path/to/config.conf in ARIA2C_OPTIONS can
also set a custom config file path easily if needed.

Signed-off-by: Zhang Hua <zhanghuadedn@gmail.com>

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
Signed-off-by: Zhang Hua <zhanghuadedn@gmail.com>
Co-authored-by: Christian Marangi <ansuelsmth@gmail.com>
Co-authored-by: Zhang Hua <zhanghuadedn@gmail.com>
2022-10-21 12:47:28 +08:00
coolsnowwolf
66d86d2371 scripts: sync with upstream 2022-10-19 20:39:19 +08:00
Josh Roys
06fc719231 scripts: always check certificates
Remove flags from wget and curl instructing them to ignore bad server
certificates. Although other mechanisms can protect against malicious
modifications of downloads, other vectors of attack may be available
to an adversary.

TLS certificate verification can be disabled by turning oof the
"Enable TLS certificate verification during package download" option
enabled by default in the "Global build settings" in "make menuconfig"

Signed-off-by: Josh Roys <roysjosh@gmail.com>
[ add additional info on how to disable this option ]
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
2022-09-27 16:54:52 +08:00
lean
9e2144f153 toolchain/gcc: switch to version 11 by default 2022-09-09 11:40:29 +08:00
lean
451fc0189f x86: load HuC firmware by default for Intel gen9+ 2022-08-30 16:25:01 +08:00
lean
91dd328375 config: rockchip: increase default kernel size to 32MB 2022-07-09 01:08:40 +08:00
aakkll
7d11f9ad7a
x86: added support to generate VHDX images (#8399)
Signed-off-by: aakkll <94471752+aakkll@users.noreply.github.com>

Co-authored-by: Oldřich Jedlička <oldium.pro@gmail.com>
2021-12-08 16:10:18 +08:00
Beginner
9b519e7747
base-files: add option to make /var persistent (#7719)
* base-files: add option to make /var persistent

In OpenWrt, /var is symlinked to /tmp by default. This is done to reduce
the amount of writes to the flash chip, which often have not the
greatest durability. As a result, things like DHCP or UPnP lease files,
are not persistent across reboots.

Since OpenWrt can run on devices with more durable storage, it makes
sense to have an option for a persistent /var. Add an option to make
/var persistent. When enabled, /var will no longer be symlinked to /tmp,
but /var/run will be symlink to /tmp/run, as it should contains only
files that should not be kept during reboot. The option is off by
default, to maintain the current behaviour.

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>

* base-files: fix option to make /var persistent

The option was initially named TARGET_ROOTFS_LN_VAR_TMP, and the check
was correct. When renaming the option to something more suitable, the
check was changed to check for n, but when an option is not set, it's
not n but empty. This results in the check always evaluating to false.
Fix the check by checking for y with ifneq.

Fixes: 57807f50ded6 ("base-files: add option to make /var persistent")

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>

Co-authored-by: Stijn Tintel <stijn@linux-ipv6.be>
2021-08-24 19:13:55 +08:00
coolsnowwolf
a7e39ff214 x86: gen EFI image only by default 2021-06-30 17:30:55 +08:00
coolsnowwolf
6f52d351ac disable ccache build 2021-06-28 11:37:29 +08:00
coolsnowwolf
f5a8fa17f9 target: use ccache by default 2021-06-22 10:59:48 +08:00
lean
ca7325417d luci-app-unblockmusic: add softfloat support for MIPS 2021-06-20 21:36:19 +08:00
lean
13ae7ee67d x86: add Hyper-V & PVE image build 2021-06-20 00:29:29 +08:00
lean
363a33eeca target: get rip of some compents by default 2021-06-19 21:55:38 +08:00
lean
e63bfdca57 ramips: fix mt7620a 8M support 2021-06-19 18:09:39 +08:00
lean
b45204b3d9 image: tune rootfs size 2021-06-15 18:30:21 +08:00
lean
02e29d9c7b reduce error probability on parallel build 2021-06-15 18:17:49 +08:00
lean
a3f1e837fd x64: fix grub2 booting 2021-06-15 17:58:07 +08:00
lean
7a50383ab6 add kernel 5.10 support and sync with upstream 2021-06-14 18:30:08 +08:00
coolsnowwolf
88aed2924e autocore: x86 change RPS/XPS handling to all CPUs 2020-07-06 16:13:07 +08:00
coolsnowwolf
0c95d8abf1 ipq40xx: rework with new v5.4 essedma eth setting 2020-07-03 12:17:04 +08:00
coolsnowwolf
33abeff31c Sync to snapshot kernel 5.4 version 2020-07-02 23:30:56 +08:00
coolsnowwolf
378ca0f03e x64: add EFI Image boot from emmc SSD support 2020-06-23 23:44:27 +08:00
coolsnowwolf
9f8000a6d6 sync build script for OpenWrt 19.07 2020-02-21 02:41:00 +08:00
AmadeusGhost
dcc9b1d8f7
bcm27xx: fix wireless dependence (#3161) 2020-02-18 12:15:28 +08:00
AmadeusGhost
61341499df
brcm2708: rename target to bcm27xx (#3098)
Signed-off-by: AmadeusGhost <42570690+AmadeusGhost@users.noreply.github.com>
2020-02-17 10:36:14 +08:00
coolsnowwolf
0653ca192e disable ipkg sign check 2020-02-04 00:34:50 +08:00
coolsnowwolf
ecea39f109 Revert "files: sync from openwrt v19.07 (#2690)"
This reverts commit 2289184a62.
2020-02-03 12:33:25 +08:00
CN_SZTL
951a74ad69
opkg: bump to latest git HEAD (#2914)
* opkg: bump to latest git HEAD

Signed-off-by: CN_SZTL <cnsztl@gmail.com>

* config: add option for opkg
2020-02-03 12:00:39 +08:00
AmadeusGhost
2289184a62
files: sync from openwrt v19.07 (#2690) 2020-02-01 16:50:37 +08:00
LEAN-ESX
6c5dcf4fb8 buildsystem: Make PIE ASLR option tristate 2020-01-17 10:55:30 -08:00
AmadeusGhost
5e942cf804 update some packages to latest version (#2760) 2020-01-13 09:47:13 +08:00
LEAN-ESX
4d696d393e ipq40xx: Qualcomm HW Crypto Engine fixes 2019-10-28 21:23:00 -07:00
LEAN-ESX
b6c3b13659 kernel: default disable KERNEL_NAMESPACES to reduce kernel size 2019-10-28 19:47:55 -07:00
coolsnowwolf
586ff91baa
Update Config-kernel.in 2019-10-26 17:49:48 +08:00
coolsnowwolf
a27bc59099
Update Config-kernel.in 2019-10-26 01:15:00 +08:00
LEAN-ESX
39a642a130 build: create JSON files containing image info 2019-10-20 05:03:52 -07:00
LEAN-ESX
f6984f6389 config: refresh default config for Raspberry Pi 2019-10-20 04:59:56 -07:00
LEAN-ESX
426b3643cc kernel:seccomp disable by default 2019-10-16 08:25:40 -07:00
LEAN-ESX
c78939e05c mips: enable KERNEL_MIPS_FPU_EMULATOR by default 2019-10-12 02:41:29 -07:00
LEAN-ESX
6ade5c53f0 kernel: update config 2019-10-10 04:09:54 -07:00
LEAN-ESX
adea03cdd8 Config.in: add Global Build options to enable cgroups 2019-10-09 22:27:12 -07:00
LEAN-ESX
5d7cb6ae8b x86: partition resize to 160MB 2019-10-08 08:41:28 -07:00
coolsnowwolf
b84866056e reduce Dommy DW33D kernel size by 10KB again and again and again and again 2019-04-15 15:49:08 +08:00
coolsnowwolf
d4e88aba32 Revert "fix SWAP support in ar71xx"
This reverts commit ee5d923e9e.
2019-02-26 22:26:31 +08:00
coolsnowwolf
ee5d923e9e fix SWAP support in ar71xx 2019-02-21 15:45:48 +08:00
coolsnowwolf
8a7c3566ea kernel: CC OPTIMIZE FOR PERFORMANCE 2019-02-13 22:20:29 +08:00
coolsnowwolf
bd78fe2226
enable KERNEL_MIPS_FPU_EMULATOR 2019-01-05 22:23:37 +08:00