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_apsta / Makefile
blobf3af0a4c677b8864ec2b986d7decb7852b188d90
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 2007/11/17 01:37:38 Exp $
15 SRCBASE := ../../../../../..
17 ifeq ($(CONFIG_WL_APSTA),)
18 CONFIG_WL_APSTA := "wlconfig_lx_router_apsta"
19 endif
20 CONFIG_WL_CONF = $(CONFIG_WL_APSTA)
22 wl_suffix := apsta
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