2.4.31 'kernelsource' and "linux-kernel-headers"
Forum: System
Topic: 2.4.31 'kernelsource' and "linux-kernel-headers"
started by: john.martzouco
Posted by john.martzouco on Nov. 17 2007,22:54
Has anybody packaged the kernel sources for version 2.4.31?
I'd like to try and compile drivers for my Encore wireless pcmcia card and think I may need kernelsource.dsl and linux-kernel-headers.dsl in the correct version for dsl4.1
I've read that these two packages are strip-downs from the Knoppix kernel sources. Is it possible for a newbie like me to help create the packages for 2.4.31 and submit them to the MyDsl repertory?
This is my first time building a driver for any Linux distribution... any helpful feedback would be appreciated.
Thanks, John
Posted by ^thehatsrule^ on Nov. 17 2007,23:05
It's the same since the 2.x-2.1b versions, so check [mirror]/archive/sources-2.1 Afaik tarball is just a copy of the vanilla source, so you'll have to manually extract that somewhere, apply the patch and use that config as a base. I guess the one in /current should be changed as only the RC's used that.
Posted by roberts on Nov. 17 2007,23:10
The 2.4.31 kernel is posted in the download current/kernel/ directory Should be on all mirrors for example:
< ftp://ftp.oss.cc.gatech.edu/pub....l >
Posted by ^thehatsrule^ on Nov. 17 2007,23:52
hm, my bad - I guess that was just from my cache.
Posted by john.martzouco on Nov. 17 2007,23:55
Thanks Robert,
I've downloaded them and am reading the documentation to get started.
Posted by roberts on Nov. 18 2007,03:18
John, your other post got buried in with a different card.
It looks like the ENPWI-G2 is a cardbus pcmcia. In order to get DSL (kermel 2.4.x) to recognize cardbus on older laptops one often needs to boot with pci=assign_busses
If you use the DSLpanel, pcmcia tool, was the card recognized?
I also notice that I could not find your card in the ndiswrapper supported card list. But first I would look in the pcmcia tool and see if the card is properly identified.
Posted by john.martzouco on Nov. 18 2007,13:08
Robert, I was so incredibly impressed that the DSLPanel tool wrote out its data to /home/john/card.txt! I was trying to figure out how I was going to post its output... and stumbled on the file accidentally (and with great luck!) Another great feature!
I tried the pci=assign_busses cheat. The ethernet card that I have in slot 0 shows up with lots of information; the Realtek card in slot 1, almost none:
Code Sample | Socket 0: 3.3V CardBus card function 0: [ready] Socket 1: 3.3V CardBus card function 0: [ready] Socket 0: Vcc 3.3V Vpp1 3.3V Vpp2 3.3V interface type is "cardbus" irq 11 [exclusive] [level] function 0: Socket 1: Vcc 3.3V Vpp1 3.3V Vpp2 3.3V interface type is "cardbus" irq 11 [exclusive] [level] function 0: Socket 0: product info: "Xircom", "CardBus Ethernet II 10/100", "CBEII-10/100", "1.03" manfid: 0x0105, 0x0103 function: 6 (network) Socket 1: no product info available PRODID_1="Xircom" PRODID_2="CardBus Ethernet II 10/100" PRODID_3="CBEII-10/100" PRODID_4="1.03" MANFID=0105,0103 FUNCID=6 PRODID_1="" PRODID_2="" PRODID_3="" PRODID_4="" MANFID=0000,0000 FUNCID=255
|
I ran lspci, and I see the card in the results:
Code Sample | 0000:00:00.0 Host bridge: Intel Corp. 440BX/ZX/DX - 82443BX/ZX/DX Host bridge (rev 03) 0000:00:01.0 PCI bridge: Intel Corp. 440BX/ZX/DX - 82443BX/ZX/DX AGP bridge (rev 03) 0000:00:07.0 ISA bridge: Intel Corp. 82371AB/EB/MB PIIX4 ISA (rev 02) 0000:00:07.1 IDE interface: Intel Corp. 82371AB/EB/MB PIIX4 IDE (rev 01) 0000:00:07.2 USB Controller: Intel Corp. 82371AB/EB/MB PIIX4 USB (rev 01) 0000:00:07.3 Bridge: Intel Corp. 82371AB/EB/MB PIIX4 ACPI (rev 02) 0000:00:11.0 CardBus bridge: Texas Instruments PCI1225 (rev 01) 0000:00:11.1 CardBus bridge: Texas Instruments PCI1225 (rev 01) 0000:01:00.0 VGA compatible controller: ATI Technologies Inc 3D Rage LT Pro AGP-133 (rev dc) 0000:02:00.0 Ethernet controller: Xircom Cardbus Ethernet 10/100 (rev 03) 0000:03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd.: Unknown device 8185 (rev 20)
|
This card runs very nicely with ndiswrapper on the latest puppy (3.01). I'm trying to find out what version of ndiswrapper it uses right now.
The results were the same without the other card installed in slot 0. I noticed on the first page output of the pcmcia tool that both cards show irq 11... is this okay?... but it makes no difference in the end because the system reacts the same without the Xircom in it at all.
Thanks, John
Posted by john.martzouco on Nov. 20 2007,19:44
Okay, I've been reading instructions and trying to understand how to set up my system to compile the driver and I have a couple of questions:
1) do I tar -zxvf the kernel.tar.qz into /usr/src? I don't want to rebuild the kernel, I just want to compile a driver for one piece of hardware.
2) do I patch -0 < the_patch_file? Will it know which files to patch if I don't run it from /usr/src?
3) the .conf file, do I simply place it in /usr/src?
4) if my compile is successful, how many files will I need to copy if I want to apply them again to a later DSL installation without rebuilding again? I guess this can be rephrased as, "how do I know what modules will be created from the build and where will they go?"
Here are the Make files:
rtl818x
Code Sample | #EXTRA_CFLAGS += -DCONFIG_IEEE80211_NOWEP=y #EXTRA_CFLAGS += -DCONFIG_RTL8180_IOMAP EXTRA_CFLAGS += -I$(TOPDIR)/drivers/net/wireless EXTRA_CFLAGS += -std=gnu89 EXTRA_CFLAGS += -O2 CC = gcc #EXTRA_CFLAGS += -mhard-float -DCONFIG_FORCE_HARD_FLOAT=y
#ieee80211-r8180-objs := ieee80211.o ieee80211_rx.o ieee80211_tx.o ieee80211_wx.o ieee80211_module.o
#ieee80211_crypt-r8180 := ieee80211_crypt-r8180.o
r8180-objs := r8180_core.o r8180_sa2400.o r8180_93cx6.o r8180_wx.o r8180_max2820.o r8180_gct.o r8180_rtl8225.o r8180_rtl8255.o
#ieee80211_crpt_wep-r8180-objs := ieee80211_crypt_wep-r8180.o
obj-m += r8180.o #obj-m +=ieee80211-r8180.o #obj-m +=ieee80211_crypt-r8180.o #obj-m +=ieee80211_crypt_wep-r8180.o
MODULES_LST := r8180.ko #ieee80211-r8180.ko ieee80211-r8180_crypt.ko #MODULES_ALG_LST := ieee80211_crypt_wep-r8180.ko
KVER := $(shell uname -r) KSRC := /lib/modules/$(KVER)/build INSTALL_PREFIX :=
all: modules
clean: rm -f *.mod.c *.mod *.o .*.cmd *.ko rm -rf $(PWD)/tmp
modules: # $(MAKE) -C $(KSRC) SUBDIRS=$(PWD) MODVERDIR=$(PWD) modules $(MAKE) -C $(KSRC) M=$(PWD) CC=$(CC) modules
MODDESTDIR := /lib/modules/$(KVER)/kernel/drivers/net/wireless #MOD_ALGDESTDIR := /lib/modules/$(KVER)/kernel/drivers/net/wireless/alg
install: modules mkdir -p $(MODDESTDIR) # mkdir -p $(MOD_ALGDESTDIR) install -p -m 644 $(MODULES_LST) $(MODDESTDIR) # install -p -m 644 $(MODULES_ALG_LST) $(MOD_ALGDESTDIR)
uninstall: cd $(MODDESTDIR) && rm $(MODULES_LST) # cd $(MOD_ALGDESTDIR) && rm $(MODULES_ALG_LST)
load: ./module_load unload:
./module_unload
|
ieee80211
Code Sample | EXTRA_CFLAGS += -I$(TOPDIR)/drivers/net/wireless EXTRA_CFLAGS += -O2
CC = gcc
ieee80211-rtl-objs := ieee80211_softmac.o ieee80211_rx.o ieee80211_tx.o ieee80211_wx.o ieee80211_module.o ieee80211_softmac_wx.o
ieee80211_crypt-rtl-objs := ieee80211_crypt.o ieee80211_crypt_tkip-rtl-objs := ieee80211_crypt_tkip.o ieee80211_crypt_ccmp-rtl-objs := ieee80211_crypt_ccmp.o ieee80211_crypt_wep-rtl-objs := ieee80211_crypt_wep.o
obj-m +=ieee80211-rtl.o obj-m +=ieee80211_crypt-rtl.o obj-m +=ieee80211_crypt_wep-rtl.o obj-m +=ieee80211_crypt_tkip-rtl.o obj-m +=ieee80211_crypt_ccmp-rtl.o
KVER := $(shell uname -r) KSRC := /lib/modules/$(KVER)/build INSTALL_PREFIX :=
all: modules
clean: rm -f *.mod.c *.mod *.o .*.cmd *.ko rm -rf $(PWD)/tmp
modules: # $(MAKE) -C $(KSRC) SUBDIRS=$(PWD) MODVERDIR=$(PWD) modules
$(MAKE) -C $(KSRC) M=$(PWD) CC=$(CC) modules
|
wpa_supplicant
Code Sample | ifndef CC CC=gcc endif
ifndef CFLAGS CFLAGS = -MMD -O2 -Wall -g endif
# Include directories for CVS version CFLAGS += -I. -I../utils -I../hostapd
ALL=wpa_supplicant wpa_passphrase wpa_cli
all: verify_config $(ALL)
verify_config: @if [ ! -r .config ]; then \ echo 'Building wpa_supplicant requires a configuration file'; \ echo '(.config). See README for more instructions. You can'; \ echo 'run "cp defconfig .config" to create an example'; \ echo 'configuration.'; \ exit 1; \ fi
mkconfig: @if [ -e .config ]; then \ echo '.config exists - did not replace it'; \ exit 1; \ fi echo CONFIG_DRIVER_HOSTAP=y >> .config echo CONFIG_DRIVER_WEXT=y >> .config echo CONFIG_WIRELESS_EXTENSION=y >> .config
install: all mkdir -p $(DESTDIR)/usr/local/sbin/ for i in $(ALL); do cp $$i $(DESTDIR)/usr/local/sbin/$$i; done
OBJS = config.o \ eloop.o common.o md5.o \ rc4.o sha1.o OBJS_p = wpa_passphrase.o sha1.o md5.o OBJS_c = wpa_cli.o wpa_ctrl.o
-include .config
ifdef CONFIG_EAPOL_TEST CFLAGS += -Werror -DEAPOL_TEST endif
ifndef CONFIG_BACKEND CONFIG_BACKEND=file endif
ifeq ($(CONFIG_BACKEND), file) OBJS += config_file.o base64.o CFLAGS += -DCONFIG_BACKEND_FILE endif
ifdef CONFIG_DRIVER_HOSTAP CFLAGS += -DCONFIG_DRIVER_HOSTAP OBJS_d += driver_hostap.o CONFIG_WIRELESS_EXTENSION=y endif
ifdef CONFIG_DRIVER_WEXT CFLAGS += -DCONFIG_DRIVER_WEXT CONFIG_WIRELESS_EXTENSION=y endif
ifdef CONFIG_DRIVER_PRISM54 CFLAGS += -DCONFIG_DRIVER_PRISM54 OBJS_d += driver_prism54.o CONFIG_WIRELESS_EXTENSION=y endif
ifdef CONFIG_DRIVER_HERMES CFLAGS += -DCONFIG_DRIVER_HERMES OBJS_d += driver_hermes.o CONFIG_WIRELESS_EXTENSION=y endif
ifdef CONFIG_DRIVER_MADWIFI CFLAGS += -DCONFIG_DRIVER_MADWIFI OBJS_d += driver_madwifi.o CONFIG_WIRELESS_EXTENSION=y endif
ifdef CONFIG_DRIVER_ATMEL CFLAGS += -DCONFIG_DRIVER_ATMEL OBJS_d += driver_atmel.o CONFIG_WIRELESS_EXTENSION=y endif
ifdef CONFIG_DRIVER_NDISWRAPPER CFLAGS += -DCONFIG_DRIVER_NDISWRAPPER OBJS_d += driver_ndiswrapper.o CONFIG_WIRELESS_EXTENSION=y endif
ifdef CONFIG_DRIVER_BROADCOM CFLAGS += -DCONFIG_DRIVER_BROADCOM OBJS_d += driver_broadcom.o endif
ifdef CONFIG_DRIVER_IPW CFLAGS += -DCONFIG_DRIVER_IPW OBJS_d += driver_ipw.o CONFIG_WIRELESS_EXTENSION=y endif
ifdef CONFIG_DRIVER_BSD CFLAGS += -DCONFIG_DRIVER_BSD OBJS_d += driver_bsd.o CONFIG_DNET_PCAP=y CONFIG_L2_FREEBSD=y endif
ifdef CONFIG_DRIVER_NDIS CFLAGS += -DCONFIG_DRIVER_NDIS OBJS_d += driver_ndis.o driver_ndis_.o CONFIG_DNET_PCAP=y CONFIG_WINPCAP=y endif
ifdef CONFIG_DRIVER_WIRED CFLAGS += -DCONFIG_DRIVER_WIRED OBJS_d += driver_wired.o endif
ifdef CONFIG_DRIVER_TEST CFLAGS += -DCONFIG_DRIVER_TEST OBJS_d += driver_test.o endif
ifdef CONFIG_DNET_PCAP CFLAGS += -DUSE_DNET_PCAP ifdef CONFIG_WINPCAP OBJS += l2_packet_pcap.o CFLAGS += -DCONFIG_WINPCAP LIBS += -lwpcap -lpacket LIBS_w += -lwpcap else ifdef CONFIG_L2_FREEBSD OBJS += l2_packet_freebsd.o LIBS += -lpcap else OBJS += l2_packet_pcap.o LIBS += -ldnet -lpcap endif endif else OBJS += l2_packet_linux.o endif
ifdef CONFIG_EAP_TLS # EAP-TLS CFLAGS += -DEAP_TLS OBJS += eap_tls.o TLS_FUNCS=y CONFIG_IEEE8021X_EAPOL=y endif
ifdef CONFIG_EAP_PEAP # EAP-PEAP CFLAGS += -DEAP_PEAP OBJS += eap_peap.o TLS_FUNCS=y CONFIG_EAP_MSCHAPV2=y CONFIG_IEEE8021X_EAPOL=y CONFIG_EAP_TLV=y endif
ifdef CONFIG_EAP_TTLS # EAP-TTLS CFLAGS += -DEAP_TTLS OBJS += eap_ttls.o MS_FUNCS=y TLS_FUNCS=y CONFIG_EAP_MD5=y CONFIG_IEEE8021X_EAPOL=y endif
ifdef CONFIG_EAP_MD5 # EAP-MD5 (also used by EAP-TTLS) CFLAGS += -DEAP_MD5 OBJS += eap_md5.o CONFIG_IEEE8021X_EAPOL=y endif
# backwards compatibility for old spelling ifdef CONFIG_MSCHAPV2 CONFIG_EAP_MSCHAPV2=y endif
ifdef CONFIG_EAP_MSCHAPV2 # EAP-MSCHAPv2 (also used by EAP-PEAP) CFLAGS += -DEAP_MSCHAPv2 OBJS += eap_mschapv2.o MS_FUNCS=y CONFIG_IEEE8021X_EAPOL=y endif
ifdef CONFIG_EAP_GTC # EAP-GTC (also used by EAP-PEAP) CFLAGS += -DEAP_GTC OBJS += eap_gtc.o CONFIG_IEEE8021X_EAPOL=y endif
ifdef CONFIG_EAP_OTP # EAP-OTP CFLAGS += -DEAP_OTP OBJS += eap_otp.o CONFIG_IEEE8021X_EAPOL=y endif
ifdef CONFIG_EAP_SIM # EAP-SIM CFLAGS += -DEAP_SIM OBJS += eap_sim.o CONFIG_IEEE8021X_EAPOL=y CONFIG_EAP_SIM_COMMON=y endif
ifdef CONFIG_EAP_LEAP # EAP-LEAP CFLAGS += -DEAP_LEAP OBJS += eap_leap.o MS_FUNCS=y CONFIG_IEEE8021X_EAPOL=y endif
ifdef CONFIG_EAP_PSK # EAP-PSK CFLAGS += -DEAP_PSK OBJS += eap_psk.o eap_psk_common.o CONFIG_IEEE8021X_EAPOL=y NEED_AES=y endif
ifdef CONFIG_EAP_AKA # EAP-AKA CFLAGS += -DEAP_AKA OBJS += eap_aka.o CONFIG_IEEE8021X_EAPOL=y CONFIG_EAP_SIM_COMMON=y endif
ifdef CONFIG_EAP_SIM_COMMON OBJS += eap_sim_common.o NEED_AES=y endif
ifdef CONFIG_EAP_TLV # EAP-TLV CFLAGS += -DEAP_TLV OBJS += eap_tlv.o endif
ifdef CONFIG_EAP_FAST # EAP-FAST CFLAGS += -DEAP_FAST OBJS += eap_fast.o TLS_FUNCS=y endif
ifdef CONFIG_EAP_PAX # EAP-PAX CFLAGS += -DEAP_PAX OBJS += eap_pax.o eap_pax_common.o CONFIG_IEEE8021X_EAPOL=y endif
ifdef CONFIG_IEEE8021X_EAPOL # IEEE 802.1X/EAPOL state machines (e.g., for RADIUS authentication) CFLAGS += -DIEEE8021X_EAPOL OBJS += eapol_sm.o eap.o endif
ifdef CONFIG_PCSC # PC/SC interface for smartcards (USIM, GSM SIM) CFLAGS += -DPCSC_FUNCS -I/usr/include/PCSC OBJS += pcsc_funcs.o # -lpthread may not be needed depending on how pcsc-lite was configured LIBS += -lpcsclite -lpthread endif
ifndef CONFIG_TLS CONFIG_TLS=openssl endif
ifdef TLS_FUNCS # Shared TLS functions (needed for EAP_TLS, EAP_PEAP, EAP_TTLS, and EAP_FAST) CFLAGS += -DEAP_TLS_FUNCS OBJS += eap_tls_common.o ifeq ($(CONFIG_TLS), openssl) OBJS += tls_openssl.o LIBS += -lssl -lcrypto LIBS_p += -lcrypto endif ifeq ($(CONFIG_TLS), gnutls) OBJS += tls_gnutls.o LIBS += -lgnutls -lgcrypt -lgpg-error LIBS_p += -lgcrypt endif ifeq ($(CONFIG_TLS), schannel) OBJS += tls_schannel.o # Using OpenSSL for crypto at the moment; to be replaced LIBS += -lcrypto LIBS_p += -lcrypto endif ifdef CONFIG_SMARTCARD ifndef CONFIG_NATIVE_WINDOWS ifndef CONFIG_L2_FREEBSD LIBS += -ldl endif endif endif NEED_CRYPTO=y else OBJS += tls_none.o endif
ifdef CONFIG_PKCS12 CFLAGS += -DPKCS12_FUNCS endif
ifdef CONFIG_SMARTCARD CFLAGS += -DCONFIG_SMARTCARD endif
ifdef MS_FUNCS OBJS += ms_funcs.o NEED_CRYPTO=y endif
ifdef NEED_CRYPTO ifndef TLS_FUNCS ifeq ($(CONFIG_TLS), openssl) LIBS += -lcrypto LIBS_p += -lcrypto endif ifeq ($(CONFIG_TLS), gnutls) LIBS += -lgcrypt LIBS_p += -lgcrypt endif ifeq ($(CONFIG_TLS), schannel) # Using OpenSSL for crypto at the moment; to be replaced LIBS += -lcrypto LIBS_p += -lcrypto endif endif ifeq ($(CONFIG_TLS), openssl) OBJS += crypto.o OBJS_p += crypto.o endif ifeq ($(CONFIG_TLS), gnutls) OBJS += crypto_gnutls.o OBJS_p += crypto_gnutls.o endif ifeq ($(CONFIG_TLS), schannel) # Using OpenSSL for crypto at the moment; to be replaced OBJS += crypto.o OBJS_p += crypto.o endif endif
ifdef CONFIG_WIRELESS_EXTENSION CFLAGS += -DCONFIG_WIRELESS_EXTENSION OBJS_d += driver_wext.o endif
ifdef CONFIG_CTRL_IFACE CFLAGS += -DCONFIG_CTRL_IFACE OBJS += ctrl_iface.o endif
ifdef CONFIG_READLINE CFLAGS += -DCONFIG_READLINE LIBS_c += -lncurses -lreadline endif
ifdef CONFIG_NATIVE_WINDOWS CFLAGS += -DCONFIG_NATIVE_WINDOWS -DCONFIG_CTRL_IFACE_UDP LIBS += -lws2_32 -lgdi32 -lcrypt32 LIBS_c += -lws2_32 endif
ifdef CONFIG_NO_STDOUT_DEBUG CFLAGS += -DCONFIG_NO_STDOUT_DEBUG endif
ifdef CONFIG_IPV6 # for eapol_test only CFLAGS += -DCONFIG_IPV6 endif
ifndef CONFIG_NO_WPA OBJS += wpa.o preauth.o NEED_AES=y else CFLAGS += -DCONFIG_NO_WPA endif
ifdef NEED_AES OBJS += aes_wrap.o endif
OBJS += wpa_supplicant.o events.o OBJS_t := $(OBJS) eapol_test.o radius.o radius_client.o OBJS_t2 := $(OBJS) preauth_test.o OBJS += main.o drivers.o $(OBJS_d)
wpa_supplicant: .config $(OBJS) $(CC) -o wpa_supplicant $(OBJS) $(LIBS)
eapol_test: .config $(OBJS_t) $(CC) -o eapol_test $(OBJS_t) $(LIBS)
preauth_test: .config $(OBJS_t2) $(CC) -o preauth_test $(OBJS_t2) $(LIBS)
wpa_passphrase: $(OBJS_p) $(CC) -o wpa_passphrase $(OBJS_p) $(LIBS_p)
wpa_cli: $(OBJS_c) $(CC) -o wpa_cli $(OBJS_c) $(LIBS_c)
win_if_list: win_if_list.c $(CC) -o $@ win_if_list.c $(CFLAGS) $(LIBS_w)
# parameters for Microsoft Visual C++ Toolkit 2003 compiler CL=cl CLDIR=C:\Program Files\Microsoft Visual C++ Toolkit 2003 PSDKDIR=C:\Program Files\Microsoft Platform SDK for Windows XP SP2 CLFLAGS=-O CLLIBS=wbemuuid.lib libcmt.lib kernel32.lib uuid.lib ole32.lib oleaut32.lib \ ws2_32.lib
ndis_events: ndis_events.cpp INCLUDE="$(CLDIR)\include;$(PSDKDIR)\Include" \ LIB="$(CLDIR)\lib;$(PSDKDIR)\Lib" \ $(CL) $(CLFLAGS) -o ndis_events.exe ndis_events.cpp \ /link -nodefaultlib $(CLLIBS)
wpa_supplicant.exe: wpa_supplicant mv -f $< $@ wpa_cli.exe: wpa_cli mv -f $< $@ wpa_passphrase.exe: wpa_passphrase mv -f $< $@ win_if_list.exe: win_if_list mv -f $< $@ eapol_test.exe: eapol_test mv -f $< $@
WINALL=wpa_supplicant.exe wpa_cli.exe wpa_passphrase.exe win_if_list.exe
windows-bin: $(WINALL) $(STRIP) $(WINALL)
wpa_gui/Makefile: qmake -o wpa_gui/Makefile wpa_gui/wpa_gui.pro
wpa_gui: wpa_gui/Makefile $(MAKE) -C wpa_gui
TEST_SRC_MS_FUNCS = ms_funcs.c crypto.c sha1.c md5.c test-ms_funcs: $(TEST_SRC_MS_FUNCS) $(CC) -o test-ms_funcs -Wall -Werror $(TEST_SRC_MS_FUNCS) \ -DTEST_MAIN_MS_FUNCS -lcrypto -I../hostapd -I. ./test-ms_funcs rm test-ms_funcs
TEST_SRC_SHA1 = sha1.c test-sha1: $(TEST_SRC_SHA1) $(CC) -o test-sha1 -Wall -Werror $(TEST_SRC_SHA1) \ -DTEST_MAIN -I../hostad -I. ./test-sha1 rm test-sha1
TEST_SRC_AES_WRAP = aes_wrap.c test-aes_wrap: $(TEST_SRC_AES_WRAP) $(CC) -o test-aes_wrap -Wall -Werror $(TEST_SRC_AES_WRAP) \ -DTEST_MAIN -I../hostad -I. ./test-aes_wrap rm test-aes_wrap
TEST_SRC_EAP_SIM_COMMON = eap_sim_common.c sha1.c md5.c \ aes_wrap.c common.c test-eap_sim_common: $(TEST_SRC_EAP_SIM_COMMON) $(CC) -o test-eap_sim_common -Wall -Werror $(TEST_SRC_EAP_SIM_COMMON) \ -DTEST_MAIN_EAP_SIM_COMMON -I../hostapd -I. ./test-eap_sim_common rm test-eap_sim_common
tests: test-ms_funcs test-sha1 test-aes_wrap test-eap_sim_common
clean: rm -f core *~ *.o *.d $(ALL) $(WINALL)
%.eps: %.fig fig2dev -L eps $*.fig $*.eps
%.png: %.fig fig2dev -L png -m 3 $*.fig | pngtopnm | pnmscale 0.4 | pnmtopng \ > $*.png
docs-pics: doc/wpa_supplicant.png doc/wpa_supplicant.eps
docs: docs-pics doxygen doc/doxygen.full $(MAKE) -C doc/latex cp doc/latex/refman.pdf wpa_supplicant-devel.pdf
docs-fast: docs-pics doxygen doc/doxygen.fast
clean-docs: rm -rf doc/latex doc/html rm -f doc/wpa_supplicant.{eps,png} wpa_supplicant-devel.pdf
-include $(OBJS:%.o=%.d)
|
In case there's more information that can be gleaned from the driver sources, they can be downloaded from here: < Encore Linux driver for ENPWI-G2 >
Thanks for the help, John
Posted by Juanito on Nov. 21 2007,03:54
Maybe < this post > on compiling modules would be useful. The second page of < this post > shows how to identify any modules that were created.
Posted by curaga on Nov. 21 2007,16:30
I'm pretty sure ieee80211_softmac requires a 2.6 kernel.. Not 100% though
|