wok rev 2999

Remove rt2860sta
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon May 11 21:29:47 2009 +0200 (2009-05-11)
parents aa01532efcb0
children 18db3f5da4e6
files rt2860sta/receipt rt2860sta/stuff/RT2860-Makefile.patch rt2860sta/stuff/RT2860-config.mk.patch
line diff
     1.1 --- a/rt2860sta/receipt	Mon May 11 21:26:12 2009 +0200
     1.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.3 @@ -1,36 +0,0 @@
     1.4 -# SliTaz package receipt.
     1.5 -
     1.6 -PACKAGE="rt2860sta"
     1.7 -VERSION="1.8.0.0"
     1.8 -CATEGORY="system-tools"
     1.9 -SHORT_DESC="Kernel module rt2860sta (Wireless driver used on EeePC)."
    1.10 -DEPENDS="linux wireless_tools"
    1.11 -BUILD_DEPENDS="linux-source"
    1.12 -TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.13 -MAINTAINER="pankso@slitaz.org"
    1.14 -WEB_SITE="http://www.ralinktech.com/ralink/Home/Support/Linux.html"
    1.15 -WGET_URL="http://mirror.slitaz.org/sources/packages/r/$TARBALL"
    1.16 -
    1.17 -# Rules to configure and make the package.
    1.18 -compile_rules()
    1.19 -{
    1.20 -	cd $src
    1.21 -	patch -p0 < ../stuff/RT2860-Makefile.patch || exit 1
    1.22 -	patch -p0 < ../stuff/RT2860-config.mk.patch || exit 1
    1.23 -	make
    1.24 -	find $src/os/linux -name "*.ko" -exec lzma e '{}' '{}'.gz \;
    1.25 -}
    1.26 -
    1.27 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.28 -genpkg_rules()
    1.29 -{
    1.30 -	KVER=`grep ^VERSION= $WOK/linux-source/receipt | cut -d "=" -f2 | sed -e 's/"//g'`
    1.31 -	mkdir -p $fs/lib/modules/${KVER}-slitaz/kernel/drivers/net/rt2860
    1.32 -	cp $src/os/linux/rt2860sta.ko.gz \
    1.33 -		$fs/lib/modules/${KVER}-slitaz/kernel/drivers/net/rt2860
    1.34 -}
    1.35 -
    1.36 -post_install()
    1.37 -{
    1.38 -	chroot "$1/" depmod -a ${EXTRAVERSION#_}-slitaz
    1.39 -}
     2.1 --- a/rt2860sta/stuff/RT2860-Makefile.patch	Mon May 11 21:26:12 2009 +0200
     2.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.3 @@ -1,20 +0,0 @@
     2.4 ---- Makefile	Thu Sep 18 04:26:56 2008
     2.5 -+++ Makefile	Thu Feb 26 01:16:24 2009
     2.6 -@@ -136,16 +136,7 @@
     2.7 - endif	
     2.8 - else
     2.9 - 	cp -f os/linux/Makefile.6 $(RT28xx_DIR)/os/linux/Makefile
    2.10 --	make  -C  $(LINUX_SRC) SUBDIRS=$(RT28xx_DIR)/os/linux modules
    2.11 --ifeq ($(RT28xx_MODE),AP)
    2.12 --	cp -f $(RT28xx_DIR)/os/linux/rt$(CHIPSET)ap.ko /tftpboot
    2.13 --else	
    2.14 --ifeq ($(RT28xx_MODE),APSTA)
    2.15 --	cp -f $(RT28xx_DIR)/os/linux/rt$(CHIPSET)apsta.ko /tftpboot
    2.16 --else
    2.17 --	cp -f $(RT28xx_DIR)/os/linux/rt$(CHIPSET)sta.ko /tftpboot
    2.18 --endif	
    2.19 --endif
    2.20 -+	make  -C  $(LINUX_SRC) SUBDIRS=$(RT28xx_DIR)/os/linux modules	
    2.21 - endif
    2.22 - 
    2.23 - clean:
     3.1 --- a/rt2860sta/stuff/RT2860-config.mk.patch	Mon May 11 21:26:12 2009 +0200
     3.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.3 @@ -1,35 +0,0 @@
     3.4 ---- os/linux/config.mk	Thu Sep 18 05:27:46 2008
     3.5 -+++ os/linux/config.mk	Sat Mar  7 19:39:13 2009
     3.6 -@@ -5,10 +5,10 @@
     3.7 - HAS_28xx_QA=n
     3.8 - 
     3.9 - # Support Wpa_Supplicant
    3.10 --HAS_WPA_SUPPLICANT=n
    3.11 -+HAS_WPA_SUPPLICANT=y
    3.12 - 
    3.13 - # Support Native WpaSupplicant for Network Maganger
    3.14 --HAS_NATIVE_WPA_SUPPLICANT_SUPPORT=n
    3.15 -+HAS_NATIVE_WPA_SUPPLICANT_SUPPORT=y
    3.16 - 
    3.17 - #Support Net interface block while Tx-Sw queue full
    3.18 - HAS_BLOCK_NET_IF=n
    3.19 -@@ -39,6 +39,8 @@
    3.20 - #Support features of 802.11n
    3.21 - HAS_DOT11_N_SUPPORT=y
    3.22 - 
    3.23 -+#Support EeePC Special setting
    3.24 -+HAS_EEEPC_SPECIAL_SETTING=y
    3.25 - 
    3.26 - #################################################
    3.27 - 
    3.28 -@@ -49,6 +51,10 @@
    3.29 - 
    3.30 - 
    3.31 - #################################################
    3.32 -+
    3.33 -+ifeq ($(HAS_EEEPC_SPECIAL_SETTING),y)
    3.34 -+WFLAGS += -DEEEPC_SPECIAL_SETTING
    3.35 -+endif
    3.36 - 
    3.37 - #ifdef CONFIG_STA_SUPPORT
    3.38 - # config for STA mode