diff options
author | Juergen Beisert <jbe@pengutronix.de> | 2011-11-13 21:38:12 +0100 |
---|---|---|
committer | Juergen Beisert <jbe@pengutronix.de> | 2011-11-13 22:38:55 +0100 |
commit | a1311c454ec813859dfc1a82bba41dd805ec6889 (patch) | |
tree | f705873198c1c669e3a3ebfc51162c1112e9314c /rules/mini2440-demo.in | |
parent | cd7d36fc0ecc00347ccc0bcaef242236464f9dd7 (diff) | |
download | OSELAS.BSP-Pengutronix-Mini2440-a1311c454ec813859dfc1a82bba41dd805ec6889.tar.gz OSELAS.BSP-Pengutronix-Mini2440-a1311c454ec813859dfc1a82bba41dd805ec6889.tar.xz |
Add one common menu entry for the Mini2440 related demos
The Qt4/QWT and the QML demo are prepared to run on the Mini2440. As they start
when the system comes up, only one can be selected at a time. Honor this in the
menu.
Signed-off-by: Juergen Beisert <jbe@pengutronix.de>
Diffstat (limited to 'rules/mini2440-demo.in')
-rw-r--r-- | rules/mini2440-demo.in | 57 |
1 files changed, 57 insertions, 0 deletions
diff --git a/rules/mini2440-demo.in b/rules/mini2440-demo.in new file mode 100644 index 0000000..2c0c75d --- /dev/null +++ b/rules/mini2440-demo.in @@ -0,0 +1,57 @@ +## SECTION=qt + +menuconfig MINI2440_DEMO + tristate + prompt "Mini2440 related Qt demos " + select QT4 + select RC_ONCE + select QT4_MOUSE_TSLIB + select QWT if QT4_DEMO + select QT4_BUILD_DECLARATIVE if QML_DEMO + select STARTUP if QT4_DEMO_STARTUP_SCRIPT + help + Enable this entry to get simple Mini2440 related Qt4 demos running at + startup on your target. + +if MINI2440_DEMO + +choice + prompt "Demo type" + default QT4_DEMO + + config QT4_DEMO + bool + prompt "Qt4/QWT demo" + help + Enable this entry to get a simple Qt4/QWT demo running at startup on + your target. It can act as a simple example how to integrate your + own Qt4 based application into this PTXdist project. + Part of this entry is the installation of a start script that runs + this Qt4 application when the system starts. + + config QML_DEMO + bool + prompt "Qt4/QML demo" + help + Enable this entry to get a simple QML demo running on + your target. It can act as a simple example how to integrate + your own QML based application into this PTXdist project. + Part of this entry is the installation of a start script that runs + this Qt4 application when the system starts. + +endchoice + +config MINI2440_DEMO_STARTUP_SCRIPT + bool + default y + depends on INITMETHOD_BBINIT + prompt "install a startup script for the demo" + +config MINI2440_DEMO_SYSTEMD_UNIT + bool + default y + depends on INITMETHOD_SYSTEMD + prompt "install systemd unit files for the demo" + +endif + |