www.usr.com/support/gpl/USR9113_release1.0.tar.gz
[bcm963xx.git] / bcmdrivers / broadcom / net / wl / impl2 / Makefile.srom
diff --git a/bcmdrivers/broadcom/net/wl/impl2/Makefile.srom b/bcmdrivers/broadcom/net/wl/impl2/Makefile.srom
new file mode 100755 (executable)
index 0000000..b80770f
--- /dev/null
@@ -0,0 +1,29 @@
+#<:copyright-gpl
+# Copyright 2004 Broadcom Corp. All Rights Reserved.
+
+# This program is free software; you can distribute it and/or modify it
+# under the terms of the GNU General Public License (Version 2) as
+# published by the Free Software Foundation.
+
+# This program is distributed in the hope it will be useful, but WITHOUT
+# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
+# for more details.
+
+# You should have received a copy of the GNU General Public License along
+# with this program; if not, write to the Free Software Foundation, Inc.,
+# 59 Temple Place - Suite 330, Boston MA 02111-1307, USA.
+#:>
+
+ifneq ($(WLDEVBUILD),)
+$(obj)/../../shared/bcm4306_map.o $(obj)/../../shared/bcm4318_map.o $(obj)/../../shared/bcm4321_map.o:
+       $(CC) $(CFLAGS) -I$(WLSRCBASE)/include -c -o $@ $*.c
+else
+$(obj)/shared/bcm4306_map.o $(obj)/shared/bcm4318_map.o $(obj)/shared/bcm4321_map.o:
+       $(CC) $(CFLAGS) -I$(obj)/include -c -o $@ $*.c
+endif
+       $(OBJCOPY) -j .data -O binary $@ $*.bin
+       if [ ! -e $(INSTALL_DIR)/etc/wlan ]; then \
+               mkdir $(INSTALL_DIR)/etc/wlan; \
+       fi
+       cp -av $*.bin  $(INSTALL_DIR)/etc/wlan