Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1579121 > unrolled thread

Re: [PATCH] MIPS: Fix distclean with Makefile.postlink

Started byJames Hogan <james.hogan@imgtec.com>
First post2017-02-11 22:30 +0100
Last post2017-02-11 22:30 +0100
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: [PATCH] MIPS: Fix distclean with Makefile.postlink James Hogan <james.hogan@imgtec.com> - 2017-02-11 22:30 +0100

#1579121 — Re: [PATCH] MIPS: Fix distclean with Makefile.postlink

FromJames Hogan <james.hogan@imgtec.com>
Date2017-02-11 22:30 +0100
SubjectRe: [PATCH] MIPS: Fix distclean with Makefile.postlink
Message-ID<t9Np0-5NH-7@gated-at.bofh.it>

[Multipart message — attachments visible in raw view] — view raw

On Mon, Jan 30, 2017 at 09:58:34AM +0000, Matt Redfearn wrote:
> The postlink Makefile must include include/config/auto.conf to get the
> kernel configuration variables. But in a clean kernel directory this
> file does not exist, causing make to bail with the error:
> 
> arch/mips/Makefile.postlink:10:
> include/config/auto.conf: No such file or directory
> make[1]: *** No rule to make target
> 'include/config/auto.conf'.  Stop.
> Makefile:1290: recipe for target 'vmlinuxclean' failed
> 
> Fix this by using "-include" to not cause a Make error when the file
> does not exist.
> 
> Fixes: 44079d3509ae ("MIPS: Use Makefile.postlink to insert relocations into vmlinux")
> Signed-off-by: Matt Redfearn <matt.redfearn@imgtec.com>

Applied

Thanks
James

> ---
> 
>  arch/mips/Makefile.postlink | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/arch/mips/Makefile.postlink b/arch/mips/Makefile.postlink
> index b0ddf0701a31..4b7f5a648c79 100644
> --- a/arch/mips/Makefile.postlink
> +++ b/arch/mips/Makefile.postlink
> @@ -7,7 +7,7 @@
>  PHONY := __archpost
>  __archpost:
>  
> -include include/config/auto.conf
> +-include include/config/auto.conf
>  include scripts/Kbuild.include
>  
>  CMD_RELOCS = arch/mips/boot/tools/relocs
> -- 
> 2.7.4
> 
> 

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web