diff options
author | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2009-11-16 20:15:45 +0100 |
---|---|---|
committer | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2009-11-16 20:15:45 +0100 |
commit | 2b212bccad0876fe931484459d31773f519101c2 (patch) | |
tree | 8b4730ee42974c80a326408b1f5480b395808cd1 | |
parent | 2cde67ddc4f34c499428911bdb9479b0c00c546a (diff) | |
download | crosstool-ng-2b212bccad0876fe931484459d31773f519101c2.tar.gz crosstool-ng-2b212bccad0876fe931484459d31773f519101c2.tar.bz2 crosstool-ng-2b212bccad0876fe931484459d31773f519101c2.zip |
config/global: enable not using patches at all
It can be needed to build a toolchain with no patch at all.
-rw-r--r-- | config/global/extract.in | 14 | ||||
-rw-r--r-- | scripts/functions | 1 |
2 files changed, 15 insertions, 0 deletions
diff --git a/config/global/extract.in b/config/global/extract.in index 3917fed5..a55c9769 100644 --- a/config/global/extract.in +++ b/config/global/extract.in @@ -93,6 +93,19 @@ config PATCH_LOCAL_FALLBACK_BUNDLED Only apply your local patches; if there's no local patches, apply patches bundled with crosstool-NG. +config PATCH_NONE + bool + prompt "None" + help + Don't use any patch at all. + + Please be carefull if you select this. Most components do require + patches to properly build. It can happen, however, that support for + your architecture is clean enough that you can build a toolchain + with no patch. But most probably, this is *not* the case. + + Be safe, use (the bundeld) patches. + endchoice config PATCH_ORDER @@ -101,6 +114,7 @@ config PATCH_ORDER default "local" if PATCH_LOCAL default "bundled,local" if PATCH_BUNDLED_LOCAL default "local,bundled" if PATCH_LOCAL_BUNDLED + default "none" if PATCH_NONE config PATCH_SINGLE bool diff --git a/scripts/functions b/scripts/functions index b9aa7e79..33a23a25 100644 --- a/scripts/functions +++ b/scripts/functions @@ -630,6 +630,7 @@ CT_Patch() { local) patch_dirs=("${local_patch_dir}");; bundled,local) patch_dirs=("${bundled_patch_dir}" "${local_patch_dir}");; local,bundled) patch_dirs=("${local_patch_dir}" "${bundled_patch_dir}");; + none) patch_dirs=;; esac for d in "${patch_dirs[@]}"; do |