1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-27 17:55:55 +02:00

use a default VERSION field for kmod packages

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8575 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
nico 2007-09-02 16:39:27 +00:00
parent 2d65dbf431
commit a702c26fde
29 changed files with 1 additions and 29 deletions

View File

@ -92,6 +92,7 @@ define KernelPackage
CATEGORY:=Kernel modules
DESCRIPTION:=$(DESCRIPTION)
EXTRA_DEPENDS:=kernel (=$(LINUX_VERSION)-$(BOARD)-$(LINUX_RELEASE))
VERSION:=$(LINUX_VERSION)$(if $(PKG_VERSION),+$(PKG_VERSION))-$(BOARD)-$(if $(PKG_RELEASE),$(PKG_RELEASE),$(LINUX_RELEASE))
$(call KernelPackage/$(1))
$(call KernelPackage/$(1)/$(KERNEL))
$(call KernelPackage/$(1)/$(BOARD)-$(KERNEL))

View File

@ -33,7 +33,6 @@ define KernelPackage/acx-mac80211
TITLE:=ACX111 Mac80211 driver
DESCRIPTION:=Driver for acx111 cards (Mac80211 version)
DEPENDS:=@LINUX_2_6 +kmod-mac80211
VERSION:=$(PKG_VERSION)+$(LINUX_VERSION)-$(BOARD)-$(PKG_RELEASE)
KCONFIG:=CONFIG_MAC80211
FILES:=$(PKG_BUILD_DIR)/acx-mac80211.$(LINUX_KMOD_SUFFIX)
AUTOLOAD:=$(call AutoLoad,50,acx-mac80211)

View File

@ -30,7 +30,6 @@ define KernelPackage/acx
DESCRIPTION:=\
This package contains a driver for TI ACX1xx 802.11a/b/g chipsets.
URL:=http://acx100.sourceforge.net/
VERSION:=$(LINUX_VERSION)+$(PKG_VERSION)-$(BOARD)-$(PKG_RELEASE)
SUBMENU:=Wireless Drivers
FILES:= \
$(PKG_BUILD_DIR)/acx.$(LINUX_KMOD_SUFFIX)

View File

@ -46,7 +46,6 @@ define KernelPackage/aodv-uu
FILES:=$(PKG_BUILD_DIR)/lnx/kaodv.$(LINUX_KMOD_SUFFIX)
SUBMENU:=Network Support
AUTOLOAD:=$(call AutoLoad,80,$(shell cat ./files/aodv-uu.modules))
VERSION:=$(LINUX_VERSION)+$(PKG_VERSION)-$(BOARD)-$(PKG_RELEASE)
endef
ifeq ($(CONFIG_LINUX_2_6),y)

View File

@ -24,7 +24,6 @@ define KernelPackage/sangam-atm-annex-a
DEPENDS:=@LINUX_2_6_AR7 +kmod-atm
TITLE:=AR7 ADSL driver (Annex A, ADSL over POTS)
DESCRIPTION:=The AR7 ADSL driver for Annex A (ADSL over POTS)
VERSION:=$(PKG_VERSION)+$(LINUX_VERSION)-$(BOARD)-$(PKG_RELEASE)
FILES:=$(PKG_BUILD_DIR)/tiatm.$(LINUX_KMOD_SUFFIX)
AUTOLOAD:=$(call AutoLoad,50,tiatm)
endef

View File

@ -23,7 +23,6 @@ define KernelPackage/bcm43xx-mac80211
SUBMENU:=Wireless Drivers
TITLE:=Broadcom 43xx wireless support
DESCRIPTION:=Kernel module for Broadcom 43xx wireless support (mac80211)
VERSION:=$(PKG_RELEASE)+$(LINUX_VERSION)-$(BOARD)-$(LINUX_RELEASE)
DEPENDS:=@LINUX_2_6_BRCM47XX +kmod-mac80211
KCONFIG:=CONFIG_MAC80211
FILES:=$(PKG_BUILD_DIR)/bcm43xx-mac80211.$(LINUX_KMOD_SUFFIX)

View File

