From 35b18e3d83b90768e6f7263a1dd1d5cdd24c913a 2018-10-06 14:29:59 From: GĂ©rard Vidal Date: 2018-10-06 14:29:59 Subject: [PATCH] Merge pull request #17 from drtyhlpr/master fixed: No rule to make target 'firmware_install' --- diff --git a/bootstrap.d/13-kernel.sh b/bootstrap.d/13-kernel.sh index b488592..45934be 100644 --- a/bootstrap.d/13-kernel.sh +++ b/bootstrap.d/13-kernel.sh @@ -115,7 +115,9 @@ if [ "$BUILD_KERNEL" = true ] ; then make -C "${KERNEL_DIR}" ARCH="${KERNEL_ARCH}" CROSS_COMPILE="${CROSS_COMPILE}" INSTALL_MOD_PATH=../../.. modules_install # Install kernel firmware - make -C "${KERNEL_DIR}" ARCH="${KERNEL_ARCH}" CROSS_COMPILE="${CROSS_COMPILE}" INSTALL_FW_PATH=../../../lib firmware_install + if [ $(cat ./Makefile | grep "^firmware_install:") ] ; then + make -C "${KERNEL_DIR}" ARCH="${KERNEL_ARCH}" CROSS_COMPILE="${CROSS_COMPILE}" INSTALL_FW_PATH=../../../lib firmware_install + fi fi # Install kernel headers