147 |
cd ${SRCDIR} |
cd ${SRCDIR} |
148 |
kernel_apply_patches || die |
kernel_apply_patches || die |
149 |
|
|
150 |
|
# fix permissions after the patchwork |
151 |
|
# gnu patch doesn't support git-style file mode |
152 |
|
if [ -e tools/objtool/sync-check.sh ] |
153 |
|
then |
154 |
|
chmod +x tools/objtool/sync-check.sh || die |
155 |
|
fi |
156 |
|
|
157 |
# fixes INSTALL_PATH to /boot and EXTRAVERSION |
# fixes INSTALL_PATH to /boot and EXTRAVERSION |
158 |
sed -i -e 's:#export\tINSTALL_PATH:export\tINSTALL_PATH:' \ |
sed -i -e 's:#export\tINSTALL_PATH:export\tINSTALL_PATH:' \ |
159 |
-e "s:^\(EXTRAVERSION =\).*:\1 ${EXTRAVERSION}:" Makefile || die |
-e "s:^\(EXTRAVERSION =\).*:\1 ${EXTRAVERSION}:" Makefile || die |