summaryrefslogtreecommitdiffstats
path: root/platforms
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2014-02-25 07:51:08 +0100
committerMichael Olbrich <m.olbrich@pengutronix.de>2014-02-25 09:02:58 +0100
commit5d0f54330bc8f45a948feef6df7eace9f5d1d602 (patch)
tree7883482f88ec06fd1750b0ced06ebca1087fb0b7 /platforms
parent3efd41819bd09d8ae5fdc14bcf35ef98cc78de79 (diff)
downloadptxdist-5d0f54330bc8f45a948feef6df7eace9f5d1d602.tar.gz
ptxdist-5d0f54330bc8f45a948feef6df7eace9f5d1d602.tar.xz
platforms: simplify platforms/Kconfig
This makes it easier to customize the platform. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'platforms')
-rw-r--r--platforms/Kconfig29
-rw-r--r--platforms/platform.in28
-rw-r--r--platforms/ptxdist-version.in1
3 files changed, 30 insertions, 28 deletions
diff --git a/platforms/Kconfig b/platforms/Kconfig
index a1a3ce3d1..094124784 100644
--- a/platforms/Kconfig
+++ b/platforms/Kconfig
@@ -4,34 +4,7 @@
mainmenu "PTXdist $PLATFORMCONFIG_VERSION"
-source "platforms/ptxdist-version.in"
-source "rules/ptxdist-dgen.in"
-
-config _platformconfig_MAGIC__
- bool
- default y
-
-
-comment "------------------------------------"
-comment "Target Platform Configuration "
-comment "------------------------------------"
-
-config PLATFORM
- prompt "platform name"
- string
- help
- This string identifies the platform. You should give a concise name
- here. But if you do not have multiple platforms in this project and
- you want a ptxdist-1 behaviour (less or more flat directories), keep
- this entry empty.
-
-config PLATFORM_VERSION
- prompt "platform version"
- string
- default "-trunk"
- help
- This is the revision of the platform.
- The string is supposed to start with an "-".
+source "generated/platform_version.in"
source "platforms/architecture.in"
source "platforms/kernel.in"
diff --git a/platforms/platform.in b/platforms/platform.in
new file mode 100644
index 000000000..24b4da0f8
--- /dev/null
+++ b/platforms/platform.in
@@ -0,0 +1,28 @@
+## SECTION=platform_version
+
+config _platformconfig_MAGIC__
+ bool
+ default y
+
+
+comment "------------------------------------"
+comment "Target Platform Configuration "
+comment "------------------------------------"
+
+config PLATFORM
+ prompt "platform name"
+ string
+ help
+ This string identifies the platform. You should give a concise name
+ here. But if you do not have multiple platforms in this project and
+ you want a ptxdist-1 behaviour (less or more flat directories), keep
+ this entry empty.
+
+config PLATFORM_VERSION
+ prompt "platform version"
+ string
+ default "-trunk"
+ help
+ This is the revision of the platform.
+ The string is supposed to start with an "-".
+
diff --git a/platforms/ptxdist-version.in b/platforms/ptxdist-version.in
index 121f58d32..d4308d505 100644
--- a/platforms/ptxdist-version.in
+++ b/platforms/ptxdist-version.in
@@ -1,4 +1,5 @@
## SECTION=ptxdist_version
+## SECTION=platform_version
config PLATFORMCONFIG_VERSION_DEFAULT
string