diff options
author | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2009-08-31 12:05:52 +0200 |
---|---|---|
committer | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2009-08-31 12:05:52 +0200 |
commit | dc836b5e4d3e4ab48cb3a665cd46f7efdf2af4e1 (patch) | |
tree | 28dc9c34d2cf61b7c295e2df1282a27b8f7f9768 /config/global | |
parent | c992de9eb562c66b9b7782c80942cf1dcab486db (diff) | |
download | crosstool-ng-dc836b5e4d3e4ab48cb3a665cd46f7efdf2af4e1.tar.gz crosstool-ng-dc836b5e4d3e4ab48cb3a665cd46f7efdf2af4e1.tar.bz2 crosstool-ng-dc836b5e4d3e4ab48cb3a665cd46f7efdf2af4e1.zip |
config: make selecting the patch origin a choice rather than a bool
Diffstat (limited to 'config/global')
-rw-r--r-- | config/global/paths.in | 58 |
1 files changed, 38 insertions, 20 deletions
diff --git a/config/global/paths.in b/config/global/paths.in index 8945deeb..2a35af21 100644 --- a/config/global/paths.in +++ b/config/global/paths.in @@ -60,36 +60,54 @@ config INSTALL_DIR # The reason you might also want to install elsewhere is if you are going # to package your shinny new toolchain for distribution. -config CUSTOM_PATCH +choice + prompt "Patches origin" bool - prompt "Use custom patch directory" - default n + default PATCH_BUNDLED + +config PATCH_BUNDLED + bool + prompt "Bundled only" help - If you have custom patches that you want to be applied, say 'Y' here and - enter the path directory below. - - Note that you must ensure that the patch directory is arranged the same - way the official directory is. + Only apply patches bundled with crosstool-NG. -config CUSTOM_PATCH_ONLY +config PATCH_LOCAL bool - prompt "Only use custom patches" - default n - depends on CUSTOM_PATCH + prompt "Local only" + select PATCH_USE_LOCAL help - Don't apply patches coming with crosstool-NG, only those patches available - in the directory below. - - If you say 'N' here, then the patches provided with crosstool-NG will be - applied first, and then your patches. + Only apply your local patches. + +config PATCH_BUNDLED_LOCAL + bool + prompt "Bundled, then local" + select PATCH_USE_LOCAL + help + Apply the patches bundled with crosstool-NG, + then apply your local patches. + +endchoice + +config PATCH_ORDER + string + default "bundled" if PATCH_BUNDLED + default "local" if PATCH_LOCAL + default "bundled,local" if PATCH_BUNDLED_LOCAL -config CUSTOM_PATCH_DIR +config PATCH_USE_LOCAL + bool + default n + +config LOCAL_PATCH_DIR string - prompt "Custom patch directory" + prompt "| Local patch directory" default "" - depends on CUSTOM_PATCH + depends on PATCH_USE_LOCAL help Enter the custom patch directory here. + + Note that you must ensure that the directory contianing your custom + patches is arranged the same way the official directory is. config REMOVE_DOCS bool |