diff options
author | Denys Dmytriyenko <denis@denix.org> | 2009-03-17 14:32:59 -0400 |
---|---|---|
committer | Denys Dmytriyenko <denis@denix.org> | 2009-03-17 14:32:59 -0400 |
commit | 709c4d66e0b107ca606941b988bad717c0b45d9b (patch) | |
tree | 37ee08b1eb308f3b2b6426d5793545c38396b838 /recipes/wlags-modules/files/Makefile | |
parent | fa6cd5a3b993f16c27de4ff82b42684516d433ba (diff) |
rename packages/ to recipes/ per earlier agreement
See links below for more details:
http://thread.gmane.org/gmane.comp.handhelds.openembedded/21326
http://thread.gmane.org/gmane.comp.handhelds.openembedded/21816
Signed-off-by: Denys Dmytriyenko <denis@denix.org>
Acked-by: Mike Westerhof <mwester@dls.net>
Acked-by: Philip Balister <philip@balister.org>
Acked-by: Khem Raj <raj.khem@gmail.com>
Acked-by: Marcin Juszkiewicz <hrw@openembedded.org>
Acked-by: Koen Kooi <koen@openembedded.org>
Acked-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
Diffstat (limited to 'recipes/wlags-modules/files/Makefile')
-rw-r--r-- | recipes/wlags-modules/files/Makefile | 81 |
1 files changed, 81 insertions, 0 deletions
diff --git a/recipes/wlags-modules/files/Makefile b/recipes/wlags-modules/files/Makefile new file mode 100644 index 0000000000..9cd1358984 --- /dev/null +++ b/recipes/wlags-modules/files/Makefile @@ -0,0 +1,81 @@ +EXTRA_CFLAGS := -DBUS_PCMCIA -DWVLAN_49 -DHCF_MEM_IO -DHAS_WIRELESS_EXTENSIONS -DUSE_UIL -DUSE_WPA +EXTRA_CFLAGS += -DDBG=1 -DDBG_LVL=2 + +# 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 |