@ -20,7 +20,6 @@ define KernelPackage/diag
SUBMENU:=Other modules
DEPENDS:=@LINUX_2_4_BRCM||LINUX_2_6_BRCM||LINUX_2_6_BRCM47XX
TITLE:=Driver for router LEDs and Buttons
VERSION:=$(PKG_RELEASE)+$(LINUX_VERSION)-$(BOARD)-$(LINUX_RELEASE)
FILES:=$(PKG_BUILD_DIR)/diag.$(LINUX_KMOD_SUFFIX)
endef

View File

@ -31,7 +31,6 @@ define KernelPackage/broadcom-mmc
Kernel driver for the Linksys WRT54G MM/SD-Card Mod
URL:=http://kiel.kool.dk/
FILES:=$(PKG_BUILD_DIR)/mmc.$(LINUX_KMOD_SUFFIX)
VERSION:=$(LINUX_VERSION)+$(PKG_VERSION)-$(PKG_RELEASE)
AUTOLOAD:=$(call AutoLoad,80,mmc)
endef

View File

@ -36,7 +36,6 @@ define KernelPackage/brcm-wl/Default
DESCRIPTION:=\
This package contains the proprietary wireless driver for the Broadcom \\\
BCM43xx chipset
VERSION:=$(LINUX_VERSION)+$(PKG_VERSION)-$(PKG_RELEASE)
FILES:=$(PKG_BUILD_DIR)/kmod/wl$(1).o
AUTOLOAD:=$(call AutoLoad,30,wl$(1))
endef

View File

@ -18,7 +18,6 @@ include $(INCLUDE_DIR)/package.mk
define KernelPackage/fonera-mp3-driver
SUBMENU:=Other modules
VERSION:=$(LINUX_VERSION)+$(PKG_VERSION)-$(BOARD)-$(LINUX_RELEASE)
DEPENDS:=@LINUX_2_6_ATHEROS
TITLE:=Fonera-MP3 driver (VS1011X)
DESCRIPTION:=driver for a vs1011X attached to a fonera

View File

@ -47,7 +47,6 @@ define KernelPackage/fuse
\\\
This package contains the FUSE kernel module.
FILES:=$(PKG_INSTALL_DIR)/lib/modules/$(LINUX_VERSION)/kernel/fs/fuse/fuse.$(LINUX_KMOD_SUFFIX)
VERSION:=$(LINUX_VERSION)+$(PKG_VERSION)-$(BOARD)-$(PKG_RELEASE)
AUTOLOAD:=$(call AutoLoad,80,fuse)
endef

View File

@ -10,8 +10,6 @@ include $(TOPDIR)/rules.mk
include $(INCLUDE_DIR)/kernel.mk
PKG_NAME:=kernel
PKG_VERSION:=$(LINUX_VERSION)-$(BOARD)
PKG_RELEASE:=$(LINUX_RELEASE)
PKG_BUILD_DIR:=$(KERNEL_BUILD_DIR)/packages
SCAN_DEPS=modules/*.mk

View File

@ -26,7 +26,6 @@ define KernelPackage/mac80211
KCONFIG:=CONFIG_MAC80211
DESCRIPTION:=\
This package contains the DeviceScape 80211 wireless stack.
VERSION:=$(PKG_RELEASE)+$(LINUX_VERSION)-$(BOARD)-$(LINUX_RELEASE)
FILES:= \
$(PKG_BUILD_DIR)/mac80211/mac80211.$(LINUX_KMOD_SUFFIX) \
$(PKG_BUILD_DIR)/mac80211/rc80211_lowest.$(LINUX_KMOD_SUFFIX) \

View File

@ -85,7 +85,6 @@ define KernelPackage/madwifi
DESCRIPTION:=\
This package contains a driver for Atheros 802.11a/b/g chipsets.
URL:=http://madwifi.org/
VERSION:=$(LINUX_VERSION)+$(PKG_VERSION)-$(BOARD)-$(PKG_RELEASE)
FILES:= \
$(PKG_BUILD_DIR)/ath_hal/ath_hal.$(LINUX_KMOD_SUFFIX) \
$(BUS_MODULES) \

View File

@ -27,7 +27,6 @@ define KernelPackage/nozomi
DESCRIPTION:=Option Globetrotter HSDPA driver
URL:=http://www.pharscape.org/
DEPENDS:=@LINUX_2_4 @PCMCIA_SUPPORT
VERSION:=$(LINUX_VERSION)+$(PKG_VERSION)-$(BOARD)-$(PKG_RELEASE)
FILES:=$(PKG_BUILD_DIR)/noz.$(LINUX_KMOD_SUFFIX)
AUTOLOAD:=$(call AutoLoad,70,noz)
endef

View File

@ -46,7 +46,6 @@ define KernelPackage/openswan
DESCRIPTION+=\\\
\\\
This package contains the Openswan kernel module.
VERSION:=$(LINUX_VERSION)+$(PKG_VERSION)-$(BOARD)-$(PKG_RELEASE)
FILES:=$(PKG_BUILD_DIR)/modobj*/ipsec.$(LINUX_KMOD_SUFFIX)
endef

