move wlcompat to the broadcom-wl package
SVN-Revision: 9528
This commit is contained in:
@@ -12,8 +12,8 @@
|
||||
* $Id: ethernet.h,v 1.1.1.14 2006/02/27 03:43:16 honor Exp $
|
||||
*/
|
||||
|
||||
#ifndef _NET_ETHERNET_H_ /* use native BSD ethernet.h when available */
|
||||
#define _NET_ETHERNET_H_
|
||||
#ifndef __NET_ETHERNET_H
|
||||
#define __NET_ETHERNET_H
|
||||
|
||||
#ifndef _TYPEDEFS_H_
|
||||
#include "typedefs.h"
|
||||
@@ -162,4 +162,4 @@ static const struct ether_addr ether_bcast = {{255, 255, 255, 255, 255, 255}};
|
||||
#pragma pack()
|
||||
#endif
|
||||
|
||||
#endif /* _NET_ETHERNET_H_ */
|
||||
#endif /* __NET_ETHERNET_H */
|
||||
@@ -4,6 +4,6 @@ clean:
|
||||
|
||||
wlc: wlc.o ioctl.o
|
||||
%.o: %.c
|
||||
$(CC) $(CFLAGS) -Wall -c -o $@ $<
|
||||
$(CC) $(CFLAGS) -I../include -Wall -c -o $@ $<
|
||||
|
||||
.PHONY: all clean
|
||||
|
||||
25
package/broadcom-wl/src/wlcompat/Makefile
Normal file
25
package/broadcom-wl/src/wlcompat/Makefile
Normal file
@@ -0,0 +1,25 @@
|
||||
# $Id$
|
||||
#
|
||||
# Makefile for wlcompat
|
||||
#
|
||||
# Copyright (C) 2005-2007 Felix Fietkau <nbd@openwrt.org>
|
||||
#
|
||||
# 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
|
||||
1036
package/broadcom-wl/src/wlcompat/wlcompat.c
Normal file
1036
package/broadcom-wl/src/wlcompat/wlcompat.c
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user