diff mbox series

tools/bootconfig: Create missing directories in Makefile install object if needed

Message ID 2482827.XuMzNZMSYQ@c100 (mailing list archive)
State Not Applicable, archived
Headers show
Series tools/bootconfig: Create missing directories in Makefile install object if needed | expand

Commit Message

Thomas Renninger Sept. 25, 2020, 3:09 p.m. UTC
Signed-off-by: Thomas Renninger <trenn@suse.de>

---
 tools/bootconfig/Makefile |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Masami Hiramatsu (Google) Sept. 26, 2020, 2:30 a.m. UTC | #1
On Fri, 25 Sep 2020 17:09:09 +0200
Thomas Renninger <trenn@suse.de> wrote:

> Signed-off-by: Thomas Renninger <trenn@suse.de>

Looks good to me.

Acked-by: Masami Hiramatsu <mhiramat@kernel.org>

Thanks!

> 
> ---
>  tools/bootconfig/Makefile |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> --- a/tools/bootconfig/Makefile
> +++ b/tools/bootconfig/Makefile
> @@ -24,7 +24,7 @@
>  	./test-bootconfig.sh $(OUTPUT)
>  
>  install: $(ALL_PROGRAMS)
> -	install $(OUTPUT)bootconfig $(DESTDIR)$(bindir)
> +	install -D $(OUTPUT)bootconfig $(DESTDIR)$(bindir)/bootconfig
>  
>  clean:
>  	$(RM) -f $(OUTPUT)*.o $(ALL_PROGRAMS)
> 
> 
>
diff mbox series

Patch

--- a/tools/bootconfig/Makefile
+++ b/tools/bootconfig/Makefile
@@ -24,7 +24,7 @@ 
 	./test-bootconfig.sh $(OUTPUT)
 
 install: $(ALL_PROGRAMS)
-	install $(OUTPUT)bootconfig $(DESTDIR)$(bindir)
+	install -D $(OUTPUT)bootconfig $(DESTDIR)$(bindir)/bootconfig
 
 clean:
 	$(RM) -f $(OUTPUT)*.o $(ALL_PROGRAMS)