diff options
author | Holger Schurig <schurig@mn-solutions.de> | 2005-02-15 12:12:25 +0000 |
---|---|---|
committer | Holger Schurig <schurig@mn-solutions.de> | 2005-02-15 12:12:25 +0000 |
commit | 66e97e64ffa11ee754bcc56ce5bd8c66c09a4705 (patch) | |
tree | 80aafc82ea36bb77359be164219841ffeddfc8cd /packages/wlags-modules/files/Makefile | |
parent | 191694f670bccdab3f26f07d3a317b039524ddf8 (diff) |
the UIL config mode is needed by wpa_supplicant
BKrev: 4211e72995wjgTvRIEtS88R4sFwn_w
Diffstat (limited to 'packages/wlags-modules/files/Makefile')
-rw-r--r-- | packages/wlags-modules/files/Makefile | 81 |
1 files changed, 81 insertions, 0 deletions
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 |