diff mbox

[3/4] Makefile: export BUILD_DIR

Message ID 834cf660ddc6216e486f97195f464f0e6125774e.1381705600.git.yann.morin.1998@free.fr
State Changes Requested
Headers show

Commit Message

Yann E. MORIN Oct. 13, 2013, 11:11 p.m. UTC
From: "Yann E. MORIN" <yann.morin.1998@free.fr>

$(BUILD_DIR) is a nice place to put files generated during the build.
With the advent of user-supplied step-hooks, they may want to store
some information on the build.

Export BUILD_DIR to that effect.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
---
 Makefile | 1 +
 1 file changed, 1 insertion(+)

Comments

Peter Korsgaard Oct. 14, 2013, 10:54 a.m. UTC | #1
>>>>> "Yann" == Yann E MORIN <yann.morin.1998@free.fr> writes:

 Yann> From: "Yann E. MORIN" <yann.morin.1998@free.fr>
 Yann> $(BUILD_DIR) is a nice place to put files generated during the build.
 Yann> With the advent of user-supplied step-hooks, they may want to store
 Yann> some information on the build.

 Yann> Export BUILD_DIR to that effect.

Looks good, but please also update the documentation in
docs/manual/customize-rootfs.txt.
Yann E. MORIN Oct. 14, 2013, 5:05 p.m. UTC | #2
Peter, All,

On 2013-10-14 12:54 +0200, Peter Korsgaard spake thusly:
> >>>>> "Yann" == Yann E MORIN <yann.morin.1998@free.fr> writes:
> 
>  Yann> From: "Yann E. MORIN" <yann.morin.1998@free.fr>
>  Yann> $(BUILD_DIR) is a nice place to put files generated during the build.
>  Yann> With the advent of user-supplied step-hooks, they may want to store
>  Yann> some information on the build.
> 
>  Yann> Export BUILD_DIR to that effect.
> 
> Looks good, but please also update the documentation in
> docs/manual/customize-rootfs.txt.

Ah, yes. Done. Thanks!

Don't forget this pull-request is only an RFC from my point-of-view,
aimed at a starting point for further discussion.

Regards,
Yann E. MORIN.
diff mbox

Patch

diff --git a/Makefile b/Makefile
index f266e2d..9528703 100644
--- a/Makefile
+++ b/Makefile
@@ -291,6 +291,7 @@  export STAGING_DIR
 export HOST_DIR
 export BINARIES_DIR
 export BASE_DIR
+export BUILD_DIR
 
 ################################################################################
 #