# HG changeset patch # User Pascal Bellard # Date 1242070187 -7200 # Node ID 03bcc21473bf78ed00ece0fd59f0fc70701b9a78 # Parent aa01532efcb0ace7a61b594522896335d3c6bcde Remove rt2860sta diff -r aa01532efcb0 -r 03bcc21473bf rt2860sta/receipt --- a/rt2860sta/receipt Mon May 11 21:26:12 2009 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,36 +0,0 @@ -# SliTaz package receipt. - -PACKAGE="rt2860sta" -VERSION="1.8.0.0" -CATEGORY="system-tools" -SHORT_DESC="Kernel module rt2860sta (Wireless driver used on EeePC)." -DEPENDS="linux wireless_tools" -BUILD_DEPENDS="linux-source" -TARBALL="$PACKAGE-$VERSION.tar.bz2" -MAINTAINER="pankso@slitaz.org" -WEB_SITE="http://www.ralinktech.com/ralink/Home/Support/Linux.html" -WGET_URL="http://mirror.slitaz.org/sources/packages/r/$TARBALL" - -# Rules to configure and make the package. -compile_rules() -{ - cd $src - patch -p0 < ../stuff/RT2860-Makefile.patch || exit 1 - patch -p0 < ../stuff/RT2860-config.mk.patch || exit 1 - make - find $src/os/linux -name "*.ko" -exec lzma e '{}' '{}'.gz \; -} - -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - KVER=`grep ^VERSION= $WOK/linux-source/receipt | cut -d "=" -f2 | sed -e 's/"//g'` - mkdir -p $fs/lib/modules/${KVER}-slitaz/kernel/drivers/net/rt2860 - cp $src/os/linux/rt2860sta.ko.gz \ - $fs/lib/modules/${KVER}-slitaz/kernel/drivers/net/rt2860 -} - -post_install() -{ - chroot "$1/" depmod -a ${EXTRAVERSION#_}-slitaz -} diff -r aa01532efcb0 -r 03bcc21473bf rt2860sta/stuff/RT2860-Makefile.patch --- a/rt2860sta/stuff/RT2860-Makefile.patch Mon May 11 21:26:12 2009 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,20 +0,0 @@ ---- Makefile Thu Sep 18 04:26:56 2008 -+++ Makefile Thu Feb 26 01:16:24 2009 -@@ -136,16 +136,7 @@ - endif - else - cp -f os/linux/Makefile.6 $(RT28xx_DIR)/os/linux/Makefile -- make -C $(LINUX_SRC) SUBDIRS=$(RT28xx_DIR)/os/linux modules --ifeq ($(RT28xx_MODE),AP) -- cp -f $(RT28xx_DIR)/os/linux/rt$(CHIPSET)ap.ko /tftpboot --else --ifeq ($(RT28xx_MODE),APSTA) -- cp -f $(RT28xx_DIR)/os/linux/rt$(CHIPSET)apsta.ko /tftpboot --else -- cp -f $(RT28xx_DIR)/os/linux/rt$(CHIPSET)sta.ko /tftpboot --endif --endif -+ make -C $(LINUX_SRC) SUBDIRS=$(RT28xx_DIR)/os/linux modules - endif - - clean: diff -r aa01532efcb0 -r 03bcc21473bf rt2860sta/stuff/RT2860-config.mk.patch --- a/rt2860sta/stuff/RT2860-config.mk.patch Mon May 11 21:26:12 2009 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,35 +0,0 @@ ---- os/linux/config.mk Thu Sep 18 05:27:46 2008 -+++ os/linux/config.mk Sat Mar 7 19:39:13 2009 -@@ -5,10 +5,10 @@ - HAS_28xx_QA=n - - # Support Wpa_Supplicant --HAS_WPA_SUPPLICANT=n -+HAS_WPA_SUPPLICANT=y - - # Support Native WpaSupplicant for Network Maganger --HAS_NATIVE_WPA_SUPPLICANT_SUPPORT=n -+HAS_NATIVE_WPA_SUPPLICANT_SUPPORT=y - - #Support Net interface block while Tx-Sw queue full - HAS_BLOCK_NET_IF=n -@@ -39,6 +39,8 @@ - #Support features of 802.11n - HAS_DOT11_N_SUPPORT=y - -+#Support EeePC Special setting -+HAS_EEEPC_SPECIAL_SETTING=y - - ################################################# - -@@ -49,6 +51,10 @@ - - - ################################################# -+ -+ifeq ($(HAS_EEEPC_SPECIAL_SETTING),y) -+WFLAGS += -DEEEPC_SPECIAL_SETTING -+endif - - #ifdef CONFIG_STA_SUPPORT - # config for STA mode