Several improvements (#907)
* Make _llvm_ias="1" the default in customization.cfg * Remove all git related files after copying source files * Update PREEMPT_RT's supported kernel subversion and patch revision for 6.8 * Make _libunwind_replace a variable in customization.cfg * Revise the description of native_intel * Add ECHO CPU scheduler in customization.cfg
This commit is contained in:
committed by
GitHub
parent
c81eeaec81
commit
2e887a2d8e
@@ -112,9 +112,7 @@ if [ "$1" = "install" ] || [ "$1" = "config" ]; then
|
||||
# Run init script that is also run in PKGBUILD, it will define some env vars that we will use
|
||||
_tkg_initscript
|
||||
|
||||
if [[ "${_compiler}" = "llvm" && "${_distro}" =~ ^(Generic|Gentoo)$ ]]; then
|
||||
read -p "Replace \"libunwind\" with \"llvm-libunwind\" ? Y/[n]:" _libunwind_replace
|
||||
if [[ "${_libunwind_replace}" =~ ^(y|yes|Yes|Y)$ ]]; then
|
||||
if [[ "${_compiler}" = "llvm" && "${_distro}" =~ ^(Generic|Gentoo)$ && "${_libunwind_replace}" = "true" ]]; then
|
||||
export LDFLAGS_MODULE="-unwindlib=libunwind"
|
||||
export HOSTLDFLAGS="-unwindlib=libunwind"
|
||||
fi
|
||||
@@ -399,7 +397,7 @@ if [ "$1" = "install" ]; then
|
||||
sudo rm -rf "/usr/src/$_headers_folder_name"
|
||||
fi
|
||||
sudo cp -R . "/usr/src/$_headers_folder_name"
|
||||
sudo rm -rf "/usr/src/$_headers_folder_name/.git"
|
||||
sudo rm -rf "/usr/src/$_headers_folder_name"/.git*
|
||||
cd "/usr/src/$_headers_folder_name"
|
||||
|
||||
msg2 "Installing modules"
|
||||
|
Reference in New Issue
Block a user