prevent zombies from occuring when stdou/stdout are held open
[openwrt.git] / openwrt / target / linux / linux-2.4 / broadcom.mk
1 #############################################################
2 # $Id$
3 #
4 # Makefile for the proprietary Broadcom drivers
5 #
6 #############################################################
7
8 LINUX_BINARY_DRIVER_SITE=http://openwrt.org/downloads/
9
10 # proprietary driver, extracted from asus GPL sourcetree GPL_1941.zip
11 LINUX_BINARY_WL_DRIVER=kernel-binary-wl-0.3.tar.gz
12 LINUX_BINARY_WL_MD5SUM=cc45df670bcfb4e74a709b9d7beba636
13 LINUX_ET_DRIVER=kernel-source-et-0.9.tar.gz
14 LINUX_ET_MD5SUM=eba31483e5ff4f8420827538ab452b7c
15
16 $(DL_DIR)/$(LINUX_BINARY_WL_DRIVER):
17 $(SCRIPT_DIR)/download.pl $(DL_DIR) $(LINUX_BINARY_WL_DRIVER) $(LINUX_BINARY_WL_MD5SUM) $(LINUX_BINARY_DRIVER_SITE)
18
19 $(DL_DIR)/$(LINUX_ET_DRIVER):
20 $(SCRIPT_DIR)/download.pl $(DL_DIR) $(LINUX_ET_DRIVER) $(LINUX_ET_MD5SUM) $(LINUX_BINARY_DRIVER_SITE)
21
22 $(LINUX_DIR)/.patched: $(LINUX_DIR)/.drivers-unpacked
23
24 $(LINUX_DIR)/.drivers-unpacked:
25 -mkdir -p $(BUILD_DIR)
26 zcat $(DL_DIR)/$(LINUX_BINARY_WL_DRIVER) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
27 zcat $(DL_DIR)/$(LINUX_ET_DRIVER) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
28 # copy binary wlan driver
29 mkdir $(LINUX_DIR)/drivers/net/{et,wl}
30 cp -a $(BUILD_DIR)/wl/*.o $(LINUX_DIR)/drivers/net/wl
31 # copy proprietary et source
32 cp -a $(BUILD_DIR)/et/* $(LINUX_DIR)/drivers/net/et
33 mkdir -p $(LINUX_DIR)/arch/mips/bcm947xx/include/
34 cp -a $(BUILD_DIR)/et/*.h $(LINUX_DIR)/arch/mips/bcm947xx/include/
35 touch $@
36
37 linux-dirclean: drivers-clean
38
39 drivers-clean:
40 rm -rf $(BUILD_DIR)/wl
41 rm -rf $(BUILD_DIR)/et
42
This page took 0.041892 seconds and 5 git commands to generate.