diff options
author | mb <mb@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2009-03-17 19:34:45 +0000 |
---|---|---|
committer | mb <mb@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2009-03-17 19:34:45 +0000 |
commit | d8a99a038c06178cb1d08b3f96912cfc4d853236 (patch) | |
tree | bcfb9ca0ba6b41039bb0dd198e28c29456afe5f1 /package/mac80211/Makefile | |
parent | 2b9603a905b704ed92dbb0ad3a18c8dc54f917a8 (diff) |
b43: Add support for removing unnecessary firmware files to reduce the image size.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14929 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/mac80211/Makefile')
-rw-r--r-- | package/mac80211/Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/package/mac80211/Makefile b/package/mac80211/Makefile index 8fadab88b..b3b73fb32 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 |