blob: 1747214007bc18605b40e68dfb13d460c880140f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
#!/bin/sh -e
patch -p1 < kernel-no-perl.patch
cp .config oldconfig
make olddefconfig
# Store the build version in a file and a variable.
read -r ver <<EOF
$(make -s kernelrelease)
EOF
make
install -Dm644 "$(make -s image_name)" "$1/boot/vmlinuz-$ver"
install -Dm644 System.map "$1/boot/System.map-$ver"
install -Dm644 .config "$1/boot/Config-$ver"
|