$(LINUX_DIR)/crypto/twofish_common.ko \
$(LINUX_DIR)/crypto/wp512.ko \
$(LINUX_DIR)/crypto/twofish_generic.ko
- ifdef CONFIG_LINUX_3_1
- FILES += $(LINUX_DIR)/crypto/blowfish.ko
- else
- FILES += \
+ FILES += \
$(LINUX_DIR)/crypto/blowfish_common.ko \
- $(LINUX_DIR)/crypto/blowfish_generic.ko
- endif
- ifeq ($(CONFIG_LINUX_3_1)$(CONFIG_LINUX_3_2)),)
- FILES += $(LINUX_DIR)/crypto/serpent.ko
- else
- FILES += $(LINUX_DIR)/crypto/serpent_generic.ko
- endif
+ $(LINUX_DIR)/crypto/blowfish_generic.ko \
+ $(LINUX_DIR)/crypto/serpent_generic.ko
$(call AddDepends/crypto)
endef
KCONFIG:=CONFIG_R8169 \
CONFIG_R8169_NAPI=y \
CONFIG_R8169_VLAN=n
- ifndef CONFIG_LINUX_3_1
- FILES:=$(LINUX_DIR)/drivers/net/ethernet/realtek/r8169.ko
- else
- FILES:=$(LINUX_DIR)/drivers/net/r8169.ko
- endif
+ FILES:=$(LINUX_DIR)/drivers/net/ethernet/realtek/r8169.ko
AUTOLOAD:=$(call AutoLoad,50,r8169)
endef
KCONFIG:=CONFIG_E1000 \
CONFIG_E1000_DISABLE_PACKET_SPLIT=n \
CONFIG_E1000_NAPI=y
- ifndef CONFIG_LINUX_3_1
- FILES:=$(LINUX_DIR)/drivers/net/ethernet/intel/e1000/e1000.ko
- else
- FILES:=$(LINUX_DIR)/drivers/net/e1000/e1000.ko
- endif
+ FILES:=$(LINUX_DIR)/drivers/net/ethernet/intel/e1000/e1000.ko
AUTOLOAD:=$(call AutoLoad,35,e1000)
endef
TITLE:=Intel(R) PRO/1000 PCIe cards kernel support
DEPENDS:=@PCIE_SUPPORT
KCONFIG:=CONFIG_E1000E
- ifndef CONFIG_LINUX_3_1
- FILES:=$(LINUX_DIR)/drivers/net/ethernet/intel/e1000e/e1000e.ko
- else
- FILES:=$(LINUX_DIR)/drivers/net/e1000e/e1000e.ko
- endif
+ FILES:=$(LINUX_DIR)/drivers/net/ethernet/intel/e1000e/e1000e.ko
AUTOLOAD:=$(call AutoLoad,50,e1000e)
endef
KCONFIG:=CONFIG_TIGON3
DEPENDS:=+!TARGET_brcm47xx:kmod-libphy @!TARGET_ubicom32
SUBMENU:=$(NETWORK_DEVICES_MENU)
- ifndef CONFIG_LINUX_3_1
- FILES:=$(LINUX_DIR)/drivers/net/ethernet/broadcom/tg3.ko
- else
- FILES:=$(LINUX_DIR)/drivers/net/tg3.ko
- endif
+ FILES:=$(LINUX_DIR)/drivers/net/ethernet/broadcom/tg3.ko
AUTOLOAD:=$(call AutoLoad,50,tg3)
endef
CONFIG_PPP \
CONFIG_PPP_ASYNC \
CONFIG_SLHC
- ifndef CONFIG_LINUX_3_1
- FILES:= \
+ FILES:= \
$(LINUX_DIR)/drivers/net/ppp/ppp_async.ko \
$(LINUX_DIR)/drivers/net/ppp/ppp_generic.ko \
$(LINUX_DIR)/drivers/net/slip/slhc.ko
- else
- FILES:= \
- $(LINUX_DIR)/drivers/net/ppp_async.ko \
- $(LINUX_DIR)/drivers/net/ppp_generic.ko \
- $(LINUX_DIR)/drivers/net/slhc.ko
- endif
AUTOLOAD:=$(call AutoLoad,30,slhc ppp_generic ppp_async)
endef
TITLE:=PPP sync tty support
DEPENDS:=kmod-ppp
KCONFIG:=CONFIG_PPP_SYNC_TTY
- ifndef CONFIG_LINUX_3_1
- FILES:=$(LINUX_DIR)/drivers/net/ppp/ppp_synctty.ko
- else
- FILES:=$(LINUX_DIR)/drivers/net/ppp_synctty.ko
- endif
+ FILES:=$(LINUX_DIR)/drivers/net/ppp/ppp_synctty.ko
AUTOLOAD:=$(call AutoLoad,40,ppp_synctty)
endef
TITLE:=PPPoE support
DEPENDS:=kmod-ppp
KCONFIG:=CONFIG_PPPOE
- ifndef CONFIG_LINUX_3_1
- FILES:= \
+ FILES:= \
$(LINUX_DIR)/drivers/net/ppp/pppoe.ko \
$(LINUX_DIR)/drivers/net/ppp/pppox.ko
- else
- FILES:= \
- $(LINUX_DIR)/drivers/net/pppoe.ko \
- $(LINUX_DIR)/drivers/net/pppox.ko
- endif
AUTOLOAD:=$(call AutoLoad,40,pppox pppoe)
endef
TITLE:=PPtP support
DEPENDS:=kmod-ppp +kmod-gre
KCONFIG:=CONFIG_PPTP
- ifndef CONFIG_LINUX_3_1
- FILES:=$(LINUX_DIR)/drivers/net/ppp/pptp.ko
- else
- FILES:=$(LINUX_DIR)/drivers/net/pptp.ko
- endif
+ FILES:=$(LINUX_DIR)/drivers/net/ppp/pptp.ko
AUTOLOAD:=$(call AutoLoad,41,pptp)
endef
KCONFIG:= \
CONFIG_PPP_MPPE_MPPC \
CONFIG_PPP_MPPE
- ifndef CONFIG_LINUX_3_1
- FILES:=$(LINUX_DIR)/drivers/net/ppp/ppp_mppe.ko
- else
- FILES:=$(LINUX_DIR)/drivers/net/ppp_mppe.ko
- endif
+ FILES:=$(LINUX_DIR)/drivers/net/ppp/ppp_mppe.ko
AUTOLOAD:=$(call AutoLoad,31,ppp_mppe)
endef
CONFIG_SLIP_SMART=y \
CONFIG_SLIP_MODE_SLIP6=y
- ifndef CONFIG_LINUX_3_1
- FILES:= \
+ FILES:= \
$(LINUX_DIR)/drivers/net/slip/slip.ko
- else
- FILES:= \
- $(LINUX_DIR)/drivers/net/slip.ko
- endif
AUTOLOAD:=$(call AutoLoad,30,slip)
endef
CONFIG_SERIAL_8250_SHARE_IRQ=y \
CONFIG_SERIAL_8250_DETECT_IRQ=n \
CONFIG_SERIAL_8250_RSA=n
-ifeq ($(strip $(call CompareKernelPatchVer,$(KERNEL_PATCHVER),ge,3.3)),1)
FILES:=$(LINUX_DIR)/drivers/tty/serial/8250/8250.ko
-else
- FILES:=$(LINUX_DIR)/drivers/tty/serial/8250.ko
-endif
endef
define KernelPackage/serial-8250/description
KCONFIG:= \
CONFIG_PCMCIA_SERIAL_CS \
CONFIG_SERIAL_8250_CS
- ifeq ($(strip $(call CompareKernelPatchVer,$(KERNEL_PATCHVER),ge,3.3)),1)
FILES:=$(LINUX_DIR)/drivers/tty/serial/8250/serial_cs.ko
- else
- FILES:=$(LINUX_DIR)/drivers/tty/serial/serial_cs.ko
- endif
AUTOLOAD:=$(call AutoLoad,45,serial_cs)
endef
TITLE:=Support for USB
DEPENDS:=@USB_SUPPORT
KCONFIG:=CONFIG_USB CONFIG_XPS_USB_HCD_XILINX=n CONFIG_USB_FHCI_HCD=n
- ifndef CONFIG_LINUX_3_1
- FILES:= \
+ FILES:= \
$(LINUX_DIR)/drivers/usb/core/usbcore.ko \
$(LINUX_DIR)/drivers/usb/usb-common.ko
- AUTOLOAD:=$(call AutoLoad,20,usb-common usbcore,1)
- else
- FILES:=$(LINUX_DIR)/drivers/usb/core/usbcore.ko
- AUTOLOAD:=$(call AutoLoad,20,usbcore,1)
- endif
+ AUTOLOAD:=$(call AutoLoad,20,usb-common usbcore,1)
$(call AddDepends/nls)
endef
define KernelPackage/video-uvc
TITLE:=USB Video Class (UVC) support
- DEPENDS:=@USB_SUPPORT +kmod-usb-core +!(LINUX_2_6_39||LINUX_3_1||LINUX_3_2):kmod-video-videobuf2
+ DEPENDS:=@USB_SUPPORT +kmod-usb-core +kmod-video-videobuf2
KCONFIG:= CONFIG_USB_VIDEO_CLASS
FILES:=$(LINUX_DIR)/drivers/media/video/uvc/uvcvideo.ko
AUTOLOAD:=$(call AutoLoad,90,uvcvideo)