[LUCID SRU] UBUNTU: SAUCE: Fixed makefile to correctly link rtllib objects.

Manoj Iyer manoj.iyer at canonical.com
Thu May 6 20:29:58 UTC 2010


ogasawara, can you pull the same for maverick? Or you need separate patch? 
code should be the same in both cases.

Cheers
--- manjo

On Thu, 6 May 2010, Manoj Iyer wrote:

>
> BUGLINK: http://launchpad.net/bugs/576140
>
> SRU Justification
> =================
> Without this fix this driver is useless, it is incorrectly built and will
> not function as designed. It will not be able to see or connect to
> access points.
>
> FIX
> ===
> A recent upgrade of the driver seems to have broken the master makefile,
> the rtllib objects were not linked with the driver correctly causing the
> driver to malfunction.
>
> TEST
> ====
> The fixed kernel was tested to work on my  Asus EEEPC 1201N. Test kernel
> is available at:
> http://people.ubuntu.com/~manjo/rtl8192se/
>
> The following changes since commit
> 7a32a78bbcdc271e6d551b44fafd1d20d97efe00:
>   Manoj Iyer (1):
>         UBUNTU: SAUCE: Fixed makefile to correctly link rtllib objects.
>
> are available in the git repository at:
>
>
> ssh://zinc.canonical.com/srv/kernel.ubuntu.com/git/manjo/ubuntu-lucid.git
> lp576140
>
> From 7a32a78bbcdc271e6d551b44fafd1d20d97efe00 Mon Sep 17 00:00:00 2001
> From: Manoj Iyer <manoj.iyer at canonical.com>
> Date: Thu, 6 May 2010 09:43:44 -0500
> Subject: [PATCH] UBUNTU: SAUCE: Fixed makefile to correctly link rtllib objects.
>
> This driver is not upstream and was obtained from the vendor.
>
> Signed-off-by: Manoj Iyer <manoj.iyer at canonical.com>
> ---
>  ubuntu/rtl8192se/Makefile |  254 ++++++++++++++++++++++----------------------
>  1 files changed, 127 insertions(+), 127 deletions(-)
>
> diff --git a/ubuntu/rtl8192se/Makefile b/ubuntu/rtl8192se/Makefile
> index 0f2c735..22f75f8 100755
> --- a/ubuntu/rtl8192se/Makefile
> +++ b/ubuntu/rtl8192se/Makefile
> @@ -205,20 +205,20 @@ r8190_pci-objs := rtl_core.o 		\
>  		  rtl8192e/r8192E_phy.o 		\
>  		  rtl8192e/r8192E_firmware.o 	\
>  		  rtl8192e/r8192E_cmdpkt.o 	\
> -		  ../../rtllib/rtllib_rx.o                \
> -		  ../../rtllib/rtllib_softmac.o           \
> -		  ../../rtllib/rtllib_tx.o                \
> -		  ../../rtllib/rtllib_wx.o                \
> -		  ../../rtllib/rtllib_module.o            \
> -		  ../../rtllib/rtllib_softmac_wx.o        \
> -		  ../../rtllib/rtl819x_HTProc.o              \
> -		  ../../rtllib/rtl819x_TSProc.o              \
> -		  ../../rtllib/rtl819x_BAProc.o              \
> -		  ../../rtllib/dot11d.o                      \
> -		  ../../rtllib/rtllib_crypt.o             \
> -		  ../../rtllib/rtllib_crypt_tkip.o        \
> -		  ../../rtllib/rtllib_crypt_ccmp.o        \
> -		  ../../rtllib/rtllib_crypt_wep.o
> +		  rtllib/rtllib_rx.o                \
> +		  rtllib/rtllib_softmac.o           \
> +		  rtllib/rtllib_tx.o                \
> +		  rtllib/rtllib_wx.o                \
> +		  rtllib/rtllib_module.o            \
> +		  rtllib/rtllib_softmac_wx.o        \
> +		  rtllib/rtl819x_HTProc.o              \
> +		  rtllib/rtl819x_TSProc.o              \
> +		  rtllib/rtl819x_BAProc.o              \
> +		  rtllib/dot11d.o                      \
> +		  rtllib/rtllib_crypt.o             \
> +		  rtllib/rtllib_crypt_tkip.o        \
> +		  rtllib/rtllib_crypt_ccmp.o        \
> +		  rtllib/rtllib_crypt_wep.o
>
>  obj-m := r8190_pci.o
>  endif
> @@ -314,20 +314,20 @@ r8192ce_pci-objs := rtl_core.o 		\
>  		  rtl8192c/r8192C_led.o 	\
>  		  rtl8192c/r8192C_com.o 	\
>  		  rtl8192c/r8192C_PhyParam.o 	\
> -		  ../../rtllib/rtllib_rx.o                \
> -		  ../../rtllib/rtllib_softmac.o           \
> -		  ../../rtllib/rtllib_tx.o                \
> -		  ../../rtllib/rtllib_wx.o                \
> -		  ../../rtllib/rtllib_module.o            \
> -		  ../../rtllib/rtllib_softmac_wx.o        \
> -		  ../../rtllib/rtl819x_HTProc.o              \
> -		  ../../rtllib/rtl819x_TSProc.o              \
> -		  ../../rtllib/rtl819x_BAProc.o              \
> -		  ../../rtllib/dot11d.o                      \
> -		  ../../rtllib/rtllib_crypt.o             \
> -		  ../../rtllib/rtllib_crypt_tkip.o        \
> -		  ../../rtllib/rtllib_crypt_ccmp.o        \
> -		  ../../rtllib/rtllib_crypt_wep.o
> +		  rtllib/rtllib_rx.o                \
> +		  rtllib/rtllib_softmac.o           \
> +		  rtllib/rtllib_tx.o                \
> +		  rtllib/rtllib_wx.o                \
> +		  rtllib/rtllib_module.o            \
> +		  rtllib/rtllib_softmac_wx.o        \
> +		  rtllib/rtl819x_HTProc.o              \
> +		  rtllib/rtl819x_TSProc.o              \
> +		  rtllib/rtl819x_BAProc.o              \
> +		  rtllib/dot11d.o                      \
> +		  rtllib/rtllib_crypt.o             \
> +		  rtllib/rtllib_crypt_tkip.o        \
> +		  rtllib/rtllib_crypt_ccmp.o        \
> +		  rtllib/rtllib_crypt_wep.o
>  obj-m := r8192ce_pci.o
>  endif
>
> @@ -353,20 +353,20 @@ r8192se_pci_mesh-objs := rtl_core.o 	\
>  		  rtl8192s/r8192S_led.o 	\
>  		  rtl8192s/r8192S_mp.o		\
>  		  rtl8192s/r8192S_scan.o		\
> -		  ../../rtllib/rtllib_rx.o                \
> -		  ../../rtllib/rtllib_softmac.o           \
> -		  ../../rtllib/rtllib_tx.o                \
> -		  ../../rtllib/rtllib_wx.o                \
> -		  ../../rtllib/rtllib_module.o            \
> -		  ../../rtllib/rtllib_softmac_wx.o        \
> -		  ../../rtllib/rtl819x_HTProc.o           \
> -		  ../../rtllib/rtl819x_TSProc.o           \
> -		  ../../rtllib/rtl819x_BAProc.o           \
> -		  ../../rtllib/dot11d.o                   \
> -		  ../../rtllib/rtllib_crypt.o             \
> -		  ../../rtllib/rtllib_crypt_tkip.o        \
> -		  ../../rtllib/rtllib_crypt_ccmp.o        \
> -		  ../../rtllib/rtllib_crypt_wep.o	  \
> +		  rtllib/rtllib_rx.o                \
> +		  rtllib/rtllib_softmac.o           \
> +		  rtllib/rtllib_tx.o                \
> +		  rtllib/rtllib_wx.o                \
> +		  rtllib/rtllib_module.o            \
> +		  rtllib/rtllib_softmac_wx.o        \
> +		  rtllib/rtl819x_HTProc.o           \
> +		  rtllib/rtl819x_TSProc.o           \
> +		  rtllib/rtl819x_BAProc.o           \
> +		  rtllib/dot11d.o                   \
> +		  rtllib/rtllib_crypt.o             \
> +		  rtllib/rtllib_crypt_tkip.o        \
> +		  rtllib/rtllib_crypt_ccmp.o        \
> +		  rtllib/rtllib_crypt_wep.o	  \
>  		  ../../mshclass/msh_class.o 		  \
>  		  ../../mshclass/mesh_8192_util.o  	  \
>  		  ../../mshclass/rtl8192_mesh.o 	  \
> @@ -569,29 +569,29 @@ r8190_pci.o: \
>  	rtl8192e/r8192E_cmdpkt.o\
>  	rtl8192e/r8192E_firmware.o \
>  	rtl8192e/r8192E_phy.o \
> -	../../rtllib/rtllib_rx.o                \
> -	../../rtllib/rtllib_softmac.o           \
> -	../../rtllib/rtllib_tx.o                \
> -	../../rtllib/rtllib_wx.o                \
> -	../../rtllib/rtllib_module.o            \
> -	../../rtllib/rtllib_softmac_wx.o        \
> -	../../rtllib/rtl819x_HTProc.o              \
> -	../../rtllib/rtl819x_TSProc.o              \
> -	../../rtllib/rtl819x_BAProc.o              \
> -	../../rtllib/dot11d.o                      \
> -	../../rtllib/rtllib_crypt.o             \
> -	../../rtllib/rtllib_crypt_tkip.o        \
> -	../../rtllib/rtllib_crypt_ccmp.o        \
> -	../../rtllib/rtllib_crypt_wep.o	\
> -	../../rtllib/api.o			\
> -	../../rtllib/compress.o		\
> -	../../rtllib/digest.o		\
> -	../../rtllib/cipher.o		\
> -	../../rtllib/scatterwalk.o		\
> -	../../rtllib/arc4.o			\
> -	../../rtllib/michael_mic.o		\
> -	../../rtllib/aes.o			\
> -	../../rtllib/proc.o
> +	rtllib/rtllib_rx.o                \
> +	rtllib/rtllib_softmac.o           \
> +	rtllib/rtllib_tx.o                \
> +	rtllib/rtllib_wx.o                \
> +	rtllib/rtllib_module.o            \
> +	rtllib/rtllib_softmac_wx.o        \
> +	rtllib/rtl819x_HTProc.o              \
> +	rtllib/rtl819x_TSProc.o              \
> +	rtllib/rtl819x_BAProc.o              \
> +	rtllib/dot11d.o                      \
> +	rtllib/rtllib_crypt.o             \
> +	rtllib/rtllib_crypt_tkip.o        \
> +	rtllib/rtllib_crypt_ccmp.o        \
> +	rtllib/rtllib_crypt_wep.o	\
> +	rtllib/api.o			\
> +	rtllib/compress.o		\
> +	rtllib/digest.o		\
> +	rtllib/cipher.o		\
> +	rtllib/scatterwalk.o		\
> +	rtllib/arc4.o			\
> +	rtllib/michael_mic.o		\
> +	rtllib/aes.o			\
> +	rtllib/proc.o
>
>  	$(LD) -r $^ -o $@
>  install:r8190_pci.o
> @@ -620,29 +620,29 @@ r8192e_pci.o: \
>  	rtl8192e/r8192E_cmdpkt.o\
>  	rtl8192e/r8192E_firmware.o \
>  	rtl8192e/r8192E_phy.o \
> -	../../rtllib/rtllib_rx.o                \
> -	../../rtllib/rtllib_softmac.o           \
> -	../../rtllib/rtllib_tx.o                \
> -	../../rtllib/rtllib_wx.o                \
> -	../../rtllib/rtllib_module.o            \
> -	../../rtllib/rtllib_softmac_wx.o        \
> -	../../rtllib/rtl819x_HTProc.o              \
> -	../../rtllib/rtl819x_TSProc.o              \
> -	../../rtllib/rtl819x_BAProc.o              \
> -	../../rtllib/dot11d.o                      \
> -	../../rtllib/rtllib_crypt.o             \
> -	../../rtllib/rtllib_crypt_tkip.o        \
> -	../../rtllib/rtllib_crypt_ccmp.o        \
> -	../../rtllib/rtllib_crypt_wep.o	\
> -	../../rtllib/api.o			\
> -	../../rtllib/compress.o		\
> -	../../rtllib/digest.o		\
> -	../../rtllib/cipher.o		\
> -	../../rtllib/scatterwalk.o		\
> -	../../rtllib/arc4.o			\
> -	../../rtllib/michael_mic.o		\
> -	../../rtllib/aes.o			\
> -	../../rtllib/proc.o
> +	rtllib/rtllib_rx.o                \
> +	rtllib/rtllib_softmac.o           \
> +	rtllib/rtllib_tx.o                \
> +	rtllib/rtllib_wx.o                \
> +	rtllib/rtllib_module.o            \
> +	rtllib/rtllib_softmac_wx.o        \
> +	rtllib/rtl819x_HTProc.o              \
> +	rtllib/rtl819x_TSProc.o              \
> +	rtllib/rtl819x_BAProc.o              \
> +	rtllib/dot11d.o                      \
> +	rtllib/rtllib_crypt.o             \
> +	rtllib/rtllib_crypt_tkip.o        \
> +	rtllib/rtllib_crypt_ccmp.o        \
> +	rtllib/rtllib_crypt_wep.o	\
> +	rtllib/api.o			\
> +	rtllib/compress.o		\
> +	rtllib/digest.o		\
> +	rtllib/cipher.o		\
> +	rtllib/scatterwalk.o		\
> +	rtllib/arc4.o			\
> +	rtllib/michael_mic.o		\
> +	rtllib/aes.o			\
> +	rtllib/proc.o
>
>  	$(LD) -r $^ -o $@
>  install:
> @@ -671,31 +671,31 @@ r8192se_pci.o: rtl_core.o \
>  	rtl8192s/r8192S_led.o \
>  	rtl8192s/r8192S_phy.o \
>  	rtl8192s/r8192S_rtl6052.o \
> -	../../rtllib/rtllib_rx.o                \
> -	../../rtllib/rtllib_softmac.o           \
> -	../../rtllib/rtllib_tx.o                \
> -	../../rtllib/rtllib_wx.o                \
> -	../../rtllib/rtllib_module.o            \
> -	../../rtllib/rtllib_softmac_wx.o        \
> -	../../rtllib/rtl819x_HTProc.o              \
> -	../../rtllib/rtl819x_TSProc.o              \
> -	../../rtllib/rtl819x_BAProc.o              \
> -	../../rtllib/dot11d.o                      \
> -	../../rtllib/rtllib_crypt.o             \
> -	../../rtllib/rtllib_crypt_tkip.o        \
> -	../../rtllib/rtllib_crypt_ccmp.o        \
> -	../../rtllib/rtllib_crypt_wep.o	\
> -	../../rtllib/api.o			\
> -	../../rtllib/compress.o		\
> -	../../rtllib/digest.o		\
> -	../../rtllib/cipher.o		\
> -	../../rtllib/scatterwalk.o		\
> -	../../rtllib/arc4.o			\
> -	../../rtllib/michael_mic.o		\
> -	../../rtllib/aes.o			\
> -	../../rtllib/proc.o			\
> -	../../rtllib/wapi.o			\
> -	../../rtllib/wapi_interface.o
> +	rtllib/rtllib_rx.o                \
> +	rtllib/rtllib_softmac.o           \
> +	rtllib/rtllib_tx.o                \
> +	rtllib/rtllib_wx.o                \
> +	rtllib/rtllib_module.o            \
> +	rtllib/rtllib_softmac_wx.o        \
> +	rtllib/rtl819x_HTProc.o              \
> +	rtllib/rtl819x_TSProc.o              \
> +	rtllib/rtl819x_BAProc.o              \
> +	rtllib/dot11d.o                      \
> +	rtllib/rtllib_crypt.o             \
> +	rtllib/rtllib_crypt_tkip.o        \
> +	rtllib/rtllib_crypt_ccmp.o        \
> +	rtllib/rtllib_crypt_wep.o	\
> +	rtllib/api.o			\
> +	rtllib/compress.o		\
> +	rtllib/digest.o		\
> +	rtllib/cipher.o		\
> +	rtllib/scatterwalk.o		\
> +	rtllib/arc4.o			\
> +	rtllib/michael_mic.o		\
> +	rtllib/aes.o			\
> +	rtllib/proc.o			\
> +	rtllib/wapi.o			\
> +	rtllib/wapi_interface.o
>  #	rtl8192e/r8192E_cmdpkt.o
>  #	rtl8192e/r8190P_rtl8256.o
>  	$(LD) -r $^ -o $@
> @@ -727,20 +727,20 @@ r8192se_pci_mesh.o: 		\
>  	rtl8192s/r8192S_led.o 		\
>  	rtl8192s/r8192S_phy.o 		\
>  	rtl8192s/r8192S_rtl6052.o 	\
> -	../../rtllib/rtllib_rx.o                \
> -	../../rtllib/rtllib_softmac.o           \
> -	../../rtllib/rtllib_tx.o                \
> -	../../rtllib/rtllib_wx.o                \
> -	../../rtllib/rtllib_module.o            \
> -	../../rtllib/rtllib_softmac_wx.o        \
> -	../../rtllib/rtl819x_HTProc.o              \
> -	../../rtllib/rtl819x_TSProc.o              \
> -	../../rtllib/rtl819x_BAProc.o              \
> -	../../rtllib/dot11d.o                      \
> -	../../rtllib/rtllib_crypt.o             \
> -	../../rtllib/rtllib_crypt_tkip.o        \
> -	../../rtllib/rtllib_crypt_ccmp.o        \
> -	../../rtllib/rtllib_crypt_wep.o		\
> +	rtllib/rtllib_rx.o                \
> +	rtllib/rtllib_softmac.o           \
> +	rtllib/rtllib_tx.o                \
> +	rtllib/rtllib_wx.o                \
> +	rtllib/rtllib_module.o            \
> +	rtllib/rtllib_softmac_wx.o        \
> +	rtllib/rtl819x_HTProc.o              \
> +	rtllib/rtl819x_TSProc.o              \
> +	rtllib/rtl819x_BAProc.o              \
> +	rtllib/dot11d.o                      \
> +	rtllib/rtllib_crypt.o             \
> +	rtllib/rtllib_crypt_tkip.o        \
> +	rtllib/rtllib_crypt_ccmp.o        \
> +	rtllib/rtllib_crypt_wep.o		\
>  	../../mshclass/msh_class.o 			\
>  	../../mshclass/mesh_8192_util.o  		\
>  	../../mshclass/rtl8192_mesh.o 			\
> -- 
> 1.7.0.4
>
>
> Cheers
> --- manjo
>
> -- 
> kernel-team mailing list
> kernel-team at lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/kernel-team
>




More information about the kernel-team mailing list