From ed261aac7dd5c71351f720ab16a12b5bd8c1073b Mon Sep 17 00:00:00 2001 From: nbd Date: Sat, 10 Nov 2007 19:00:53 +0000 Subject: move wlcompat to the broadcom-wl package git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9528 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/broadcom-wl/src/wlcompat/Makefile | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 package/broadcom-wl/src/wlcompat/Makefile (limited to 'package/broadcom-wl/src/wlcompat/Makefile') diff --git a/package/broadcom-wl/src/wlcompat/Makefile b/package/broadcom-wl/src/wlcompat/Makefile new file mode 100644 index 000000000..6f3224df1 --- /dev/null +++ b/package/broadcom-wl/src/wlcompat/Makefile @@ -0,0 +1,25 @@ +# $Id$ +# +# Makefile for wlcompat +# +# Copyright (C) 2005-2007 Felix Fietkau +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version +# 2 of the License, or (at your option) any later version. +# + +EXTRA_CFLAGS += -DBCMDRIVER=1 -DBCMDMA64=1 -I../include +ifneq ($(DEBUG),) + EXTRA_CFLAGS += -DDEBUG=1 + _D=-debug +endif + +obj-m := wlcompat$(_D).o +modules: wlcompat$(_D).o + +wlcompat$(_D).o: wlcompat.c + $(CC) $(CFLAGS) $(EXTRA_CFLAGS_nostdinc) -DKBUILD_BASENAME=$(subst $(comma),_,$(subst -,_,$(*F))) $(CFLAGS_$@) -c -o $@ $< + +-include $(TOPDIR)/Rules.make -- cgit v1.2.3