Skip to content
This repository was archived by the owner on Nov 3, 2020. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 6 additions & 4 deletions base/configs/config.5.8
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
#
# Automatically generated file; DO NOT EDIT.
# Linux/x86 5.8.1-arch1 Kernel Configuration
# Linux/x86 5.8.6-arch1 Kernel Configuration
#
CONFIG_CC_VERSION_TEXT="gcc (GCC) 10.1.0"
CONFIG_CC_VERSION_TEXT="gcc (GCC) 10.2.0"
CONFIG_CC_IS_GCC=y
CONFIG_GCC_VERSION=100100
CONFIG_LD_VERSION=234000000
CONFIG_GCC_VERSION=100200
CONFIG_LD_VERSION=235000000
CONFIG_CLANG_VERSION=0
CONFIG_CC_CAN_LINK=y
CONFIG_CC_CAN_LINK_STATIC=y
Expand Down Expand Up @@ -4576,6 +4576,7 @@ CONFIG_SPI_TLE62X0=m
CONFIG_SPI_SLAVE=y
CONFIG_SPI_SLAVE_TIME=m
CONFIG_SPI_SLAVE_SYSTEM_CONTROL=m
CONFIG_SPI_DYNAMIC=y
CONFIG_SPMI=m
CONFIG_HSI=m
CONFIG_HSI_BOARDINFO=y
Expand Down Expand Up @@ -8890,6 +8891,7 @@ CONFIG_CLKDEV_LOOKUP=y
CONFIG_HAVE_CLK_PREPARE=y
CONFIG_COMMON_CLK=y
CONFIG_COMMON_CLK_WM831X=m
CONFIG_CLK_HSDK=y
CONFIG_COMMON_CLK_MAX77686=m
CONFIG_COMMON_CLK_MAX9485=m
CONFIG_COMMON_CLK_RK808=m
Expand Down
34 changes: 17 additions & 17 deletions compile_setup.sh
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
#!/usr/bin/bash

############################### VERSION SELECTION ###############################
############################### VERSION SELECTION ###############################

# User did not enter a major version selection, prompt for one
if [ "$1" = "" ]; then
echo "Which kernel version do you want to build?"
select major_version in "4.19" "5.3" "5.4" "5.5" "5.6" "5.7"; do
select major_version in "4.19" "5.3" "5.4" "5.5" "5.6" "5.7" "5.8"; do
break;
done
else
Expand All @@ -23,23 +23,23 @@ case $major_version in
release_number=1
;;
"5.4")
version="5.4.6"
version="5.4.63"
release_number=1
;;
"5.5")
version="5.5.13"
version="5.5.19"
release_number=1
;;
"5.6")
version="5.6.19"
release_number=1
;;
"5.7")
version="5.7.15"
version="5.7.19"
release_number=1
;;
"5.8")
version="5.8.1"
version="5.8.6"
release_number=1
;;
*)
Expand All @@ -48,11 +48,11 @@ case $major_version in
;;
esac

############################### VARIABLES ###############################
############################### VARIABLES ###############################

cache_folder=.cache
build_folder=build-${version}-${release_number}
kernel_repository=git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git
kernel_repository=git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git
kernel_src_folder=linux-stable
patches_repository=git://github.com/qzed/linux-surface.git
patches_src_folder=linux-surface
Expand All @@ -62,7 +62,7 @@ if [ "$major_version" = "4.19" ]; then
kernel_suffix="-surface-lts"
fi

############################### CACHE UPDATES ###############################
############################### CACHE UPDATES ###############################

# Cache is used for holding frequently used repositories
echo "Updating cache ..."
Expand All @@ -83,24 +83,24 @@ else
git clone $patches_repository $patches_src_folder
fi

# Exit the cache folder
# Exit the cache folder
cd ..

############################### BUILD UPDATES ###############################
############################### BUILD UPDATES ###############################

# Ignore empty file pattern matches
shopt -s nullglob

# Copy templates
echo "Installing fresh set of template files ..."
rm -rf $build_folder
mkdir $build_folder
cp base/templates/* $build_folder
echo "Installing fresh set of template files ..."
rm -rf $build_folder
mkdir $build_folder
cp base/templates/* $build_folder

# Enter the newly created build directory
cd $build_folder

# Add kernel repository
# Add kernel repository
echo "Creating symlink to kernel source code ..."
ln -s ../$cache_folder/$kernel_src_folder $kernel_src_folder

Expand Down Expand Up @@ -156,7 +156,7 @@ mv $versioned_config config
# Exit the build directory
cd ..

############################### NEXT INSTRUCTIONS ###############################
############################### NEXT INSTRUCTIONS ###############################

nproc=`grep -c ^processor /proc/cpuinfo`
echo ""
Expand Down