Browse Source

linux26: fixed to only copy Module.symvers file if linux26-src package is installed

user/karasz/next/updates
Christian Wiese 15 years ago
parent
commit
2390b095cf
  1. 2
      base/linux26/linux26.conf

2
base/linux26/linux26.conf

@ -142,7 +142,7 @@ main_lx() {
# if module versions is enabled we need to copy 'Module.symvers'
# to be able to build external 3rd party kernel modules without
# 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/"
cp -v Module.symvers $root/lib/modules/${lx_kernelrelease}/build/
fi

Loading…
Cancel
Save