|
|
@ -142,7 +142,7 @@ main_lx() { |
|
|
|
# if module versions is enabled we need to copy 'Module.symvers' |
|
|
|
# if module versions is enabled we need to copy 'Module.symvers' |
|
|
|
# to be able to build external 3rd party kernel modules without |
|
|
|
# to be able to build external 3rd party kernel modules without |
|
|
|
# rebuilding the whole kernel using the linux26-src package |
|
|
|
# rebuilding the whole kernel using the linux26-src package |
|
|
|
if grep -q "CONFIG_MODVERSIONS=y" .config ; then |
|
|
|
if grep -q "CONFIG_MODVERSIONS=y" .config && pkginstalled linux26-src ; then |
|
|
|
echo "Copying Module.symvers -> /lib/modules/${lx_kernelrelease}/build/" |
|
|
|
echo "Copying Module.symvers -> /lib/modules/${lx_kernelrelease}/build/" |
|
|
|
cp -v Module.symvers $root/lib/modules/${lx_kernelrelease}/build/ |
|
|
|
cp -v Module.symvers $root/lib/modules/${lx_kernelrelease}/build/ |
|
|
|
fi |
|
|
|
fi |
|
|
|