Broadcom SDK and wireless driver: another attempt to update to ver. 5.10.147.0
[tomato.git] / release / src-rt / linux / linux-2.6 / drivers / net / wl / wl_high / Makefile
blob1b4cff4e2e7d5004132e64207f0a295ed30d1770
2 # Makefile for the Broadcom wl driver
4 # Copyright (C) 2009, Broadcom Corporation
5 # All Rights Reserved.
6 #
7 # THIS SOFTWARE IS OFFERED "AS IS", AND BROADCOM GRANTS NO WARRANTIES OF ANY
8 # KIND, EXPRESS OR IMPLIED, BY STATUTE, COMMUNICATION OR OTHERWISE. BROADCOM
9 # SPECIFICALLY DISCLAIMS ANY IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS
10 # FOR A SPECIFIC PURPOSE OR NONINFRINGEMENT CONCERNING THIS SOFTWARE.
12 # $Id: Makefile,v 1.2 2010/01/28 10:28:08 Exp $
15 SRCBASE := ../../../../../..
17 ifeq ($(CONFIG_WL_HIGH),)
18 CONFIG_WL_HIGH := "wlconfig_lx_router_high"
19 endif
20 CONFIG_WL_CONF = $(CONFIG_WL_HIGH)
22 wl_suffix := high
24 TARGET := wl_$(wl_suffix)
25 WLCONF_H := ../wlconf.h
26 WLCONF_O := ../wlconf.o
28 ifneq ($(KERNELRELEASE),)
29 # kbuild part of makefile
30 include $(src)/../wl_generic.mk
31 else
32 # Normal makefile
33 KERNELDIR := $(SRCBASE)/linux/linux-2.6
34 all:
35 $(MAKE) -C $(KERNELDIR) M=`pwd`
36 clean:
37 $(MAKE) -C $(KERNELDIR) M=`pwd` clean
38 include ../wl_generic.mk
39 endif