summaryrefslogtreecommitdiff
path: root/network/rt3xxx/patches/Makefile.diff
diff options
context:
space:
mode:
authorcrocket <crockabiscuit@yahoo.com>2011-01-29 23:08:53 -0600
committerRobby Workman <rworkman@slackbuilds.org>2011-01-30 09:15:30 -0600
commit1351898b8fef415a3e11ddb1b7f68459b526646c (patch)
tree3d64aa277b46d4ca5ce5ddeac23137a0381d0e1f /network/rt3xxx/patches/Makefile.diff
parent46c9bfb1f98fd317078db019265bf798e1d0ad6a (diff)
downloadslackbuilds-1351898b8fef415a3e11ddb1b7f68459b526646c.tar.gz
network/rt3xxx: Added (driver for rt3xxx chipsets)
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'network/rt3xxx/patches/Makefile.diff')
-rw-r--r--network/rt3xxx/patches/Makefile.diff35
1 files changed, 35 insertions, 0 deletions
diff --git a/network/rt3xxx/patches/Makefile.diff b/network/rt3xxx/patches/Makefile.diff
new file mode 100644
index 0000000000..53723f8cad
--- /dev/null
+++ b/network/rt3xxx/patches/Makefile.diff
@@ -0,0 +1,35 @@
+diff -Naur a/Makefile b/Makefile
+--- a/Makefile 2010-12-17 20:44:47.000000000 +0900
++++ b/Makefile 2011-01-27 04:39:12.732361523 +0900
+@@ -1,8 +1,7 @@
+ RT28xx_MODE = STA
+
+ TARGET = LINUX
+-
+-CHIPSET = 3562
++MODE = STA
+
+ #OS ABL - YES or NO
+ OSABL = NO
+@@ -139,10 +138,10 @@
+
+ ifeq ($(PLATFORM),PC)
+ # Linux 2.6
+-LINUX_SRC = /lib/modules/$(shell uname -r)/build
++LINUX_SRC = /lib/modules/$(KERNEL)/build
+ # Linux 2.4 Change to your local setting
+ #LINUX_SRC = /usr/src/linux-2.4
+-LINUX_SRC_MODULE = /lib/modules/$(shell uname -r)/kernel/drivers/net/wireless/
++LINUX_SRC_MODULE = /lib/modules/$(KERNEL)/kernel/drivers/net/wireless
+ CROSS_COMPILE =
+ endif
+
+@@ -239,7 +238,7 @@
+ CROSS_COMPILE = /opt/montavista/pro/devkit/arm/v5t_le_mvl5/bin/arm_v5t_le-
+ endif
+
+-export OSABL RT28xx_DIR RT28xx_MODE LINUX_SRC CROSS_COMPILE CROSS_COMPILE_INCLUDE PLATFORM RELEASE CHIPSET RTMP_SRC_DIR LINUX_SRC_MODULE TARGET
++export OSABL RT28xx_DIR RT28xx_MODE CROSS_COMPILE CROSS_COMPILE_INCLUDE PLATFORM RELEASE LINUX_SRC RTMP_SRC_DIR LINUX_SRC_MODULE TARGET
+
+ # The targets that may be used.
+ PHONY += all build_tools test UCOS THREADX LINUX release prerelease clean uninstall install libwapi osabl