diff options
Diffstat (limited to 'madwifi/build')
-rwxr-xr-x | madwifi/build/madwifi.SlackBuild | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/madwifi/build/madwifi.SlackBuild b/madwifi/build/madwifi.SlackBuild index 6905b91f..94b7a48a 100755 --- a/madwifi/build/madwifi.SlackBuild +++ b/madwifi/build/madwifi.SlackBuild @@ -54,6 +54,8 @@ # 0.9.3-1: 15/mar/2007 by Eric Hameleers <alien@slackware.com> # * Long-anticipated new release, compatible with kernel > 2.6.18 # Made this SlackBuild actually able to build snapshot releases. +# * Add "make prepare" for 2.6 kernel sources so that the modules +# will build correctly for SMP kernels. # ----------------------------------------------------------------------------- # Change SNAPSHOT from "" to "yes" below if you're building a snapshot release. @@ -207,7 +209,9 @@ tar xzvf "$SOURCE" # Madwifi expects the sources at the location that the link # "/lib/modules/<kernelversion>/build" points to.... so be it. cd ${KSRC} -make clean oldconfig dep +[ $PATCHLEVEL -eq 4 ] && \ + make clean oldconfig dep || \ + make clean oldconfig prepare cd - if [ -z $SNAPSHOT ]; then |