From 66e97e64ffa11ee754bcc56ce5bd8c66c09a4705 Mon Sep 17 00:00:00 2001 From: Holger Schurig Date: Tue, 15 Feb 2005 12:12:25 +0000 Subject: the UIL config mode is needed by wpa_supplicant BKrev: 4211e72995wjgTvRIEtS88R4sFwn_w --- packages/wlags-modules/files/Makefile | 81 +++++++++++++++++++++++++++++++++++ 1 file changed, 81 insertions(+) (limited to 'packages/wlags-modules/files/Makefile') diff --git a/packages/wlags-modules/files/Makefile b/packages/wlags-modules/files/Makefile index e69de29bb2..b9addc5231 100644 --- a/packages/wlags-modules/files/Makefile +++ b/packages/wlags-modules/files/Makefile @@ -0,0 +1,81 @@ +EXTRA_CFLAGS := -DBUS_PCMCIA -DWVLAN_49 -DHCF_MEM_IO -DHAS_WIRELESS_EXTENSIONS -DUSE_UIL +#EXTRA_CFLAGS += -DDBG=1 -DDBG_LVL=4 + +# Station: +EXTRA_CFLAGS += -DSTA_ONLY + +# Access-Point: +#EXTRA_CFLAGS += -DAP_ONLY -DUSE_WDS + +# Station & Access-Point: +#EXTRA_CFLAGS += -DUSE_WDS + +# Je nach Station, AP oder St+Ap müssen verschiedene Firmware-Versionen einkompiliert werden: +ifneq ($(findstring STA_ONLY,$(EXTRA_CFLAGS)),) +sta_ap-objs := sta_h$(COMPILE_HERMES).o +else +ifneq ($(findstring AP_ONLY,$(EXTRA_CFLAGS)),) +sta_ap-objs := ap_h$(COMPILE_HERMES).o +else +sta_ap-objs := sta_h$(COMPILE_HERMES).o +sta-ap-objs += ap_h$(COMPILE_HERMELS).o +endif +endif + + +####################################### + +ifeq ($(COMPILE_HERMES),1) + +EXTRA_CFLAGS := $(EXTRA_CFLAGS) -DHERMES1 + +list-multi := wlags49_h1_cs.o + +wlags49_h1_cs-objs := wl_cs.o wl_main.o wl_netdev.o wl_priv.o wl_util.o wl_wext.o \ + hcf.o mmd.o dhf.o $(sta_ap-objs) + +obj-m := wlags49_h1_cs.o + +wlags49_h1_cs.o: $(wlags49_h1_cs-objs) + $(LD) $(LD_RFLAG) -r -o $@ $(wlags49_h1_cs-objs) + +endif + +####################################### + +ifeq ($(COMPILE_HERMES),2) + +EXTRA_CFLAGS := $(EXTRA_CFLAGS) -DHERMES2 -DUSE_RTS + +list-multi := wlags49_h2_cs.o + +wlags49_h2_cs-objs := wl_cs.o wl_main.o wl_netdev.o wl_priv.o wl_util.o wl_wext.o wl_enc.o \ + hcf.o mmd.o dhf.o $(sta_ap-objs) + +obj-m := wlags49_h2_cs.o + +wlags49_h2_cs.o: $(wlags49_h2_cs-objs) + $(LD) $(LD_RFLAG) -r -o $@ $(wlags49_h2_cs-objs) + +endif + +####################################### + +ifeq ($(COMPILE_HERMES),25) + +EXTRA_CFLAGS := $(EXTRA_CFLAGS) -DHERMES25 -DUSE_RTS + +list-multi := wlags49_h25_cs.o + +wlags49_h25_cs-objs := wl_cs.o wl_main.o wl_netdev.o wl_priv.o wl_util.o wl_wext.o \ + hcf.o mmd.o dhf.o $(sta_ap-objs) + +obj-m := wlags49_h25_cs.o + +wlags49_h25_cs.o: $(wlags49_h25_cs-objs) + $(LD) $(LD_RFLAG) -r -o $@ $(wlags49_h25_cs-objs) + +endif + + +include $(TOPDIR)/Rules.make -- cgit v1.2.3