2 # Copyright 2004 Broadcom Corp. All Rights Reserved.
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.
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
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.
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
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
25 $(OBJCOPY) -j .data -O binary $@ $*.bin
26 if [ ! -e $(INSTALL_DIR)/etc/wlan ]; then \
27 mkdir $(INSTALL_DIR)/etc/wlan; \
29 cp -av $*.bin $(INSTALL_DIR)/etc/wlan