|
|
cd ${S} | cd ${S} |
| |
if kernel_is 2 6; then | if kernel_is 2 6; then |
|
if [ "$KV_PATCH" -ge "18" ] ; then |
|
epatch ${FILESDIR}/${P}-post2.6.17-compilefix.patch || die |
|
fi |
|
if [ "$KV_PATCH" -ge "22" ] ; then |
|
epatch ${FILESDIR}/${P}-post2.6.22-compilefix.patch || die |
|
fi |
if [ "$KV_PATCH" -lt "18" ] ; then | if [ "$KV_PATCH" -lt "18" ] ; then |
sed -i \ | sed -i \ |
-e 's|utsrelease.h|version.h|g' \ | -e 's|utsrelease.h|version.h|g' \ |