1 # Options related to paths and install
5 config LOCAL_TARBALLS_DIR
7 prompt "Local tarballs directory"
10 If you have previously downloaded the tarballs, enter the PATH where
15 prompt "Save new tarballs"
17 depends on LOCAL_TARBALLS_DIR != ""
19 If you say 'y' here, new downloaded tarballs will be saved in the
20 directory you entered above.
24 prompt "Working directory"
25 default "${CT_TOP_DIR}/targets"
27 Set this to the directory where all build actions will be done.
29 The default is "${CT_TOP_DIR}/targets", and leaving this option
30 empty will also use the default.
32 You should not need to change that, except in one very peculiar
34 - your crosstool-NG source directory is on the network
35 - you configured crosstool-NG with --local
36 This kind of setup is a pain, as any action involving source file
37 access would have to go through the wire. In this case, you should
38 set CT_WORK_DIR to point to a path local to your machine, to avoid
41 Do *NOT* change it if you don't know better.
45 prompt "Prefix directory"
46 default "${HOME}/x-tools/${CT_TARGET}"
48 This is the path the toolchain will run from.
52 # prompt "Install directory"
53 default "${CT_PREFIX_DIR}"
55 # This is the path the toolchain will be installed into.
57 # Normally, you would set this to ${CT_PREFIX_DIR}, but if for some reasons
58 # you can't write there, you can install somewhere else and have a third
59 # person do the install for you.
60 # The reason you might also want to install elsewhere is if you are going
61 # to package your shinny new toolchain for distribution.
64 prompt "Patches origin"
72 Only apply patches bundled with crosstool-NG.
77 select PATCH_USE_LOCAL
79 Only apply your local patches.
81 config PATCH_BUNDLED_LOCAL
83 prompt "Bundled, then local"
84 select PATCH_USE_LOCAL
86 Apply the patches bundled with crosstool-NG,
87 then apply your local patches.
89 config PATCH_LOCAL_BUNDLED
91 prompt "Local, then bundled"
92 select PATCH_USE_LOCAL
94 Apply your local patches, then apply the patches
95 bundled with crosstool-NG.
101 default "bundled" if PATCH_BUNDLED
102 default "local" if PATCH_LOCAL
103 default "bundled,local" if PATCH_BUNDLED_LOCAL
104 default "local,bundled" if PATCH_LOCAL_BUNDLED
106 config PATCH_USE_LOCAL
110 config LOCAL_PATCH_DIR
112 prompt "| Local patch directory"
114 depends on PATCH_USE_LOCAL
116 Enter the custom patch directory here.
118 Note that you must ensure that the directory contianing your custom
119 patches is arranged the same way the official directory is.
123 prompt "Remove documentation"
126 Remove the installed documentation (man and info pages).
127 Gains around 8MiB for a uClibc-based, C and C++ compiler.
129 config INSTALL_DIR_RO
131 prompt "Render the toolchain read-only"
134 Render the directory of the toolchain (and its sub-directories)
137 Usefull for toolchains destined for production.