diff options
author | Marc Kleine-Budde <mkl@pengutronix.de> | 2003-10-26 20:39:11 +0000 |
---|---|---|
committer | Marc Kleine-Budde <mkl@pengutronix.de> | 2003-10-26 20:39:11 +0000 |
commit | 91bb744295d8752686c9afc58e8d234749214593 (patch) | |
tree | 0b48d89ad142056cd2964c2c5fbab1f0add31674 /rules/kaffe.in | |
parent | 18238577cb5c92a946c311358bb6bd91ea2bc2a4 (diff) | |
download | ptxdist-91bb744295d8752686c9afc58e8d234749214593.tar.gz ptxdist-91bb744295d8752686c9afc58e8d234749214593.tar.xz |
* moved configuration....
git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunk@660 33e552b5-05e3-0310-8538-816dae2090ed
Diffstat (limited to 'rules/kaffe.in')
-rw-r--r-- | rules/kaffe.in | 228 |
1 files changed, 228 insertions, 0 deletions
diff --git a/rules/kaffe.in b/rules/kaffe.in new file mode 100644 index 000000000..33ea62f6e --- /dev/null +++ b/rules/kaffe.in @@ -0,0 +1,228 @@ +menu "Kaffe " + +config KAFFE + bool + prompt "Compile Kaffe" + +comment "Target Options" + depends on KAFFE + + choice + prompt "Engine" + default KAFFE_ENG_JIT3 + depends on KAFFE + + config KAFFE_ENG_INTRP + bool Interpreter + + config KAFFE_ENG_JIT + bool JIT + depends on ARCH_ARM || ARCH_X86 || ARCH_SPARC || ARCH_ARM || ARCH_ALPHA || ARCH_MIPS + + config KAFFE_ENG_JIT3 + bool JITv3 + depends on ARCH_ARM || ARCH_X86 || ARCH_SPARC || ARCH_ARM || ARCH_ALPHA || ARCH_MIPS + endchoice + + choice + prompt "Threading System" + default KAFFE_THREAD_J + depends on KAFFE + + config KAFFE_THREAD_P + bool unix-pthreads + + config KAFFE_THREAD_J + bool unix-jthreads + endchoice + + choice + prompt "API" + default KAFFE_API_SE + depends on KAFFE + + config KAFFE_API_CLDC + bool CLDC + + config KAFFE_API_SE + bool J2SE + endchoice + + config KAFFE_ENABLE_JIKES + bool + default n + prompt "Use Jikes or other Java compiler" + depends on KAFFE_API_SE + depends on KAFFE + + config KAFFE_JIKES + string + default "jikes" if KAFFE_API_SE + default "javac" if KAFFE_API_CLDC + prompt "java compiler (see help)" + depends on KAFFE_API_SE && KAFFE_ENABLE_JIKES || KAFFE_API_CLDC + depends on KAFFE + help + The compiler must be in the $PATH or an absoloute path to the compiler must be supplied. + If compiling the CLDC API jikes is not working, please use Sun's javac. + + config KAFFE_JIKES_WO_DEBUG + bool + default n + prompt "Compile Java Class Libs without debugging symbols (see help)" + depends on KAFFE_API_SE && KAFFE_ENABLE_JIKES || KAFFE_API_CLDC + depends on KAFFE + help + Works only with Sun's javac. +############################################################################# +comment "Debugging Options" + depends on KAFFE + + config KAFFE_DEB_DEB + bool + default n + prompt "Enable run-time debugging machinery" + depends on KAFFE + + config KAFFE_DEB_X + bool + default n + prompt "Enable debugging symbol generation for jitted code (xdebugging)" + depends on KAFFE + + config KAFFE_DEB_PROFILING + bool + default n + prompt "Compile with gprof(1) profiling support" + depends on KAFFE + + config KAFFE_DEB_XPROFILING + bool + default n + prompt "Enable profiling for C and jitted code (xprofiling)" + depends on KAFFE + + config KAFFE_DEB_STATS + bool + default n + prompt "Gather statistics on vm execution" + depends on KAFFE +############################################################################## +comment "Features" + depends on KAFFE + + config KAFFE_FEAT_GCJ + bool + default n + prompt "Enable GCJ support" + depends on KAFFE + + choice + prompt "AWT Engine" + default KAFFE_AWT_X + depends on KAFFE_API_SE + depends on KAFFE + + config KAFFE_AWT_NO + bool none + + config KAFFE_AWT_X + bool XFree + + config KAFFE_AWT_QT + bool QT + endchoice + + config KAFFE_FEAT_FEEDBACK + bool + default n + prompt "Enable generation of feedback data" + depends on KAFFE + + config KAFFE_FEAT_JAVAMATH + bool + default n + prompt "Enable pure java java.math.* package" + depends on KAFFE_API_SE + depends on KAFFE + + config KAFFE_FEAT_DISABLE_SOUND + bool + default n + prompt "Disable javax.sound support" + depends on KAFFE_API_SE + depends on KAFFE + + config KAFFE_FEAT_DISABLE_ALSA + bool + default n + prompt "Don't use ALSA for sound" + depends on KAFFE_API_SE && !KAFFE_FEAT_DISABLE_SOUND + depends on KAFFE + + config KAFFE_FEAT_DISABLE_ESD + bool + default n + prompt "Don't use esd for sound" + depends on KAFFE_API_SE && !KAFFE_FEAT_DISABLE_SOUND + depends on KAFFE + + config KAFFE_FEAT_DISABLE_SUNCOMPAT + bool + default n + prompt "Don't include Sun compatibility scripts" + depends on KAFFE + + config KAFFE_FEAT_CLDC_GMP + bool + default n + prompt "Enable native java/math/BigInteger in CLDC (see help)" + depends on KAFFE_API_CLDC + depends on KAFFE + help + Note: + This is not tested! + Use on your own risk! + + config KAFFE_FEAT_CLDC_COMM + bool + default y + prompt "Enable javax.microedition.io.CommConnection (access to serial ports)" + depends on KAFFE_API_CLDC + depends on KAFFE + +############################################################################## +comment "Linking options" + depends on KAFFE + + config KAFFE_LINK_VM + bool + prompt "Force the creation of a static virtual machine (staticvm)" + depends on !KAFFE_LINK_LIB && !KAFFE_LINK_BIN + depends on KAFFE + + config KAFFE_LINK_LIB + bool + prompt "Force the use of static libraries rather than shared (staticlib)" + depends on !KAFFE_LINK_BIN + depends on KAFFE + + config KAFFE_LINK_GMP + bool + prompt "Link libgmp static into kaffe-bin" + depends on KAFFE_FEAT_CLDC_GMP || \ + KAFFE_API_SE && !KAFFE_FEAT_JAVAMATH + depends on KAFFE + + config KAFFE_LINK_BIN + bool + prompt "Force the creation of a static virtual machine binary (staticbin)" + depends on KAFFE + + + config KAFFE_TARGETINSTALL_GMP + bool + default y if KAFFE_API_SE && !KAFFE_FEAT_JAVAMATH || \ + KAFFE_FEAT_CLDC_GMP && !(KAFFE_LINK_GMP || KAFFE_LINK_BIN) + depends on KAFFE +endmenu |