use the same hotplug2 parameters for initramfs and regular
[openwrt.git] / package / broadcom-wl / src / wlcompat / Makefile
1 # $Id$
2 #
3 # Makefile for wlcompat
4 #
5 # Copyright (C) 2005-2007 Felix Fietkau <nbd@openwrt.org>
6 #
7 # This program is free software; you can redistribute it and/or
8 # modify it under the terms of the GNU General Public License
9 # as published by the Free Software Foundation; either version
10 # 2 of the License, or (at your option) any later version.
11 #
12
13 EXTRA_CFLAGS += -DBCMDRIVER=1 -DBCMDMA64=1 -I../include
14 ifneq ($(DEBUG),)
15 EXTRA_CFLAGS += -DDEBUG=1
16 _D=-debug
17 endif
18 ifneq ($(WL_WEXT),)
19 EXTRA_CFLAGS += -DWL_WEXT=1
20 endif
21
22 obj-m := wlcompat$(_D).o
23 modules: wlcompat$(_D).o
24
25 wlcompat$(_D).o: wlcompat.c
26 $(CC) $(CFLAGS) $(EXTRA_CFLAGS_nostdinc) -DKBUILD_BASENAME=$(subst $(comma),_,$(subst -,_,$(*F))) $(CFLAGS_$@) -c -o $@ $<
27
28 -include $(TOPDIR)/Rules.make
This page took 0.040992 seconds and 5 git commands to generate.