diff options
author | Alexey Neyman <stilor@att.net> | 2017-07-04 19:19:42 -0700 |
---|---|---|
committer | Alexey Neyman <stilor@att.net> | 2017-07-08 10:57:56 -0700 |
commit | ff0a1a3da605ca157e3f3d0ed2d8b9acb30c2f69 (patch) | |
tree | 3866631ee0fa3fc650fd71de948f9a8b32bfc359 /maintainer/kconfig-choice.template | |
parent | 50a387afa7abd24255ef865dada5d324265e1250 (diff) | |
download | crosstool-ng-ff0a1a3da605ca157e3f3d0ed2d8b9acb30c2f69.tar.gz crosstool-ng-ff0a1a3da605ca157e3f3d0ed2d8b9acb30c2f69.tar.bz2 crosstool-ng-ff0a1a3da605ca157e3f3d0ed2d8b9acb30c2f69.zip |
Switch gen-kconfig to new framework
Also:
- Move companion_* to comp_* to match the kconfig symbols
- Replace bootstrap with former gen-versions.sh
- Fold *.in.2 into their respective first parts; this moves common
options to the end - if it is undesirable, inclusion of *.in
can be moved where *.in.2 used to be (but that will also move
version selection after common options).
- Retire addToolVersion.sh (may later replace with a more
comprehensive script that tries to download the added tarballs,
copy the patches and try to apply them, and create a version.desc).
Signed-off-by: Alexey Neyman <stilor@att.net>
Diffstat (limited to 'maintainer/kconfig-choice.template')
-rw-r--r-- | maintainer/kconfig-choice.template | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/maintainer/kconfig-choice.template b/maintainer/kconfig-choice.template new file mode 100644 index 00000000..cfb52854 --- /dev/null +++ b/maintainer/kconfig-choice.template @@ -0,0 +1,32 @@ +# +# DO NOT EDIT! This file is automatically generated. +# + +choice GEN_CHOICE_@@prefix@@ + bool "@@label@@" + +#!foreach choice +config @@prefix@@_@@choice@@ + bool "@@choice@@" +#!foreach dependency + @@depline@@ +#!end-foreach + help +#!foreach help + @@helpline@@ +#!end-foreach + +#!end-foreach +endchoice + +config @@prefix@@ + string +#!foreach choice + default "@@choice@@" if @@prefix@@_@@choice@@ +#!end-foreach + +#!foreach choice +if @@prefix@@_@@choice@@ +source "config/@@dir@@/@@choice@@.in" +endif +#!end-foreach |