View File

@ -40,7 +40,6 @@ define KernelPackage/usb-qc
other webcams with similar chipsets.
SUBMENU:=USB Support
DEPENDS:=@LINUX_2_6 @USB_SUPPORT @VIDEO_SUPPORT kmod-usb-core +kmod-videodev
VERSION:=$(LINUX_VERSION)+$(PKG_VERSION)-$(BOARD)-$(PKG_RELEASE)
FILES:=$(PKG_BUILD_DIR)/quickcam.$(LINUX_KMOD_SUFFIX)
AUTOLOAD:=$(call AutoLoad,90,quickcam)
endef

View File

@ -26,7 +26,6 @@ define KernelPackage/rt2500
DESCRIPTION:=\
This package contains a driver for ralink rt2500 pci chipsets.
URL:=http://rt2x00.serialmonkey.com/
VERSION:=$(LINUX_VERSION)+$(PKG_VERSION)-$(BOARD)-$(PKG_RELEASE)
FILES:= \
$(PKG_BUILD_DIR)/Module/rt2500.$(LINUX_KMOD_SUFFIX)
AUTOLOAD:=$(call AutoLoad,50,rt2500)

View File

@ -26,7 +26,6 @@ define KernelPackage/rt2570
DESCRIPTION:=\
This package contains a driver for ralink rt2570 usb chipsets.
URL:=http://rt2x00.serialmonkey.com/
VERSION:=$(LINUX_VERSION)+$(PKG_VERSION)-$(BOARD)-$(PKG_RELEASE)
FILES:= \
$(PKG_BUILD_DIR)/Module/rt2570.$(LINUX_KMOD_SUFFIX)
AUTOLOAD:=$(call AutoLoad,50,rt2570)

View File

@ -31,7 +31,6 @@ define KernelPackage/rt2x00/Default
DEPENDS:=@LINUX_2_6
KCONFIG:=CONFIG_MAC80211
DESCRIPTION:=Ralink GPL Drivers for rt2x00 cards
VERSION:=$(LINUX_VERSION)+$(PKG_VERSION)-$(BOARD)-$(LINUX_RELEASE)
endef
define KernelPackage/rt2x00-lib

View File

@ -26,7 +26,6 @@ define KernelPackage/rt61
DESCRIPTION:=\
This package contains a driver for ralink rt2x61 pci chipsets.
URL:=http://rt2x00.serialmonkey.com/
VERSION:=$(LINUX_VERSION)+$(PKG_VERSION)-$(BOARD)-$(PKG_RELEASE)
FILES:= \
$(PKG_BUILD_DIR)/Module/rt61.$(LINUX_KMOD_SUFFIX)
AUTOLOAD:=$(call AutoLoad,50,rt61)

View File

@ -37,7 +37,6 @@ define KernelPackage/shfs
This package contains the ShFS kernel module.
FILES:=$(PKG_INSTALL_DIR)/lib/modules/$(LINUX_VERSION)/kernel/fs/shfs/shfs.$(LINUX_KMOD_SUFFIX)
SUBMENU:=Filesystems
VERSION:=$(LINUX_VERSION)+$(PKG_VERSION)-$(BOARD)-$(PKG_RELEASE)
AUTOLOAD:=$(call AutoLoad,40,shfs)
endef

