diff mbox series

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

Message ID 2482827.XuMzNZMSYQ@c100
State New
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)

> 

> 

> 



-- 
Masami Hiramatsu <mhiramat@kernel.org>
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)