10 lines
323 B
Bash
Executable File
10 lines
323 B
Bash
Executable File
set -e
|
|
cores=$(nproc)
|
|
echo "${cores}"
|
|
/usr/bin/make clean
|
|
/usr/bin/make defconfig
|
|
cat ./.config | python3 /update_kernel_make_config.py --file /linux/kernel_options.json
|
|
cat ./.config | python3 /update_kernel_make_config.py --file /linux/kernel_options.json > ./.config
|
|
/usr/bin/make olddefconfig
|
|
/usr/bin/make -j ${cores}
|