summaryrefslogtreecommitdiff
path: root/recipes/madwifi/files
diff options
context:
space:
mode:
authorLeon Woestenberg <leon@sidebranch.com>2009-04-27 01:44:04 +0200
committerLeon Woestenberg <leon@sidebranch.com>2009-04-27 20:52:44 +0200
commitf67b2104dafeda09571259ba4c3e6019d8a0888b (patch)
tree55f23badb2c71d2b54679ea6cb22ce0d6eef8ea8 /recipes/madwifi/files
parent2e90d22a167da2aaeb4dab1381e5a9fab702c575 (diff)
madwifi-ng_r3837: Use LDFLAGS to fix QA GNU_HASH issue.
Diffstat (limited to 'recipes/madwifi/files')
-rw-r--r--recipes/madwifi/files/respect-ldflags.patch39
1 files changed, 39 insertions, 0 deletions
diff --git a/recipes/madwifi/files/respect-ldflags.patch b/recipes/madwifi/files/respect-ldflags.patch
new file mode 100644
index 0000000000..1e5e360fae
--- /dev/null
+++ b/recipes/madwifi/files/respect-ldflags.patch
@@ -0,0 +1,39 @@
+Index: madwifi-trunk-r3837-20080802/Makefile
+===================================================================
+--- madwifi-trunk-r3837-20080802.orig/Makefile 2009-04-27 00:34:19.000000000 +0200
++++ madwifi-trunk-r3837-20080802/Makefile 2009-04-27 00:34:31.000000000 +0200
+@@ -61,7 +61,7 @@
+ $(MAKE) -C $$i || exit 1; \
+ done
+ else
+- $(MAKE) -C $(KERNELPATH) SUBDIRS=$(shell pwd) modules
++ $(MAKE) -C $(KERNELPATH) LDFLAGS= SUBDIRS=$(shell pwd) modules
+ endif
+
+ $(addprefix $(obj)/, $(obj-y:/=)): $(TOP)/svnversion.h
+Index: madwifi-trunk-r3837-20080802/tools/Makefile
+===================================================================
+--- madwifi-trunk-r3837-20080802.orig/tools/Makefile 2009-04-27 00:34:19.000000000 +0200
++++ madwifi-trunk-r3837-20080802/tools/Makefile 2009-04-27 00:34:36.000000000 +0200
+@@ -55,7 +55,7 @@
+ INCS = -I. -I$(HAL) -I$(TOP) -I$(ATH_HAL)
+ CFLAGS = -g -O2 -Wall
+ ALL_CFLAGS = $(CFLAGS) $(INCS)
+-LDFLAGS =
++#LDFLAGS =
+
+ all: all-subdirs $(PROGRAMS)
+
+Index: madwifi-trunk-r3837-20080802/tools/ath_info/Makefile
+===================================================================
+--- madwifi-trunk-r3837-20080802.orig/tools/ath_info/Makefile 2009-04-27 00:34:19.000000000 +0200
++++ madwifi-trunk-r3837-20080802/tools/ath_info/Makefile 2009-04-27 00:34:40.000000000 +0200
+@@ -5,7 +5,7 @@
+ USER_CROSS_COMPILE ?= $(CROSS_COMPILE)
+ CC = $(USER_CROSS_COMPILE)gcc
+ CFLAGS = -g -O2 -W -Wall
+-LDFLAGS =
++#LDFLAGS =
+ PREFIX = /usr/local
+ BINDIR = $(PREFIX)/bin
+ MANDIR = $(PREFIX)/share/man