aboutsummaryrefslogtreecommitdiff
path: root/Config.in
diff options
context:
space:
mode:
authorGravatar Ryan Barnett <rjbarnet@rockwellcollins.com>2013-12-18 04:25:01 -0600
committerGravatar Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2013-12-25 17:31:10 +0100
commitbc4f79d665d00d6ab5aac7fc442fbf1a67b7a82b (patch)
treeee7020be66d1abe4e9471a9e88f47a3ce8f7174a /Config.in
parent87815fc695bcb4ef5a48c09ab1ffcd0c134da43a (diff)
downloadbuildroot-bc4f79d665d00d6ab5aac7fc442fbf1a67b7a82b.tar.gz
buildroot-bc4f79d665d00d6ab5aac7fc442fbf1a67b7a82b.tar.bz2
Support for multiple BR2_GLOBAL_PATCH_DIR
Adding support for specifying multiple directories in BR2_GLOBAL_PATCH_DIR. This will allow for a layered approach for the patching of a package. Signed-off-by: Ryan Barnett <rjbarnet@rockwellcollins.com> Cc: Thomas De Schampheleire <patrickdepinguin@gmail.com> Cc: Arnout Vandecappelle <arnout@mind.be> Reviewed-by: Thomas De Schampheleire <patrickdepinguin@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'Config.in')
-rw-r--r--Config.in20
1 files changed, 12 insertions, 8 deletions
diff --git a/Config.in b/Config.in
index 2b401cb8a2..d55e57ca0b 100644
--- a/Config.in
+++ b/Config.in
@@ -461,18 +461,22 @@ config BR2_PACKAGE_OVERRIDE_FILE
Buildroot documentation for more details on this feature.
config BR2_GLOBAL_PATCH_DIR
- string "global patch directory"
+ string "global patch directories"
help
- You may specify a directory containing global package patches.
- For a specific version <packageversion> of a specific package
- <packagename>, patches are applied as follows.
+ You may specify a space separated list of one or more directories
+ containing global package patches. For a specific version
+ <packageversion> of a specific package <packagename>, patches are
+ applied as follows:
- First, the default Buildroot patch set for the package is applied.
+ First, the default Buildroot patch set for the package is applied
+ from the package's directory in Buildroot.
- If the directory $(BR2_GLOBAL_PATCH_DIR)/<packagename>/<packageversion>
- exists, then all *.patch files in the directory will be applied.
+ Then for every directory - <global-patch-dir> - that exists in
+ BR2_GLOBAL_PATCH_DIR, if the directory
+ <global-patch-dir>/<packagename>/<packageversion>/ exists, then all
+ *.patch files in this directory will be applied.
- Otherwise, if the directory $(BR2_GLOBAL_PATCH_DIR)/<packagename> exists,
+ Otherwise, if the directory <global-patch-dir>/<packagename> exists,
then all *.patch files in the directory will be applied.
endmenu