-
- # This is for new developer versions (New makefile)
- # cd $(DIR_APP) && make KLIB=/lib/modules/$(KVER)-$(VERSUFIX) KMODDIR=kernel install-modules
-
- # # The makefile put the modules to a wrong place move back...
- # cp -rf /lib/modules/$(KVER)-$(VERSUFIX)/lib /
- # rm -rf /lib/modules/$(KVER)-$(VERSUFIX)/lib
-
- # Xen
-ifeq "$(XEN)" "1"
-# remove dirty hacks. restores to the status before the dirty hacks
-# cd /usr/src/ && patch -Np1 < $(DIR_SRC)/src/patches/compat-xen-2.patch
-# mv /usr/src/linux/include/linux/tracepoint.h.xen /usr/src/linux/include/linux/tracepoint.h
-endif
-
- # Set Regulatory Domain to "EU" (use Channel 1-14 max. 20db)
- echo options cfg80211 ieee80211_regdom=EU > /etc/modprobe.d/cfg80211
-
- # Remove original kernel modules (compat wireless use the
- # place of newer kernels and so not overwrite it...)
- -rm -rf /lib/modules/$(KVER)-$(VERSUFIX)/kernel/drivers/net/wireless/ath?k
- -rm -rf /lib/modules/$(KVER)-$(VERSUFIX)/kernel/drivers/net/wireless/rtl818?.ko
+ # Install firmware udev files...
+ cd $(DIR_APP)/udev && install -m 644 50-compat_firmware.rules /etc/udev/rules.d/
+ cd $(DIR_APP)/udev && install -m 755 compat_firmware.sh /lib/udev/