diff options
author | Michael Büsch <mb@bu3sch.de> | 2009-03-17 19:34:45 +0000 |
---|---|---|
committer | Michael Büsch <mb@bu3sch.de> | 2009-03-17 19:34:45 +0000 |
commit | 1bd1a1fa9a0fc66e555da2a39351dd7de5165937 (patch) | |
tree | bcfb9ca0ba6b41039bb0dd198e28c29456afe5f1 /package/mac80211/Makefile | |
parent | 44dc1210af76e447813da9544f3f9cb2f7a95de6 (diff) | |
download | upstream-1bd1a1fa9a0fc66e555da2a39351dd7de5165937.tar.gz upstream-1bd1a1fa9a0fc66e555da2a39351dd7de5165937.tar.bz2 upstream-1bd1a1fa9a0fc66e555da2a39351dd7de5165937.zip |
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 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 |