summaryrefslogtreecommitdiff
path: root/eclass/linux-build.eclass
diff options
context:
space:
mode:
Diffstat (limited to 'eclass/linux-build.eclass')
-rw-r--r--eclass/linux-build.eclass10
1 files changed, 10 insertions, 0 deletions
diff --git a/eclass/linux-build.eclass b/eclass/linux-build.eclass
index e395f27b..0969cd66 100644
--- a/eclass/linux-build.eclass
+++ b/eclass/linux-build.eclass
@@ -417,6 +417,16 @@ _linux-build_src_prepare_build() {
-subject
fi
+ if _linux-build_configval EXTRA_FIRMWARE_DIR && _linux-build_configval EXTRA_FIRMWARE ; then
+ for _fw in ${CONFIG_EXTRA_FIRMWARE} ; do
+ _file="${CONFIG_EXTRA_FIRMWARE_DIR}/${_fw}"
+
+ if [[ ! -e "${_file}" ]] ; then
+ die "${_file} does not exist"
+ fi
+ done
+ fi
+
einfo "Checking configuration file"
cp -a "${BUILDDIR}/.config" "${BUILDDIR}/.config.old"
if kernel_is -le 3 5 ; then