tools/bootconfig: Makefile: Create destination directory
PATCH 1/1 tools/bootconfig: Makefile: Create destination directory
From: Adriana Kobylak <[email protected]>
The DESTDIR path may not be available to the caller, such as compiling the bootconfig tool from a Yocto native recipe. Have the Makefile create the directory instead.
Signed-off-by Adriana Kobylak <[email protected]>
--- tools/bootconfig/Makefile | 1 + 1 file changed, 1 insertion(+)
tools/bootconfig/Makefile +1 -0
@@ -14,6 +14,7 @@ bootconfig: ../../lib/bootconfig.c main.c $(HEADER) $(CC) $(filter %.c,$^) $(CFLAGS) -o $@ install: $(PROGS) + install -d $(DESTDIR)$(bindir) install bootconfig $(DESTDIR)$(bindir) test: bootconfig
Signature · 1 line
1.8.3.1
Quoted 5 lines · On Mon, 16 Mar 2020 10:49:26 -0500 Adriana Kobylak <[email protected]> wrote:
From: Adriana Kobylak <[email protected]>
The DESTDIR path may not be available to the caller, such as compiling the bootconfig tool from a Yocto native recipe. Have the
Makefilecreate the directory instead.
OK, this looks good to me.
Acked-by Masami Hiramatsu <[email protected]>
Thanks!
Quoted 21 lines
Signed-off-by Adriana Kobylak <[email protected]>--- tools/bootconfig/Makefile | 1 + 1 file changed, 1 insertion(+)tools/bootconfig/Makefile +1
-0@@ -14,6 +14,7 @@ bootconfig: ../../lib/bootconfig.c main.c $(HEADER) $(CC) $(filter %.c,$^) $(CFLAGS) -o $@ install: $(PROGS) + install -d $(DESTDIR)$(bindir) install bootconfig $(DESTDIR)$(bindir) test: bootconfigSignature · 1 line
1.8.3.1
Signature · 1 line
Masami Hiramatsu <[email protected]>