Skip to content
This repository was archived by the owner on Nov 3, 2020. It is now read-only.

Commit a0be98d

Browse files
authored
Merge pull request #104 from cptmorgan-rh/master
Add 5.8 to case statement; update kernel versions in compile_setup.sh
2 parents 30c8aae + 3427cfc commit a0be98d

File tree

2 files changed

+23
-21
lines changed

2 files changed

+23
-21
lines changed

base/configs/config.5.8

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
#
22
# Automatically generated file; DO NOT EDIT.
3-
# Linux/x86 5.8.1-arch1 Kernel Configuration
3+
# Linux/x86 5.8.6-arch1 Kernel Configuration
44
#
5-
CONFIG_CC_VERSION_TEXT="gcc (GCC) 10.1.0"
5+
CONFIG_CC_VERSION_TEXT="gcc (GCC) 10.2.0"
66
CONFIG_CC_IS_GCC=y
7-
CONFIG_GCC_VERSION=100100
8-
CONFIG_LD_VERSION=234000000
7+
CONFIG_GCC_VERSION=100200
8+
CONFIG_LD_VERSION=235000000
99
CONFIG_CLANG_VERSION=0
1010
CONFIG_CC_CAN_LINK=y
1111
CONFIG_CC_CAN_LINK_STATIC=y
@@ -4576,6 +4576,7 @@ CONFIG_SPI_TLE62X0=m
45764576
CONFIG_SPI_SLAVE=y
45774577
CONFIG_SPI_SLAVE_TIME=m
45784578
CONFIG_SPI_SLAVE_SYSTEM_CONTROL=m
4579+
CONFIG_SPI_DYNAMIC=y
45794580
CONFIG_SPMI=m
45804581
CONFIG_HSI=m
45814582
CONFIG_HSI_BOARDINFO=y
@@ -8890,6 +8891,7 @@ CONFIG_CLKDEV_LOOKUP=y
88908891
CONFIG_HAVE_CLK_PREPARE=y
88918892
CONFIG_COMMON_CLK=y
88928893
CONFIG_COMMON_CLK_WM831X=m
8894+
CONFIG_CLK_HSDK=y
88938895
CONFIG_COMMON_CLK_MAX77686=m
88948896
CONFIG_COMMON_CLK_MAX9485=m
88958897
CONFIG_COMMON_CLK_RK808=m

compile_setup.sh

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
#!/usr/bin/bash
22

3-
############################### VERSION SELECTION ###############################
3+
############################### VERSION SELECTION ###############################
44

55
# User did not enter a major version selection, prompt for one
66
if [ "$1" = "" ]; then
77
echo "Which kernel version do you want to build?"
8-
select major_version in "4.19" "5.3" "5.4" "5.5" "5.6" "5.7"; do
8+
select major_version in "4.19" "5.3" "5.4" "5.5" "5.6" "5.7" "5.8"; do
99
break;
1010
done
1111
else
@@ -23,23 +23,23 @@ case $major_version in
2323
release_number=1
2424
;;
2525
"5.4")
26-
version="5.4.6"
26+
version="5.4.63"
2727
release_number=1
2828
;;
2929
"5.5")
30-
version="5.5.13"
30+
version="5.5.19"
3131
release_number=1
3232
;;
3333
"5.6")
3434
version="5.6.19"
3535
release_number=1
3636
;;
3737
"5.7")
38-
version="5.7.15"
38+
version="5.7.19"
3939
release_number=1
4040
;;
4141
"5.8")
42-
version="5.8.1"
42+
version="5.8.6"
4343
release_number=1
4444
;;
4545
*)
@@ -48,11 +48,11 @@ case $major_version in
4848
;;
4949
esac
5050

51-
############################### VARIABLES ###############################
51+
############################### VARIABLES ###############################
5252

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

65-
############################### CACHE UPDATES ###############################
65+
############################### CACHE UPDATES ###############################
6666

6767
# Cache is used for holding frequently used repositories
6868
echo "Updating cache ..."
@@ -83,24 +83,24 @@ else
8383
git clone $patches_repository $patches_src_folder
8484
fi
8585

86-
# Exit the cache folder
86+
# Exit the cache folder
8787
cd ..
8888

89-
############################### BUILD UPDATES ###############################
89+
############################### BUILD UPDATES ###############################
9090

9191
# Ignore empty file pattern matches
9292
shopt -s nullglob
9393

9494
# Copy templates
95-
echo "Installing fresh set of template files ..."
96-
rm -rf $build_folder
97-
mkdir $build_folder
98-
cp base/templates/* $build_folder
95+
echo "Installing fresh set of template files ..."
96+
rm -rf $build_folder
97+
mkdir $build_folder
98+
cp base/templates/* $build_folder
9999

100100
# Enter the newly created build directory
101101
cd $build_folder
102102

103-
# Add kernel repository
103+
# Add kernel repository
104104
echo "Creating symlink to kernel source code ..."
105105
ln -s ../$cache_folder/$kernel_src_folder $kernel_src_folder
106106

@@ -156,7 +156,7 @@ mv $versioned_config config
156156
# Exit the build directory
157157
cd ..
158158

159-
############################### NEXT INSTRUCTIONS ###############################
159+
############################### NEXT INSTRUCTIONS ###############################
160160

161161
nproc=`grep -c ^processor /proc/cpuinfo`
162162
echo ""

0 commit comments

Comments
 (0)