1.1 --- a/config/global/extract.in Sat Jul 19 21:22:58 2008 +0000
1.2 +++ b/config/global/extract.in Sat Oct 10 17:24:36 2009 +0200
1.3 @@ -40,3 +40,83 @@
1.4 Exit after unpacking and patching tarballs.
1.5
1.6 Usefull to look at the code before doing the build itself.
1.7 +
1.8 +choice
1.9 + prompt "Patches origin"
1.10 + bool
1.11 + default PATCH_BUNDLED
1.12 +
1.13 +config PATCH_BUNDLED
1.14 + bool
1.15 + prompt "Bundled only"
1.16 + help
1.17 + Only apply patches bundled with crosstool-NG.
1.18 +
1.19 +config PATCH_LOCAL
1.20 + bool
1.21 + prompt "Local only"
1.22 + select PATCH_USE_LOCAL
1.23 + help
1.24 + Only apply your local patches.
1.25 +
1.26 +config PATCH_BUNDLED_LOCAL
1.27 + bool
1.28 + prompt "Bundled, then local"
1.29 + select PATCH_USE_LOCAL
1.30 + help
1.31 + Apply the patches bundled with crosstool-NG,
1.32 + then apply your local patches.
1.33 +
1.34 +config PATCH_LOCAL_BUNDLED
1.35 + bool
1.36 + prompt "Local, then bundled"
1.37 + select PATCH_USE_LOCAL
1.38 + help
1.39 + Apply your local patches, then apply the patches
1.40 + bundled with crosstool-NG.
1.41 +
1.42 +config PATCH_BUNDLED_FALLBACK_LOCAL
1.43 + bool
1.44 + prompt "Bundled only, local if no bundled"
1.45 + select PATCH_USE_LOCAL
1.46 + select PATCH_SINGLE
1.47 + help
1.48 + Apply the patches bundled with crosstool-NG;
1.49 + if there's no bundled patches, apply your local patches.
1.50 +
1.51 +config PATCH_LOCAL_FALLBACK_BUNDLED
1.52 + bool
1.53 + prompt "Local only, bundled if no local"
1.54 + select PATCH_USE_LOCAL
1.55 + select PATCH_SINGLE
1.56 + help
1.57 + Only apply your local patches;
1.58 + if there's no local patches, apply patches bundled with crosstool-NG.
1.59 +
1.60 +endchoice
1.61 +
1.62 +config PATCH_ORDER
1.63 + string
1.64 + default "bundled" if PATCH_BUNDLED
1.65 + default "local" if PATCH_LOCAL
1.66 + default "bundled,local" if PATCH_BUNDLED_LOCAL
1.67 + default "local,bundled" if PATCH_LOCAL_BUNDLED
1.68 +
1.69 +config PATCH_SINGLE
1.70 + bool
1.71 + default n
1.72 +
1.73 +config PATCH_USE_LOCAL
1.74 + bool
1.75 + default n
1.76 +
1.77 +config LOCAL_PATCH_DIR
1.78 + string
1.79 + prompt "| Local patch directory"
1.80 + default ""
1.81 + depends on PATCH_USE_LOCAL
1.82 + help
1.83 + Enter the custom patch directory here.
1.84 +
1.85 + Note that you must ensure that the directory contianing your custom
1.86 + patches is arranged the same way the official directory is.