[oe-commits] Mike Westerhof : madwifi-ng: (SlugOS only) re-instate "unset LDFLAGS" in do_compile() in order

GIT User account git at amethyst.openembedded.net
Mon May 11 05:02:10 UTC 2009


Module: openembedded.git
Branch: org.openembedded.dev
Commit: 75d4826c3c0f7012ccee3a7116d7350f41539fa3
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=75d4826c3c0f7012ccee3a7116d7350f41539fa3

Author: Mike Westerhof <mwester at dls.net>
Date:   Sun May 10 23:55:22 2009 -0500

madwifi-ng: (SlugOS only) re-instate "unset LDFLAGS" in do_compile() in order
to make madwifi link successfully after some over-aggressive LDFLAGS changes.

---

 recipes/madwifi/madwifi-ng_r3878-20081204.bb |    8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diff --git a/recipes/madwifi/madwifi-ng_r3878-20081204.bb b/recipes/madwifi/madwifi-ng_r3878-20081204.bb
index 3db8244..f4bd6aa 100644
--- a/recipes/madwifi/madwifi-ng_r3878-20081204.bb
+++ b/recipes/madwifi/madwifi-ng_r3878-20081204.bb
@@ -14,7 +14,7 @@ require madwifi-ng_r.inc
 SRCNAME = "madwifi-trunk"
 
 # PR set after the include, to override what's set in the included file.
-PR = "r0"
+PR = "r1"
 
 # It's not clear that we even need the wackelf patches any longer; certainly
 # they are not required for ixp4xx builds.  This needs testing on pxa270.
@@ -23,3 +23,9 @@ WACKELF_SRC_URI_compulab-pxa270 = ""
 
 # This works for EABI as well as the original OABI IXP4xx.
 EXTRA_OEMAKE = "V=1 KERNELPATH=${STAGING_KERNEL_DIR} KERNELRELEASE=${KERNEL_VERSION} TOOLPREFIX=${TARGET_PREFIX}"
+
+# We really must clear out LDFLAGS to get this to link.
+do_compile() {
+	unset LDFLAGS
+	oe_runmake all
+}
\ No newline at end of file





More information about the Openembedded-commits mailing list