2 # Makefile for wlcompat
4 # Copyright (C) 2005-2007 Felix Fietkau <nbd@openwrt.org>
6 # This program is free software; you can redistribute it and/or
7 # modify it under the terms of the GNU General Public License
8 # as published by the Free Software Foundation; either version
9 # 2 of the License, or (at your option) any later version.
12 EXTRA_CFLAGS
+= -DBCMDRIVER
=1 -DBCMDMA64
=1 -I..
/include
14 EXTRA_CFLAGS
+= -DDEBUG
=1
18 EXTRA_CFLAGS
+= -DWL_WEXT
=1
21 obj-m
:= wlcompat
$(_D
).o
22 modules
: wlcompat
$(_D
).o
24 wlcompat
$(_D
).o
: wlcompat.c
25 $(CC
) $(CFLAGS
) $(EXTRA_CFLAGS_nostdinc
) -DKBUILD_BASENAME
=$(subst $(comma
),_
,$(subst -,_
,$(*F
))) $(CFLAGS_
$@
) -c
-o
$@
$<
27 -include $(TOPDIR
)/Rules.make
This page took 0.043658 seconds and 5 git commands to generate.