3 # Makefile for wlcompat
5 # Copyright (C) 2005-2007 Felix Fietkau <nbd@openwrt.org>
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.
13 EXTRA_CFLAGS
+= -DBCMDRIVER
=1 -DBCMDMA64
=1 -I..
/include
15 EXTRA_CFLAGS
+= -DDEBUG
=1
19 obj-m
:= wlcompat
$(_D
).o
20 modules
: wlcompat
$(_D
).o
22 wlcompat
$(_D
).o
: wlcompat.c
23 $(CC
) $(CFLAGS
) $(EXTRA_CFLAGS_nostdinc
) -DKBUILD_BASENAME
=$(subst $(comma
),_
,$(subst -,_
,$(*F
))) $(CFLAGS_
$@
) -c
-o
$@
$<
25 -include $(TOPDIR
)/Rules.make
This page took 0.043137 seconds and 5 git commands to generate.