aboutsummaryrefslogtreecommitdiff
path: root/Config.in
diff options
context:
space:
mode:
authorGravatar Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2011-09-29 21:57:38 +0200
committerGravatar Peter Korsgaard <jacmet@sunsite.dk>2011-09-29 22:19:08 +0200
commitee0246e1e1d83f41985489c85dfef07098a2026d (patch)
tree4f9c4ea6f5b8651b29b16ca30132a7a15af30fd2 /Config.in
parentda76f0f1558698dd398c74393afc35cebfcc7dc7 (diff)
downloadbuildroot-ee0246e1e1d83f41985489c85dfef07098a2026d.tar.gz
buildroot-ee0246e1e1d83f41985489c85dfef07098a2026d.tar.bz2
package: add configuration option to specify a local override file
The user can now create a custom local override file to override the source directory for various packages. An example override file: ZLIB_OVERRIDE_SRCDIR = /tmp/zlib STRACE_OVERRIDE_SRCDIR = /opt/strace-4.5.20 would tell Buildroot to use the zlib and strace source code from the specified directories, instead of download, extracting and patching the code has done usually by Buildroot. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'Config.in')
-rw-r--r--Config.in10
1 files changed, 10 insertions, 0 deletions
diff --git a/Config.in b/Config.in
index 2fce9d7900..3aa3ad8cea 100644
--- a/Config.in
+++ b/Config.in
@@ -334,6 +334,16 @@ config BR2_HAVE_DEVFILES
Install headers and static libraries in the
target filesystem
+config BR2_PACKAGE_OVERRIDE_FILE
+ string "location of a package override file"
+ default "$(TOPDIR)/local.mk"
+ help
+ A package override file is a short makefile that contains
+ variable definitions of the form <pkg>_OVERRIDE_SRCDIR,
+ which allows to tell Buildroot to use an existing directory
+ as the source directory for a particular package. See the
+ Buildroot documentation for more details on this feature.
+
endmenu
source "toolchain/Config.in"