Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751533AbdITDUW (ORCPT ); Tue, 19 Sep 2017 23:20:22 -0400 Received: from mail-lf0-f52.google.com ([209.85.215.52]:51728 "EHLO mail-lf0-f52.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750733AbdITDUV (ORCPT ); Tue, 19 Sep 2017 23:20:21 -0400 X-Google-Smtp-Source: AOwi7QDZIYchidEtnUybJHBEu59+yWXQm9Ff4KMqWWEqUzwv4U/BNrYBPrzyk5ihOoJCQJVRyN9jeFFy+IO18AQQdNA= MIME-Version: 1.0 From: Yu Chen Date: Wed, 20 Sep 2017 11:20:19 +0800 Message-ID: Subject: Error when building the kernel on top of 4.14-rc1 for target firmware_install? To: Linux Kernel Mailing List Cc: David Woodhouse , Greg Kroah-Hartman Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1077 Lines: 28 Hi, kernel compile failed after running # make rpm + INSTALL_FW_PATH=/root/rpmbuild/BUILDROOT/kernel-4.14.0_rc1+-22.x86_64/lib/firmware/4.14.0-rc1+ + make INSTALL_FW_PATH=/root/rpmbuild/BUILDROOT/kernel-4.14.0_rc1+-22.x86_64/lib/firmware/4.14.0-rc1+ firmware_install make[2]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule. make[2]: *** No rule to make target 'firmware_install'. Stop. I have to hack the script to compile through: diff --git a/scripts/package/mkspec b/scripts/package/mkspec index bb43f15..cb9c1b3 100755 --- a/scripts/package/mkspec +++ b/scripts/package/mkspec @@ -92,7 +92,7 @@ echo 'mkdir -p $RPM_BUILD_ROOT'"/lib/firmware/$KERNELRELEASE" echo 'INSTALL_MOD_PATH=$RPM_BUILD_ROOT make %{?_smp_mflags} KBUILD_SRC= mod-fw= modules_install' echo 'INSTALL_FW_PATH=$RPM_BUILD_ROOT'"/lib/firmware/$KERNELRELEASE" -echo 'make INSTALL_FW_PATH=$INSTALL_FW_PATH' firmware_install +echo 'make INSTALL_FW_PATH=$INSTALL_FW_PATH' echo "%ifarch ia64" Not sure if this is a regression but several version ago it works well. Thanks, Yu