diff options
| author | Arnout Vandecappelle <arnout@mind.be> | 2014-02-04 16:18:52 +0100 |
|---|---|---|
| committer | Peter Korsgaard <peter@korsgaard.com> | 2014-02-09 17:00:13 +0100 |
| commit | 4113b3c3bdb9c7943e011827982000403f66dc61 (patch) | |
| tree | f4d52eb74841c6f925ca0a200f7cd0fc9fce454c /docs/manual | |
| parent | a7c1b84a5967e88be8032ef085c2d84aafc0008a (diff) | |
| download | buildroot-4113b3c3bdb9c7943e011827982000403f66dc61.tar.gz buildroot-4113b3c3bdb9c7943e011827982000403f66dc61.zip | |
infra: replace BUILDROOT_CONFIG with BR2_CONFIG
To make the naming consistent (all user-visible options should be
prefixed with BR2_).
An entry is added to Makefile.legacy to warn users who have set
BUILDROOT_CONFIG but not BR2_CONFIG.
Still export BUILDROOT_CONFIG but pointing to some phony value, to
make sure that scripts that still use it fail in a predictable way.
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Tested-by: Jérémy Rosen <jeremy.rosen@openwide.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'docs/manual')
| -rw-r--r-- | docs/manual/customize-rootfs.txt | 4 | ||||
| -rw-r--r-- | docs/manual/debugging-buildroot.txt | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/docs/manual/customize-rootfs.txt b/docs/manual/customize-rootfs.txt index 450b3d5fb7..2cbae99cfc 100644 --- a/docs/manual/customize-rootfs.txt +++ b/docs/manual/customize-rootfs.txt @@ -38,7 +38,7 @@ there are a few ways to customize the resulting target filesystem. files, you should fix that package rather than work around it with some post-build cleanup scripts. You may also use these variables in your post-build script: - - +BUILDROOT_CONFIG+: the path to the Buildroot .config file + - +BR2_CONFIG+: the path to the Buildroot .config file - +HOST_DIR+, +STAGING_DIR+, +TARGET_DIR+: see xref:generic-package-reference[] - +BUILD_DIR+: the directory where packages are extracted and built @@ -79,7 +79,7 @@ in one of these _post-image scripts_ will require special handling Just like for the _post-build scripts_ mentioned above, you also have access to the following environment variables from your _post-image -scripts_: +BUILDROOT_CONFIG+, +BUILD_DIR+, +HOST_DIR+, +STAGING_DIR+, +scripts_: +BR2_CONFIG+, +BUILD_DIR+, +HOST_DIR+, +STAGING_DIR+, +TARGET_DIR+, +BINARIES_DIR+ and +BASE_DIR+. Additionally, each of the +BR2_ROOTFS_POST_BUILD_SCRIPT+ and diff --git a/docs/manual/debugging-buildroot.txt b/docs/manual/debugging-buildroot.txt index 5fa05b0ee5..e558fcf3d1 100644 --- a/docs/manual/debugging-buildroot.txt +++ b/docs/manual/debugging-buildroot.txt @@ -24,7 +24,7 @@ make BR2_INSTRUMENTATION_SCRIPTS="/path/to/my/script1 /path/to/my/script2" That script has access to the following variables: - - +BUILDROOT_CONFIG+: the path to the Buildroot .config file + - +BR2_CONFIG+: the path to the Buildroot .config file - +HOST_DIR+, +STAGING_DIR+, +TARGET_DIR+: see xref:generic-package-reference[] - +BUILD_DIR+: the directory where packages are extracted and built |

