title: Building RaLink RT2860 WiFi Network driver (kernel 3.0.4 x64)
body: <p>I have a problem to build the rt2860 wifi driver.
  Its the first time i have to do this.
  I downloaded the driver from the RaLink website, modified it and then i ran make as root.</p>
  
  <pre><code>root:2010_07_16_RT2860_Linux_STA_v2.4.0.0/ $ make
  make -C tools
  make[1]: Entering directory `/home/root/2010_07_16_RT2860_Linux_STA_v2.4.0.0/tools'
  gcc -g bin2h.c -o bin2h
  make[1]: Leaving directory `/home/root/2010_07_16_RT2860_Linux_STA_v2.4.0.0/tools'
  /home/root/2010_07_16_RT2860_Linux_STA_v2.4.0.0/tools/bin2h
  cp -f os/linux/Makefile.6 /home/root/2010_07_16_RT2860_Linux_STA_v2.4.0.0/os/linux/Makefile
  make -C /lib/modules/3.0.4/build SUBDIRS=/home/root/2010_07_16_RT2860_Linux_STA_v2.4.0.0/os/linux modules
  make[1]: Entering directory `/lib/modules/3.0.4/build'
  make[1]: *** No rule to make target `modules'.  Stop.
  make[1]: Leaving directory `/lib/modules/3.0.4/build'
  make: *** [LINUX] Error 2
  </code></pre>
  
  <p>This error message makes me assume, that there should be a makefile with a target named 'modules'. The build folder is absolutely empty... what to do now? Should i get the specific kernel sources and place them into /lib/modules/3.x.x/build/?</p>
  
  <p>EDIT:</p>
  
  <p>I also downloaded the firmware files and
  my distri. is Crux.</p>
  
  <pre><code>root:~/ $ grep -i rt2800pci /boot/linux-3.0.4-x64
  # CONFIG_RT2800PCI is not set
  
  root:~/ $ for BUSID in $(lspci | awk '{ IGNORECASE=1 } /net/ { print $1 }');  do lspci -s $BUSID -m; lspci -s $BUSID -n; done
  03:00.0 "Network controller" "RaLink" "RT2860" "Unknown vendor 1a3b" "Device 1059"
  03:00.0 0280: 1814:0781
  </code></pre>