1 # Copyright 2004, Broadcom Corporation
4 # This is UNPUBLISHED PROPRIETARY SOURCE CODE of Broadcom Corporation;
5 # the contents of this file may not be disclosed to third parties, copied or
6 # duplicated in any form, in whole or in part, without the prior written
7 # permission of Broadcom Corporation.
9 # Makefile for the Broadcom wl srom file
13 ifneq ($(WLDEVBUILD),)
14 $(obj)/../../shared/bcm4306_map.o $(obj)/../../shared/bcm4318_map.o:
15 $(CC) $(CFLAGS) -I$(WLSRCBASE)/include -c -o $@ $*.c
17 $(obj)/shared/bcm4306_map.o $(obj)/shared/bcm4318_map.o:
18 $(CC) $(CFLAGS) -I$(obj)/include -c -o $@ $*.c
20 $(OBJCOPY) -j .data -O binary $@ $*.bin
21 if [ ! -e $(INSTALL_DIR)/etc/wlan ]; then \
22 mkdir $(INSTALL_DIR)/etc/wlan; \
24 cp -av $*.bin $(INSTALL_DIR)/etc/wlan