Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1735420 > unrolled thread
| Started by | Yu Chen <yu.chen.surf@gmail.com> |
|---|---|
| First post | 2017-09-20 05:30 +0200 |
| Last post | 2017-09-20 07:50 +0200 |
| Articles | 3 — 2 participants |
Back to article view | Back to linux.kernel
Error when building the kernel on top of 4.14-rc1 for target firmware_install? Yu Chen <yu.chen.surf@gmail.com> - 2017-09-20 05:30 +0200
Re: Error when building the kernel on top of 4.14-rc1 for target firmware_install? Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2017-09-20 07:40 +0200
Re: Error when building the kernel on top of 4.14-rc1 for target firmware_install? Yu Chen <yu.chen.surf@gmail.com> - 2017-09-20 07:50 +0200
| From | Yu Chen <yu.chen.surf@gmail.com> |
|---|---|
| Date | 2017-09-20 05:30 +0200 |
| Subject | Error when building the kernel on top of 4.14-rc1 for target firmware_install? |
| Message-ID | <urDS1-5Mi-7@gated-at.bofh.it> |
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
[toc] | [next] | [standalone]
| From | Greg Kroah-Hartman <gregkh@linuxfoundation.org> |
|---|---|
| Date | 2017-09-20 07:40 +0200 |
| Subject | Re: Error when building the kernel on top of 4.14-rc1 for target firmware_install? |
| Message-ID | <urFTQ-79w-13@gated-at.bofh.it> |
| In reply to | #1735420 |
On Wed, Sep 20, 2017 at 11:20:19AM +0800, Yu Chen wrote:
> 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.
See the maling list for fixes for this already :)
thanks,
greg k-h
[toc] | [prev] | [next] | [standalone]
| From | Yu Chen <yu.chen.surf@gmail.com> |
|---|---|
| Date | 2017-09-20 07:50 +0200 |
| Message-ID | <urG3v-7ea-1@gated-at.bofh.it> |
| In reply to | #1735524 |
On Wed, Sep 20, 2017 at 1:37 PM, Greg Kroah-Hartman
<gregkh@linuxfoundation.org> wrote:
> On Wed, Sep 20, 2017 at 11:20:19AM +0800, Yu Chen wrote:
>> 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.
>
> See the maling list for fixes for this already :)
>
> thanks,
>
> greg k-h
Got it! thanks.
[toc] | [prev] | [standalone]
Back to top | Article view | linux.kernel
csiph-web