Permalink
Browse files

Install firmware files into /lib/firmware/$(REAL_VERSION)

  • Loading branch information...
1 parent fa8a5d6 commit 9505128b3fb52ab071f542033df6ecdb30bc85c8 @mika mika committed May 25, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 linux-3/debian/rules.real
@@ -334,7 +334,7 @@ install-image_$(ARCH)_$(FEATURESET)_$(FLAVOUR)_plain:
DIR='$(DIR)' PACKAGE_DIR='$(PACKAGE_DIR)' INSTALL_DIR='$(INSTALL_DIR)' REAL_VERSION='$(REAL_VERSION)'
ifeq ($(MODULES),True)
chmod a+x $(CURDIR)/debian/bin/no-depmod
- +$(MAKE_CLEAN) -C $(DIR) modules_install DEPMOD='$(CURDIR)/debian/bin/no-depmod' INSTALL_MOD_PATH='$(CURDIR)'/$(PACKAGE_DIR) INSTALL_MOD_STRIP=1
+ +$(MAKE_CLEAN) -C $(DIR) modules_install DEPMOD='$(CURDIR)/debian/bin/no-depmod' INSTALL_MOD_PATH='$(CURDIR)'/$(PACKAGE_DIR) INSTALL_MOD_STRIP=1 INSTALL_FW_PATH='$(CURDIR)'/$(PACKAGE_DIR)/lib/firmware/$(REAL_VERSION)
ifeq ($(DEBUG),True)
find $(PACKAGE_DIR) -name '*.ko' | sed 's|$(PACKAGE_DIR)/lib/modules/$(REAL_VERSION)/kernel/||' | while read module ; do \
objcopy --add-gnu-debuglink=$(DIR)/$$module $(PACKAGE_DIR)/lib/modules/$(REAL_VERSION)/kernel/$$module || exit; \

0 comments on commit 9505128

Please sign in to comment.