www.usr.com/support/gpl/USR9113_release1.0.tar.gz
[bcm963xx.git] / bcmdrivers / broadcom / net / wl / impl2 / Makefile.srom
1 #<:copyright-gpl
2 # Copyright 2004 Broadcom Corp. All Rights Reserved.
3
4 # This program is free software; you can distribute it and/or modify it
5 # under the terms of the GNU General Public License (Version 2) as
6 # published by the Free Software Foundation.
7
8 # This program is distributed in the hope it will be useful, but WITHOUT
9 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
10 # FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
11 # for more details.
12
13 # You should have received a copy of the GNU General Public License along
14 # with this program; if not, write to the Free Software Foundation, Inc.,
15 # 59 Temple Place - Suite 330, Boston MA 02111-1307, USA.
16 #:>
17
18 ifneq ($(WLDEVBUILD),)
19 $(obj)/../../shared/bcm4306_map.o $(obj)/../../shared/bcm4318_map.o $(obj)/../../shared/bcm4321_map.o:
20         $(CC) $(CFLAGS) -I$(WLSRCBASE)/include -c -o $@ $*.c
21 else
22 $(obj)/shared/bcm4306_map.o $(obj)/shared/bcm4318_map.o $(obj)/shared/bcm4321_map.o:
23         $(CC) $(CFLAGS) -I$(obj)/include -c -o $@ $*.c
24 endif
25         $(OBJCOPY) -j .data -O binary $@ $*.bin
26         if [ ! -e $(INSTALL_DIR)/etc/wlan ]; then \
27                 mkdir $(INSTALL_DIR)/etc/wlan; \
28         fi
29         cp -av $*.bin  $(INSTALL_DIR)/etc/wlan