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_onchip_g / Makefile
blobe548352dc2e75b878422583dcd5d6edd2f3bebb1
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:39 Exp $
15 SRCBASE := ../../../../../..
17 ifeq ($(CONFIG_WL_APSTA_ONCHIP_G),)
18 CONFIG_WL_APSTA_ONCHIP_G := "wlconfig_lx_router_apsta_1chipG"
19 endif
20 CONFIG_WL_CONF = $(CONFIG_WL_APSTA_ONCHIP_G)
22 wl_suffix := apsta_onchip_g
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