113 |
KBRANCH="${BRANCH}" |
KBRANCH="${BRANCH}" |
114 |
SPECIAL_VARS="${SPECIAL_VARS} KPVER KPBUILD KBRANCH" |
SPECIAL_VARS="${SPECIAL_VARS} KPVER KPBUILD KBRANCH" |
115 |
|
|
116 |
|
# dummy function to apply kernel patches |
117 |
|
kernel_apply_patches() |
118 |
|
{ |
119 |
|
return 0 |
120 |
|
} |
121 |
|
|
122 |
kernel_src_prepare() |
kernel_src_prepare() |
123 |
{ |
{ |
124 |
munpack ${SRCFILE} || die |
munpack ${SRCFILE} || die |
129 |
chmod -R a+r-w+X,u+w ${SRCDIR} || die |
chmod -R a+r-w+X,u+w ${SRCDIR} || die |
130 |
|
|
131 |
cd ${SRCDIR} |
cd ${SRCDIR} |
132 |
|
kernel_apply_patches || die |
133 |
|
|
134 |
# fixes INSTALL_PATH to /boot and EXTRAVERSION |
# fixes INSTALL_PATH to /boot and EXTRAVERSION |
135 |
sed -i -e 's:#export\tINSTALL_PATH:export\tINSTALL_PATH:' \ |
sed -i -e 's:#export\tINSTALL_PATH:export\tINSTALL_PATH:' \ |