Added menuconfig prompt
This commit is contained in:
parent
68ec8b4775
commit
30e688c79a
1 changed files with 16 additions and 1 deletions
|
@ -17,7 +17,19 @@ DIR="/usr/src/${KERNEL}"
|
|||
mkdir "${DIR}"
|
||||
|
||||
# Install build dependancies
|
||||
apt install build-essential fakeroot dpkg-dev perl libssl-dev bc gnupg dirmngr libelf-dev flex bison
|
||||
apt install \
|
||||
build-essential \
|
||||
fakeroot \
|
||||
dpkg-dev \
|
||||
perl \
|
||||
libssl-dev \
|
||||
bc \
|
||||
gnupg \
|
||||
dirmngr \
|
||||
libelf-dev \
|
||||
flex \
|
||||
bison \
|
||||
libncurses-dev
|
||||
|
||||
# Go to build dir
|
||||
cd "${DIR}" || exit
|
||||
|
@ -34,6 +46,9 @@ cd "linux-${KERNEL}" || exit
|
|||
# Get old config
|
||||
make olddefconfig
|
||||
|
||||
# Show kernel menu
|
||||
make menuconfig
|
||||
|
||||
# Some optimizations
|
||||
./scripts/config -d CONFIG_MODULE_SIG_ALL -d CONFIG_MODULE_SIG_KEY -d CONFIG_SYSTEM_TRUSTED_KEYS
|
||||
./scripts/config -d CONFIG_DEBUG_INFO
|
||||
|
|
Loading…
Reference in a new issue