summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-12-22 19:25:23 +0000
committerV3n3RiX <venerix@redcorelinux.org>2017-12-22 19:25:23 +0000
commit1ed552bc8efa964ab0d69a65e609fb04ab83a1c4 (patch)
treedaed13c86b2016b9d9fb2023dbebf8ff2100c6c9 /eclass
parente00f33d5086671ac91dfaf1f5c3e99598442597e (diff)
redcore-kernel.eclass : drop _firmwares_src_install stage
Diffstat (limited to 'eclass')
-rw-r--r--eclass/redcore-kernel.eclass16
1 files changed, 1 insertions, 15 deletions
diff --git a/eclass/redcore-kernel.eclass b/eclass/redcore-kernel.eclass
index 4661bc27..3b598a0c 100644
--- a/eclass/redcore-kernel.eclass
+++ b/eclass/redcore-kernel.eclass
@@ -478,8 +478,6 @@ _kernel_src_compile() {
rm -rf "${S}"/temp
# creating workdirs
- # some kernels fail with make 3.82 if firmware dir is not created
- mkdir "${WORKDIR}"/lib/lib/firmware -p
mkdir "${WORKDIR}"/cache
mkdir "${S}"/temp
@@ -552,23 +550,11 @@ _kernel_src_compile() {
}
redcore-kernel_src_install() {
- if [ -n "${K_FIRMWARE_PACKAGE}" ]; then
- _firmwares_src_install
- elif [ -n "${K_ONLY_SOURCES}" ]; then
+ if [ -n "${K_ONLY_SOURCES}" ]; then
_kernel_sources_src_install
else
_kernel_src_install
fi
- # File collisions between slots, debug stuff
- # not really needed for a kernel
- rm -rf "${D}/usr/lib/debug"
-}
-
-_firmwares_src_install() {
- dodir /lib/firmware
- keepdir /lib/firmware
- cd "${S}" || die
- emake INSTALL_FW_PATH="${D}/lib/firmware" firmware_install || die "cannot install firmwares"
}
_kernel_sources_src_install() {