summaryrefslogtreecommitdiff
path: root/config/binutils/binutils.in
diff options
context:
space:
mode:
authorDavid Holsgrove <david.holsgrove@xilinx.com>2012-10-11 04:39:41 (GMT)
committerDavid Holsgrove <david.holsgrove@xilinx.com>2012-10-11 04:39:41 (GMT)
commit2ace8ed697e17859376364d02b88b8539a2bf9af (patch)
treed766a1c72a01d3ea275885be89f2258f8adf350b /config/binutils/binutils.in
parent6b8740dd6dbcf35a8903fb5ac3361a5a6405c5a5 (diff)
binutils/binutils: Add CUSTOM version and CUSTOM_LOCATION config options and GetCustom
CUSTOM_LOCATION config options only presented in menuconfig if component CUSTOM version selected. Signed-off-by: "David Holsgrove" <david.holsgrove@xilinx.com> [yann.morin.1998@free.fr: fix indentation, don't patch custom dir location] Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Message-Id: <7a604b5df9c84a1e20c3.1349931195@localhost.localdomain> PatchWork-Id: 190788
Diffstat (limited to 'config/binutils/binutils.in')
-rw-r--r--config/binutils/binutils.in19
1 files changed, 19 insertions, 0 deletions
diff --git a/config/binutils/binutils.in b/config/binutils/binutils.in
index 8cb2165..b01c2da 100644
--- a/config/binutils/binutils.in
+++ b/config/binutils/binutils.in
@@ -50,8 +50,26 @@ config BINUTILS_V_2_16_1a
prompt "2.16.1a (OBSOLETE)"
depends on OBSOLETE
+config BINUTILS_CUSTOM
+ bool
+ prompt "Custom binutils"
+ depends on EXPERIMENTAL
+ select BINUTILS_2_22_or_later
+
endchoice
+if BINUTILS_CUSTOM
+
+config BINUTILS_CUSTOM_LOCATION
+ string
+ prompt "Full path to custom binutils source"
+ default ""
+ help
+ Enter the path to the directory (or tarball) of your source for binutils,
+ or leave blank to use default CT_CUSTOM_LOCATION_ROOT_DIR/binutils
+
+endif # BINUTILS_CUSTOM
+
config BINUTILS_VERSION
string
# Don't remove next line
@@ -64,6 +82,7 @@ config BINUTILS_VERSION
default "2.18a" if BINUTILS_V_2_18a
default "2.17a" if BINUTILS_V_2_17a
default "2.16.1a" if BINUTILS_V_2_16_1a
+ default "custom" if BINUTILS_CUSTOM
config BINUTILS_2_22_or_later
bool