View File

@ -25,7 +25,6 @@ define KernelPackage/spca5xx-le
DEPENDS:=@LINUX_2_6 kmod-videodev @VIDEO_SUPPORT
TITLE:=Driver for SPCA5xx based USB cameras (Light Edition)
URL:=http://mxhaard.free.fr/
VERSION:=$(LINUX_VERSION)+$(PKG_VERSION)-$(BOARD)-$(PKG_RELEASE)
FILES:=$(PKG_BUILD_DIR)/spca5xx.$(LINUX_KMOD_SUFFIX)
AUTOLOAD:=$(call AutoLoad,90,spca5xx)
endef

View File

@ -24,7 +24,6 @@ define KernelPackage/gspca
DEPENDS:=@LINUX_2_6 kmod-usb-core kmod-videodev @VIDEO_SUPPORT
TITLE:=Driver for SPCA5xx based USB cameras
URL:=http://mxhaard.free.fr/
VERSION:=$(LINUX_VERSION)+$(PKG_VERSION)-$(BOARD)-$(PKG_RELEASE)
FILES:=$(PKG_BUILD_DIR)/gspca.$(LINUX_KMOD_SUFFIX)
AUTOLOAD:=$(call AutoLoad,90,gspca)
endef

View File

@ -47,7 +47,6 @@ define KernelPackage/strongswan
DESCRIPTION+=\\\
\\\
This package contains the strongSwan kernel module.
VERSION:=$(LINUX_VERSION)+$(PKG_VERSION)-$(BOARD)-$(PKG_RELEASE)
FILES:=$(PKG_BUILD_DIR)/linux/net/ipsec/ipsec.$(LINUX_KMOD_SUFFIX)
AUTOLOAD:=$(call AutoLoad,50,ipsec)
endef

View File

@ -22,7 +22,6 @@ define KernelPackage/switch
TITLE:=Switch drivers
DESCRIPTION:=\
This package contains switch drivers for ADM6996L and BCM53XX RoboSwitch.
VERSION:=$(LINUX_VERSION)-$(BOARD)-$(PKG_RELEASE)
FILES:= \
$(PKG_BUILD_DIR)/switch-core.$(LINUX_KMOD_SUFFIX) \
$(PKG_BUILD_DIR)/switch-adm.$(LINUX_KMOD_SUFFIX) \

View File

@ -24,7 +24,6 @@ define KernelPackage/uvcvideo
DEPENDS:=@LINUX_2_6 kmod-usb-core kmod-videodev @VIDEO_SUPPORT
TITLE:=Driver for Linux-UVC based USB cameras
URL:=http://linux-uvc.berlios.de/
VERSION:=$(LINUX_VERSION)+$(PKG_VERSION)-$(BOARD)-$(PKG_RELEASE)
FILES:=$(PKG_BUILD_DIR)/uvcvideo.$(LINUX_KMOD_SUFFIX)
AUTOLOAD:=$(call AutoLoad,90,uvcvideo)
endef

View File

@ -24,7 +24,6 @@ define KernelPackage/wlcompat/Default
DESCRIPTION:=\
This package contains a wrapper module, that provides Wireless Extension \\\
support for the proprietary Broadcom wl module.
VERSION:=$(LINUX_VERSION)+$(BOARD)-$(PKG_RELEASE)
endef
define KernelPackage/wlcompat

View File

@ -31,7 +31,6 @@ define KernelPackage/zd1211
USB-WLAN-Chip.\\\
Initially contributed by ZyDAS, this driver is actively maintained by the \\\
open source community.
VERSION:=$(LINUX_VERSION)+$(PKG_VERSION)-$(BOARD)-$(PKG_RELEASE)
FILES:=$(PKG_BUILD_DIR)/zd1211.$(LINUX_KMOD_SUFFIX)
AUTOLOAD:=$(call AutoLoad,60,zd1211)
endef