aboutsummaryrefslogtreecommitdiffstats
path: root/package/mac80211/Makefile
diff options
context:
space:
mode:
authorMichael Büsch <mb@bu3sch.de>2009-03-17 19:34:45 +0000
committerMichael Büsch <mb@bu3sch.de>2009-03-17 19:34:45 +0000
commit48a5ed9bb87c64fbc8ae4df9cd5a713cadf1b893 (patch)
tree322504dccb0b98905ee0c61a4e1b752e196f6be1 /package/mac80211/Makefile
parent56bf010d4cd3c289ce5237413a823fab4fe47e7a (diff)
downloadupstream-48a5ed9bb87c64fbc8ae4df9cd5a713cadf1b893.tar.gz
upstream-48a5ed9bb87c64fbc8ae4df9cd5a713cadf1b893.tar.bz2
upstream-48a5ed9bb87c64fbc8ae4df9cd5a713cadf1b893.zip
b43: Add support for removing unnecessary firmware files to reduce the image size.
SVN-Revision: 14929
Diffstat (limited to 'package/mac80211/Makefile')
-rw-r--r--package/mac80211/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/package/mac80211/Makefile b/package/mac80211/Makefile
index 8fadab88bd..b3b73fb32d 100644
--- a/package/mac80211/Makefile
+++ b/package/mac80211/Makefile
@@ -483,6 +483,7 @@ ifneq ($(CONFIG_B43_OPENFIRMWARE),)
$(INSTALL_BIN) $(PKG_BUILD_DIR)/$(PKG_B43_FWCUTTER_SUBDIR)/assembler/b43-asm $(STAGING_DIR_HOST)/bin/
$(INSTALL_BIN) $(PKG_BUILD_DIR)/$(PKG_B43_FWCUTTER_SUBDIR)/assembler/b43-asm.bin $(STAGING_DIR_HOST)/bin/
endif
+ $(INSTALL_BIN) ./files/host_bin/b43-fwsquash.py $(STAGING_DIR_HOST)/bin/
endef
define KernelPackage/b43/install
@@ -503,6 +504,9 @@ ifneq ($(CONFIG_B43_OPENFIRMWARE),)
else
b43-fwcutter --unsupported -w $(1)/lib/firmware/ $(PKG_BUILD_DIR)/$(PKG_B43_FWV4_OBJECT)
endif
+ifneq ($(CONFIG_B43_FW_SQUASH),)
+ b43-fwsquash.py "$(CONFIG_B43_FW_SQUASH_PHYTYPES)" "$(CONFIG_B43_FW_SQUASH_COREREVS)" "$(1)/lib/firmware/b43"
+endif
endef
define KernelPackage/b43legacy/install