hi pasztorl,
I am using the Kernel 2.6.19.2, for WL-500B. I would like to add my USB card WUSB54G support too. And compile driver rt2570-1.1.0-b2.tar.gz using below command:
make module KERNDIR=/home/alex/work2/openwrt/kamikaze/trunk/build_mipsel/linux-2.6-brcm47xx/linux-2.6.19.2 \
PATCHLEVEL=6 \
CC=/home/alex/work2/openwrt/kamikaze/trunk/staging_dir_mipsel/bin/mipsel-linux-uclibc-gcc \
LD=/home/alex/work2/openwrt/kamikaze/trunk/staging_dir_mipsel/bin/mipsel-linux-uclibc-ld
And then got an errror like this,
make[1]: Entering directory `/home/alex/work2/openwrt/kamikaze/trunk/build_mipsel/linux-2.6-brcm47xx/linux-2.6.19.2'
CC [M] /home/alex/work2/openwrt/kamikaze/mypackages/rt2570-1.1.0-b2/Module/rtusb_main.o
cc1: error: unrecognized command line option "-maccumulate-outgoing-args"
make[2]: *** [/home/alex/work2/openwrt/kamikaze/mypackages/rt2570-1.1.0-b2/Module/rtusb_main.o] Error 1
make[1]: *** [_module_/home/alex/work2/openwrt/kamikaze/mypackages/rt2570-1.1.0-b2/Module] Error 2
make[1]: Leaving directory `/home/alex/work2/openwrt/kamikaze/trunk/build_mipsel/linux-2.6-brcm47xx/linux-2.6.19.2'
rt2570.ko failed to build!
Looks like CFLAGS is wrong.
May I ask you some questions?
1) Which version kernel do you use?
2) Could you please give me a minihowto?
3) Can anybody help me to solve this issue?
Thanks
Alex