# HG changeset patch # User "Yann E. MORIN" # Date 1258398945 -3600 # Node ID 1409ba438ea1314f61b4761939cb971c8ecf1393 # Parent 6ea5b6e2d70fff5f39f0398a9df80e5d8c88564a config/global: enable not using patches at all It can be needed to build a toolchain with no patch at all. diff -r 6ea5b6e2d70f -r 1409ba438ea1 config/global/extract.in --- a/config/global/extract.in Sat Nov 14 15:03:01 2009 -0600 +++ b/config/global/extract.in Mon Nov 16 20:15:45 2009 +0100 @@ -93,6 +93,19 @@ 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 @@ 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 -r 6ea5b6e2d70f -r 1409ba438ea1 scripts/functions --- a/scripts/functions Sat Nov 14 15:03:01 2009 -0600 +++ b/scripts/functions Mon Nov 16 20:15:45 2009 +0100 @@ -630,6 +630,7 @@ 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