Commit Graph

36 Commits

Author SHA1 Message Date
Tk-Glitch
caad3e526d linux514/515-tkg: Add an alternative fsync (FUTEX_WAIT_MULTIPLE) patchset that can be enabled alongside futex_waitv to have a fallback path on Proton/wine builds using the older Fsync implementation. Thanks to Kisak for reaching out to me and sharing the ideas and patches. 2021-11-03 18:56:32 +01:00
Dmitry Skvortsov
ecfb6fed4c linux513/514/515-tkg: Add futex_waitv() patchset from 5.16 as a toggle option (#342)
* linux513/514/515-tkg: Add futex_waitv() patchset from 5.16 as a toggle option

Not enabled by default since this make currents public Wine/Proton builds with old fsync interfaces broken.
https://github.com/ValveSoftware/wine/pull/128
https://github.com/andrealmeid/futex_waitv_patches

* Minor message/comment tweaks

Co-authored-by: Etienne JUVIGNY <ti3nou@gmail.com>
2021-11-01 19:16:47 +01:00
James Beddek
987eeca6b2 prepare: allow forcing LLVM_IAS (#314)
Signed-off-by: Theo Anderson <telans@posteo.de>
2021-10-05 11:53:14 +02:00
James Beddek
ea5b1b4b48 prepare: allow choosing oldconfig as the .config updating tool (#315)
* prepare: allow choosing oldconfig as the .config updating tool

Signed-off-by: Theo Anderson <telans@posteo.de>

* prepare: make oldconfig interactable

Signed-off-by: Theo Anderson <telans@posteo.de>
2021-09-29 20:11:07 +02:00
Adel Kara Slimane
05f874d877 Use Arch config by default + state when config_hardened is used (#305)
* prepare: fix config_hardened + make arch config default for all distros

Signed-off-by: Adel KARA SLIMANE <adel.ks@zegrapher.com>

* prepare: pring message about using hardnened config file

Signed-off-by: Adel KARA SLIMANE <adel.ks@zegrapher.com>

* README: update about the change with the default config file

Signed-off-by: Adel KARA SLIMANE <adel.ks@zegrapher.com>

* install.sh: additional dependencies

Signed-off-by: Adel KARA SLIMANE <adel.ks@zegrapher.com>
2021-09-21 12:20:35 +02:00
Adel Kara Slimane
00948fcff0 install.sh: improve Generic code path + Gentoo + tmpfs install (#304)
Signed-off-by: Adel KARA SLIMANE <adel.ks@zegrapher.com>
2021-09-18 16:00:05 +02:00
Tk-Glitch
93f0a4cf5e Disable _winesync by default instead of prompting. Also add a bit more details in the heading comment to mimic what the prompt did. 2021-09-08 13:20:59 +02:00
Yash Karandikar
0eaf5ba619 Add 5.14 to allowed versions (#302) 2021-09-05 14:45:13 +02:00
Tk-Glitch
17cc9f101b linux513-tkg: Update CacULE CPU scheduler patchset, introducing merged RBD
Added related options to .cfg
2021-08-15 19:44:03 +02:00
Tk-Glitch
cec8fc00ad cfg: Add a note regarding _anbox option being incompatible with 5.4.y
https://github.com/Frogging-Family/linux-tkg/issues/285
2021-07-23 20:16:14 +02:00
lordkitsuna
e9ece39ace Make vmlinux stripping optional (#265)
* Update PKGBUILD

* Update customization.cfg

add option to toggle vmlinux stripping

* Update customization.cfg

* Preserve the message about stripping vmlinux

Co-authored-by: Etienne JUVIGNY <ti3nou@gmail.com>
2021-06-17 12:51:11 +02:00
Tk-Glitch
9d3dc031ef Add a warning about clang LTO usage 2021-06-03 13:15:52 +02:00
Adel Kara Slimane
dea8847167 Various refactorings + Enable Clang LTO (#248)
* Enable Clang LTO

Signed-off-by: Adel KARA SLIMANE <adel.ks@zegrapher.com>

* prepare: improve kernel prompting and selection code

- Subversion are to be directly edited in the _kver_subver_map
variable at the top of the file
- _supported_kernels is theoretically not needed, but it's needed
for the prompting to happen with the correct order, since the
keys in _kver_subver_map are hash-ordered, which is not the
natural ordering

Signed-off-by: Adel KARA SLIMANE <adel.ks@zegrapher.com>

* prepare: update comment

* prepare: improve compiler selection and LTO enablement code path

Signed-off-by: Adel KARA SLIMANE <adel.ks@zegrapher.com>

* install.sh: use _prompt_from_array for distro selection

Signed-off-by: Adel KARA SLIMANE <adel.ks@zegrapher.com>

* prepare: move optiprofile prompt to _prompt_from_array

Signed-off-by: Adel KARA SLIMANE <adel.ks@zegrapher.com>

* prepare: improve cpu sched fallback code

* install.sh: move set -e at the top

* prepare: use arrays for HZ configs

* prepare: enable default selection in _prompt_from_array

* prepare: use _prompt_from_array for _rr_interval

Signed-off-by: Adel KARA SLIMANE <adel.ks@zegrapher.com>

* prepare: update _rr_interval prompting

* prepare: update and use config script for tickless

* prepare: use scripts/config accross the entire script

* prepare: change last lines to scripts/config

* prepare: small fixes

* customization.cfg: revert back to old values for _tickless

* prepare: revert back to old numbering for _rr_interval

Signed-off-by: Adel KARA SLIMANE <adel.ks@zegrapher.com>

* prepare: msg2 used _rr_interval

Signed-off-by: Adel KARA SLIMANE <adel.ks@zegrapher.com>

* prepare: be smarter/dumber with _rr_interval

Signed-off-by: Adel KARA SLIMANE <adel.ks@zegrapher.com>

* prepare: remove last manual interventions to .config

* prepare: fix condition

Signed-off-by: Adel KARA SLIMANE <adel.ks@zegrapher.com>

* prepare: improve cpu march handling and implement prompt

Making `make` prompt wasn't working on my Gentoo for a
reason I don't understand anymore. The configs are unset
by the script. So it always goes for generic by default.
Maybe they need to be entirely deleted from the .config
file.

Signed-off-by: Adel KARA SLIMANE <adel.ks@zegrapher.com>

* prepare: fix name for MuQSS.c

* prepare: use _sched for scheduler source code files

* install.sh: use sudo to clean root owned files in linux-src-git

* prepare: remove useless code

* prepare: fix issue with MuQSS

* Add CacULE scheduler

Signed-off-by: Adel KARA SLIMANE <adel.ks@zegrapher.com>

* 5.13 rc4

Signed-off-by: Adel KARA SLIMANE <adel.ks@zegrapher.com>

* prepare: Remove voluntary_preempt, OFenable and disable_acpi_cpufreq options

* prepare: Prevent config prompt w/ modprobed-db

Rebase of @CodingKoopa PR

Signed-off-by: Adel KARA SLIMANE <adel.ks@zegrapher.com>

* prepare: Empty LOCALVERSION config option for Arch at the correct spot

@CodingKoopa spotted the issue and reported it, thanks!

Signed-off-by: Adel KARA SLIMANE <adel.ks@zegrapher.com>

* prepare: use _enable _undefine and _disable wrappers

Signed-off-by: Adel KARA SLIMANE <adel.ks@zegrapher.com>

* Restore the state tracker for makepkg usage

* Fix tickless array selection order for nohz idle/hz periodic

* Also handle the disabling part of the generic march selector

* Replace _undefine() calls with _disable()

* Preserve the case of config options passed to scripts/config

* Echo the CONFIG_EXPERT options without blank lines

And with a header/footer
Makes searching for config setting bugs easier

* prepare: uppercase config options with "tr"

Co-authored-by: Etienne JUVIGNY <ti3nou@gmail.com>
2021-06-01 20:14:47 +02:00
Koopa
6f71f4635e prepare: Prevent config prompt w/ modprobed-db. (#251) 2021-05-31 13:26:38 +02:00
Tk-Glitch
50672b9f51 cfg: Add missing kernel versions and cpu schedulers to their respective comments 2021-05-31 13:24:37 +02:00
Tk-Glitch
db16339ccd Remove voluntary_preempt, OFenable and disable_acpi_cpufreq options
The last one is kinda broken, and the two others don't really have their place in here.
Also enable zfsfix by default and make it a legacy option we can move out of the main options.
2021-05-31 13:23:50 +02:00
Tk-Glitch
4307fc377d cfg: Enable fsync & futex2 by default 2021-05-30 20:55:24 +02:00
Tk-Glitch
8140128777 Handle CacULE's 2000Hz tickrate option 2021-05-30 20:29:53 +02:00
Adel Kara Slimane
54c74a72c3 Fix: make Arch be able to use _configfile (#239)
* prepare: fix custom _configfile usage for Arch

* Remove yes from localmodconfig make call

* customization.cfg: tell that modprobed-db can prompt the user

* prepare: reset LOCALVERSION in .config to empty string

Using a kernelconfig.new with a LOCALVERSION set makes the script
set it twice in the package name.
2021-05-17 16:42:40 +02:00
Tk-Glitch
9520c8aba8 config: Add a note regarding profile settings overriding user settings
https://github.com/Frogging-Family/linux-tkg/issues/238
2021-05-02 15:32:02 +02:00
Adel Kara Slimane
89cd81e726 install.sh: Add convenience script for generic install (#227)
* install.sh: simplify ccache code

* install.sh: add generic distro install

* README: update with Generic distro install

* install.sh: update help messages
2021-04-30 18:32:30 +02:00
Adel Kara Slimane
e7d97fc497 install.sh: improve git fetching and stop producing source code packages (#222)
* install.sh: improve git source code fetching

* install.sh: add install dependency for Fedora 33+

* install.sh, customization.cfg: cosmetic improvements

* install.sh: DEB, RMP: do not create devel packages.

They are not needed for DKMS
and that was the only point to why they were there to begin with
2021-04-16 21:09:21 +02:00
Adel Kara Slimane
de79aadd81 Add toggle for default TCP algorithm (#210)
* Make YEAH default

closes #172

* Make default TCP algorithm choice a config toggle

* Add Vegas TCP algorithm, fix westwood

* Simplify TCP alg choice code

* tcp algs: fix mistake from copy-pasta
2021-04-16 21:05:58 +02:00
Adel Kara Slimane
b595006ffb Some extra features for convenience (#209)
* Enable setting modprobed-db database path

This enables using different dbs and be able to build the kernel for others,  with modprobed-db

* Save generated .config file back to user's git folder, for eventual re-use

* Set local version for all distros

* install.sh: handle user provided .config files

Update dosctring for the _configfile var in customization.cfg

* install.sh: fix kernel version prompt broken newlines

* Copy final config file as kernelconfig.new
2021-04-03 17:38:48 +02:00
Tk-Glitch
cfb19b10c6 Add support for versioned x86-64 optimizations and zen3 from Graysky's CPU opts patchset (depends on GCC11) 2021-03-30 17:08:19 +02:00
Tk-Glitch
064e5484bb Add support for MNATIVE_INTEL and MNATIVE_AMD config options in graysky's cpu opts patchset and default to prompt 2021-03-30 16:26:31 +02:00
Tk-Glitch
05128199df linux511-tkg: Add a patch for winesync support - https://repo.or.cz/linux/zf.git/shortlog/refs/heads/winesync 2021-03-13 23:14:32 +01:00
Adel Kara Slimane
9e81e3bd1d install.sh: add git mirror and code cleanup (#192)
Closes #181
2021-03-09 16:58:59 +01:00
Tk-Glitch
d713d06d91 cfg: Add 5.11 to the array of _version options
We are supporting this for more than a week 🐸

Fixes https://github.com/Frogging-Family/linux-tkg/issues/186
2021-02-24 02:26:17 +01:00
Tk-Glitch
ae9d056f35 Get rid of the config_expert config toggle. We're enabling CONFIG_EXPERT and injecting config entries for unattended builds when futex2 is enabled, which is the only usecase we want to explicitly support at this point in time. 2021-02-23 19:43:41 +01:00
Tk-Glitch
f3eba51c33 linux510/511-tkg: Offer futex2 patchset as a toggle option
- Enables CONFIG_EXPERT automatically when futex2 is enabled
- Adds the necessary entries to the config for unattended building (suppress prompts from having CONFIG_EXPERT enabled)
2021-02-18 17:28:55 +01:00
Tk-Glitch
6b67e77d5b Put CONFIG_EXPERT behind a .cfg toggle and disable by default. This should stay optional.
Fixes https://github.com/Frogging-Family/linux-tkg/issues/156
2021-01-15 19:56:26 +01:00
Torge Matthies
c97f313860 Get userpatches from version-specific subdirectories. (#154) 2021-01-14 16:50:14 +01:00
Sukid
1c22d6853c Option to enable Binder and Ashmem modules for use with Anbox (#122)
* Add the option to enable Binder and Ashmem

These kernel modules are needed for Anbox, and maybe other android projects as well.

* Delete prepare

* Add files via upload

* Add binder and ashmem option to prepare

* Got rid of the extra prepare file, oops
2020-11-20 10:42:14 +01:00
Tony
8476633083 Add custom LLVM compiler path support (#102) 2020-10-27 21:55:39 +01:00
Tk-Glitch
e9fb606121 Move to unified builder as default
The previous building scripts and patches will be moved to legacy
2020-10-26 22:46:56 +01:00