Hi Doug

On Wed, 2011-01-26 at 14:22 -0800, Doug Kehn wrote: 
> Hi All,
> 
> I've been working toward getting wimax running on an Intel IXP-435 (ARM
>  XSCALE big-endian) processor.  wimax is [finally] running on the
>  IXP-435.  This patch-set are the changes I made to get wimax working. 
>  These patches are against the HEAD of the git repository.  I did
>  single-file commits to make reviewing easier.
> 
> I did not test these changes on a little-endian machine.  The endian
>  patches should work on a little-endian machine.  The alignment patches
>  may/may-not work.
> 
> I do have 4 additional patches that are, IMHO, specific to the IXP-435
>  and/or my environment.  These patches are not included in the
>  patch-set.  I'll be happy to forward them to the list or to anyone who
>  wants them.

I had to add a couple of fixes on Makefile.ams (for patches #5 and #6)
-- my compile environment installs wimax-tools in weird locations to
catch these issues. 

I can mix in this fixes for you if you want or you can do it yourself
and resubmit. Your preference.

With those fixes in, it passed my basic launch - reset target - scan -
connect to clearwire test, so once we solve the makefile.am fixes thing,
it gets pushed.

Thanks!

>From 5e3fc5edad2ce565510e301cc1717f629a35e428 Mon Sep 17 00:00:00 2001
From: Inaky Perez-Gonzalez <[email protected]>
Date: Fri, 28 Jan 2011 12:47:33 -0800
Subject: [PATCH] FIXME: L5Common: Big-endian support / Makefile

Signed-off-by: Inaky Perez-Gonzalez <[email protected]>
---
 .../OSAgnostic/Product/PipeHandler/Makefile.am     |    7 +++++--
 .../OSAgnostic/Product/PipeHandler/Makefile.in     |    6 +++++-
 2 files changed, 10 insertions(+), 3 deletions(-)

diff --git a/InfraStack/OSAgnostic/Product/PipeHandler/Makefile.am b/InfraStack/OSAgnostic/Product/PipeHandler/Makefile.am
index ea69a28..5969a48 100644
--- a/InfraStack/OSAgnostic/Product/PipeHandler/Makefile.am
+++ b/InfraStack/OSAgnostic/Product/PipeHandler/Makefile.am
@@ -56,10 +56,13 @@ libPipeHandler_la_CFLAGS = 	-I "$(top_srcdir)/InfraStack/OSAgnostic/Common/Commo
 			  	-I "$(top_srcdir)/InfraStack/OSDependent/Linux/InfraStackModules/TraceModule/" \
 			  	-D _GNU_SOURCE \
 			  	-D "L5_USE_CLIENT_SOCKETS" -D "_USE_TRACE" \
+				@LIBWIMAX_CFLAGS@				\
 			  	-D "BMI_MACHINE_ENDIANNESS_LITTLE" -D "_LINUX"
 
-libPipeHandler_la_LIBADD = $(top_builddir)/InfraStack/OSDependent/Linux/InfraStackModules/IPCs/libSockets.la
+libPipeHandler_la_LIBADD = \
+	$(top_builddir)/InfraStack/OSDependent/Linux/InfraStackModules/IPCs/libSockets.la \
+	@LIBWIMAX_LIBS@
+
 
- 
 
 
diff --git a/InfraStack/OSAgnostic/Product/PipeHandler/Makefile.in b/InfraStack/OSAgnostic/Product/PipeHandler/Makefile.in
index c35402c..f3571a7 100644
--- a/InfraStack/OSAgnostic/Product/PipeHandler/Makefile.in
+++ b/InfraStack/OSAgnostic/Product/PipeHandler/Makefile.in
@@ -260,9 +260,13 @@ libPipeHandler_la_CFLAGS = -I "$(top_srcdir)/InfraStack/OSAgnostic/Common/Common
 			  	-I "$(top_srcdir)/InfraStack/OSDependent/Linux/InfraStackModules/TraceModule/" \
 			  	-D _GNU_SOURCE \
 			  	-D "L5_USE_CLIENT_SOCKETS" -D "_USE_TRACE" \
+				@LIBWIMAX_CFLAGS@				\
 			  	-D "BMI_MACHINE_ENDIANNESS_LITTLE" -D "_LINUX"
 
-libPipeHandler_la_LIBADD = $(top_builddir)/InfraStack/OSDependent/Linux/InfraStackModules/IPCs/libSockets.la
+libPipeHandler_la_LIBADD = \
+	$(top_builddir)/InfraStack/OSDependent/Linux/InfraStackModules/IPCs/libSockets.la \
+	@LIBWIMAX_LIBS@
+
 all: all-am
 
 .SUFFIXES:
-- 
1.6.6.1

>From 1204efb1c8810b6cba57a4e52973681acf5deb97 Mon Sep 17 00:00:00 2001
From: Inaky Perez-Gonzalez <[email protected]>
Date: Fri, 28 Jan 2011 12:49:07 -0800
Subject: [PATCH] FIXME: Supplicant: Big-endian support / Makefile

Signed-off-by: Inaky Perez-Gonzalez <[email protected]>
---
 .../OSAgnostic/WiMax/Agents/Supplicant/Makefile.am |    4 ++--
 .../OSAgnostic/WiMax/Agents/Supplicant/Makefile.in |    8 ++++----
 2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/InfraStack/OSAgnostic/WiMax/Agents/Supplicant/Makefile.am b/InfraStack/OSAgnostic/WiMax/Agents/Supplicant/Makefile.am
index ac8169f..b6d2222 100644
--- a/InfraStack/OSAgnostic/WiMax/Agents/Supplicant/Makefile.am
+++ b/InfraStack/OSAgnostic/WiMax/Agents/Supplicant/Makefile.am
@@ -124,7 +124,7 @@ libSupplicantAgent_la_CFLAGS = 	-I "$(top_srcdir)/InfraStack/OSAgnostic/Product/
 				-I "$(srcdir)/../../Wrappers/NDnS" \
 				-I "$(srcdir)/../../Wrappers/Apdo" \
 				-I "$(srcdir)/Source/ds" \
-				-D _GNU_SOURCE \
+				-D _GNU_SOURCE @LIBWIMAX_CFLAGS@ \
 				-D "_USE_TRACE" -D "BMI_MACHINE_ENDIANNESS_LITTLE" \
 				-D "IEEE8021X_EAPOL" -D "_OS_WIN32SIM" -D "_LINUX"
 
@@ -133,7 +133,7 @@ libSupplicantAgent_la_CFLAGS = 	-I "$(top_srcdir)/InfraStack/OSAgnostic/Product/
 if WPA_SUP_ENABLE
 libSupplicantAgent_la_SOURCES += $(WPA_SUP_SOURCES)
 libSupplicantAgent_la_CFLAGS += $(WPA_SUP_CFLAGS)
-libSupplicantAgent_la_LIBS = $(WPA_SUP_LIBS)
+libSupplicantAgent_la_LIBS = $(WPA_SUP_LIBS) @LIBWIMAX_LIBS@ 
 EXTRA_DIST += $(DS_SUP_SOURCES)
 else
 libSupplicantAgent_la_SOURCES += $(DS_SUP_SOURCES)
diff --git a/InfraStack/OSAgnostic/WiMax/Agents/Supplicant/Makefile.in b/InfraStack/OSAgnostic/WiMax/Agents/Supplicant/Makefile.in
index 1118c3e..6078349 100644
--- a/InfraStack/OSAgnostic/WiMax/Agents/Supplicant/Makefile.in
+++ b/InfraStack/OSAgnostic/WiMax/Agents/Supplicant/Makefile.in
@@ -396,10 +396,10 @@ libSupplicantAgent_la_CFLAGS = -I \
 	"$(top_srcdir)/InfraStack/OSAgnostic/Product/Instrumantation/MOCHandler/UDapiL5" \
 	-I "$(srcdir)/../NDnS/APDO" -I "$(srcdir)/../../Wrappers/NDnS" \
 	-I "$(srcdir)/../../Wrappers/Apdo" -I "$(srcdir)/Source/ds" -D \
-	_GNU_SOURCE -D "_USE_TRACE" -D "BMI_MACHINE_ENDIANNESS_LITTLE" \
-	-D "IEEE8021X_EAPOL" -D "_OS_WIN32SIM" -D "_LINUX" \
-	$(am__append_2)
-@WPA_SUP_ENABLE_TRUE@libSupplicantAgent_la_LIBS = $(WPA_SUP_LIBS)
+	_GNU_SOURCE @LIBWIMAX_CFLAGS@ -D "_USE_TRACE" -D \
+	"BMI_MACHINE_ENDIANNESS_LITTLE" -D "IEEE8021X_EAPOL" -D \
+	"_OS_WIN32SIM" -D "_LINUX" $(am__append_2)
+@WPA_SUP_ENABLE_TRUE@libSupplicantAgent_la_LIBS = $(WPA_SUP_LIBS) @LIBWIMAX_LIBS@ 
 all: all-am
 
 .SUFFIXES:
-- 
1.6.6.1

_______________________________________________
wimax mailing list
[email protected]
http://lists.linuxwimax.org/listinfo/wimax

Reply via email to