b4a74e9d52
This enables X86_UMIP among other things, also restores TRANSPARENT_HUGEPAGE_MADVISE=y (which was set to _ALWAYS again, see [1]). How to know what is the policy to enable or disable any option? simple: we follow what upstream defaults to, e.g: if an option is disabled by default (N), we don't enable it unless it's explicitely required. For any other options that can be built as modules, we build them as modules. So the linux kernel configuration that void uses depends on what upstream sets by default. For now this only contains working configurations for x86 and x86_64. People with working hardware should adapt this configuration to the target arch appropiately. Built and tested on x86 and x86_64. [1] https://blog.nelhage.com/post/transparent-hugepages/ [ci skip]
7 lines
239 B
Bash
Executable file
7 lines
239 B
Bash
Executable file
#!/bin/sh
|
|
mod=$1
|
|
mkdir -p usr/lib/debug/${mod%/*}
|
|
$OBJCOPY --only-keep-debug --compress-debug-sections $mod usr/lib/debug/$mod
|
|
$OBJCOPY --add-gnu-debuglink=${DESTDIR}/usr/lib/debug/$mod $mod
|
|
/usr/bin/$STRIP --strip-debug $mod
|
|
gzip -9 $mod
|