Re: [PATCH] Add $KERNELRELEASE to firmware install path

From: Michal Marek
Date: Fri May 06 2011 - 06:15:32 EST


(Adding David Woodhouse and lkml to CC, in general it's usually better to CC topic lists in addition to lkml, rather than instead of lkml.)

On 5.5.2011 19:39, Arun Sharma wrote:
Useful in the presence of multiple kernels with different
firmware versions.

The changelog should also include the udev version that is able to find the firmware there (v127, August 2008). FWIW, SUSE has been using this patch since about that time, but we forgot to push this :-|. Anyway

Acked-by: Michal Marek <mmarek@xxxxxxx>


Signed-off-by: Arun Sharma<asharma@xxxxxx>

diff --git a/Makefile b/Makefile
index e712243..cb715df 100644
--- a/Makefile
+++ b/Makefile
@@ -997,7 +997,7 @@ depend dep:

# ---------------------------------------------------------------------------
# Firmware install
-INSTALL_FW_PATH=$(INSTALL_MOD_PATH)/lib/firmware
+INSTALL_FW_PATH=$(INSTALL_MOD_PATH)/lib/firmware/$(KERNELRELEASE)
export INSTALL_FW_PATH

PHONY += firmware_install
--
To unsubscribe from this list: send the line "unsubscribe linux-kbuild" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/