summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2017-05-01 09:13:11 +0200
committerKarel Kočí <cynerd@email.cz>2017-05-01 09:13:11 +0200
commit492f5f159bb5f102263303e3ae716b7acabbfe9e (patch)
tree29b4e188beb94404394b19d14f309b49890db57b
parent3bb4ac326231e38d44b2d53aa339139ff31b0c21 (diff)
downloadgentoo-personal-overlay-492f5f159bb5f102263303e3ae716b7acabbfe9e.tar.gz
gentoo-personal-overlay-492f5f159bb5f102263303e3ae716b7acabbfe9e.tar.bz2
gentoo-personal-overlay-492f5f159bb5f102263303e3ae716b7acabbfe9e.zip
Install firmware to versioned path (see kernel documentation)
-rw-r--r--sys-kernel/linux/files/overlay.config2
-rw-r--r--sys-kernel/linux/linux-4.10.13.ebuild4
2 files changed, 1 insertions, 5 deletions
diff --git a/sys-kernel/linux/files/overlay.config b/sys-kernel/linux/files/overlay.config
index 701adb5..ccf0a9e 100644
--- a/sys-kernel/linux/files/overlay.config
+++ b/sys-kernel/linux/files/overlay.config
@@ -1,8 +1,6 @@
# No logo
CONFIG_LOGO=n
CONFIG_LOCALVERSION=""
-# We have firmware from other package
-CONFIG_PREVENT_FIRMWARE_BUILD=y
# Disable nouveau and radeon
CONFIG_DRM_NOUVEAU=n
diff --git a/sys-kernel/linux/linux-4.10.13.ebuild b/sys-kernel/linux/linux-4.10.13.ebuild
index 9d36ac3..bc0ebb9 100644
--- a/sys-kernel/linux/linux-4.10.13.ebuild
+++ b/sys-kernel/linux/linux-4.10.13.ebuild
@@ -24,9 +24,7 @@ src_configure() {
}
src_install() {
- emake modules_install INSTALL_MOD_PATH="${D}"
- # Remove firmware files as I am using linux-firmware package
- rm -rf ${D}/lib
+ emake modules_install INSTALL_MOD_PATH="${D}" INSTALL_FW_PATH="${D}/lib/firmware/${PV}"
dodir /boot
insinto /boot