diff options
author | Alexey Neyman <stilor@att.net> | 2017-11-29 23:54:11 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-11-29 23:54:11 -0800 |
commit | e832b9b220f90b11b893e2815ceb37ec2b708683 (patch) | |
tree | 696f267410565b7f20b9b115bdd4d71881cadfed /maintainer | |
parent | 1b8d0d2138a7292b6ad546e1c3dcfd1ed495c02f (diff) | |
parent | 9fdb93cce0a05e2562522153fe5deba8a9e9ae54 (diff) | |
download | crosstool-ng-e832b9b220f90b11b893e2815ceb37ec2b708683.tar.gz crosstool-ng-e832b9b220f90b11b893e2815ceb37ec2b708683.tar.bz2 crosstool-ng-e832b9b220f90b11b893e2815ceb37ec2b708683.zip |
Merge pull request #869 from stilor/show-samples
Support custom packages in show-config
Diffstat (limited to 'maintainer')
-rw-r--r-- | maintainer/kconfig-choice.template | 14 | ||||
-rw-r--r-- | maintainer/kconfig-menu.template | 7 | ||||
-rw-r--r-- | maintainer/kconfig-versions.template | 2 |
3 files changed, 23 insertions, 0 deletions
diff --git a/maintainer/kconfig-choice.template b/maintainer/kconfig-choice.template index b2ca2176..affaf65d 100644 --- a/maintainer/kconfig-choice.template +++ b/maintainer/kconfig-choice.template @@ -25,8 +25,22 @@ config @@dir|@@ default "@@choice@@" if @@dir|@@_@@choice|@@ #!end-foreach +config @@dir|@@_CHOICE_KSYM + string +#!foreach choice + default "@@choice|@@" if @@dir|@@_@@choice|@@ +#!end-foreach + #!foreach choice if @@dir|@@_@@choice|@@ +config @@dir|@@_@@choice|@@_PKG_KSYM + string + default "@@pkg|@@" + +#!if [ -n "@@pkg@@" ] +source "config/versions/@@pkg@@.in" +#!end-if source "config/@@dir@@/@@choice@@.in" endif + #!end-foreach diff --git a/maintainer/kconfig-menu.template b/maintainer/kconfig-menu.template index 1a7daa5f..3e32e16c 100644 --- a/maintainer/kconfig-menu.template +++ b/maintainer/kconfig-menu.template @@ -14,6 +14,13 @@ menuconfig @@dir|@@_@@choice|@@ #!end-foreach if @@dir|@@_@@choice|@@ +config @@dir|@@_@@choice|@@_PKG_KSYM + string + default "@@pkg|@@" + +#!if [ -n "@@pkg@@" ] +source "config/versions/@@pkg@@.in" +#!end-if source "config/@@dir@@/@@choice@@.in" endif diff --git a/maintainer/kconfig-versions.template b/maintainer/kconfig-versions.template index e4be903b..37461b7d 100644 --- a/maintainer/kconfig-versions.template +++ b/maintainer/kconfig-versions.template @@ -243,6 +243,8 @@ config @@fork|@@_VERSION #!foreach version default "@@ver@@" if @@fork|@@_V_@@ver_sel|@@ #!end-foreach + default "new" if @@fork|@@_VERY_NEW + default "old" if @@fork|@@_VERY_OLD default "unknown" #!if [ "@@#version@@" -gt 0 ] |