99 |
# fixes INSTALL_PATH to /boot and EXTRAVERSION |
# fixes INSTALL_PATH to /boot and EXTRAVERSION |
100 |
sed -i -e 's:#export\tINSTALL_PATH:export\tINSTALL_PATH:' \ |
sed -i -e 's:#export\tINSTALL_PATH:export\tINSTALL_PATH:' \ |
101 |
-e "s:^\(EXTRAVERSION =\).*:\1 ${EXTRAVERSION}:" Makefile || die |
-e "s:^\(EXTRAVERSION =\).*:\1 ${EXTRAVERSION}:" Makefile || die |
102 |
|
|
103 |
|
# fix sublevel version with 3.x kernels and higher |
104 |
|
local kver=$(echo ${PVER} | sed "s:\.::g") |
105 |
|
if [[ ${PVER%%.*} -gt 2 ]] |
106 |
|
then |
107 |
|
local sublevel="$(echo ${PVER} | cut -d. -f3)" |
108 |
|
sed -i "s:^\(SUBLEVEL =\).*:\1 ${sublevel}:" Makefile || die |
109 |
|
fi |
110 |
} |
} |
111 |
|
|
112 |
kernel_src_compile() |
kernel_src_compile() |