-
Notifications
You must be signed in to change notification settings - Fork 15
/
config_i386.gmk
72 lines (61 loc) · 2.8 KB
/
config_i386.gmk
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
### phoneME config for i386
# Config variables
#GCC_VERSION = "-3.3"
# System paths
JDK_DIR=/usr/java/j2sdk1.4.2_19
QTOPIA_SDK_DIR = /opt/QtopiaG/4.3.4/x86/sdk
QTOPIA_SDK_MOC = $(QTOPIA_SDK_DIR)/qtopiacore/target/bin/moc
QTOPIA_TARGET_PREFIX = /opt/QtopiaG/4.3.4/x86/image
DOXYGEN_CMD = doxygen
# Source paths
COMPONENTS_DIR = $(CURDIR)
BUILD_OUTPUT_DIR = $(COMPONENTS_DIR)/build_output_qtopia_i386
TOOLS_DIR = $(COMPONENTS_DIR)/tools
TOOLS_OUTPUT_DIR = $(BUILD_OUTPUT_DIR)/tools
GLOBAL_CONFIG = JDK_DIR=$(JDK_DIR) \
QTOPIA_SDK_DIR=$(QTOPIA_SDK_DIR) \
QTOPIA_SDK_MOC=$(QTOPIA_SDK_MOC) \
QTOPIA_TARGET_PREFIX=$(QTOPIA_TARGET_PREFIX) \
DOXYGEN_CMD=$(DOXYGEN_CMD) \
COMPONENTS_DIR=$(COMPONENTS_DIR) \
BUILD_OUTPUT_DIR=$(BUILD_OUTPUT_DIR) \
TOOLS_DIR=$(TOOLS_DIR) \
TOOLS_OUTPUT_DIR=$(TOOLS_OUTPUT_DIR)
# PCSL
PCSL_NETWORK_MODULE = bsd/qtopia
PCSL_CONFIG = PCSL_PLATFORM=linux_i386_gcc \
PCSL_OUTPUT_DIR=$(BUILD_OUTPUT_DIR)/pcsl \
USE_VERBOSE_MAKE=true VERBOSE_BUILD=true
# CLDC
CLDC_TARGET = linux_i386
CLDC_JVM_CONFIG = JVMWorkSpace=$(COMPONENTS_DIR)/cldc \
JVMBuildSpace=$(BUILD_OUTPUT_DIR)/cldc
CLDC_PCSL_CONFIG = ENABLE_PCSL=true \
PCSL_OUTPUT_DIR=$(BUILD_OUTPUT_DIR)/pcsl
CLDC_MAKE_CONFIG =
CLDC_FEATURES_CONFIG = ENABLE_ISOLATES=true USE_DEBUG_ROMGEN=true USE_DEBUG_ROMGEN_SYMBOLS=true
CLDC_COMPILER_CONFIG = GCC_VERSION=$(GCC_VERSION)
CLDC_COMPILER_CONFIG += ENABLE_COMPILATION_WARNINGS=true # post-4.1 gcc causes warnings to appear
# MIDP
TOOLS_DIR=$(COMPONENTS_DIR)/tools
MIDP_UI_MODULE ?= platform_widget
MIDP_PATHS = PCSL_OUTPUT_DIR=$(BUILD_OUTPUT_DIR)/pcsl \
CLDC_DIST_DIR=$(BUILD_OUTPUT_DIR)/cldc/$(CLDC_TARGET)/dist \
MIDP_OUTPUT_DIR=$(BUILD_OUTPUT_DIR)/midp_$(MIDP_UI_MODULE)
MIDP_FEATURES_CONFIG = USE_MULTIPLE_ISOLATES=true \
SUBSYSTEM_LCDUI_MODULES=$(MIDP_UI_MODULE) \
USE_RAW_AMS_IMAGES=false \
USE_VERIFY_ONCE=true \
MIDP_EXTRA_CONFIG = USE_ABSTRACTIONS=true USE_NATIVE_AMS=true\
ABSTRACTIONS_DIR=$(COMPONENTS_DIR)/abstractions \
USE_DEBUG_ROMGEN_SYMBOLS=true USE_DEBUG_ROMGEN=true \
USE_AUTOTESTER=true USE_DYNAMIC_COMPONENTS=true \
USE_SYSTEM_CLASSES_DEBUG=false \
USE_MULTIPLE_DISPLAYS=false USE_OCSP=false \
USE_EXTENDED_ATTRIBUTES=false USE_JSR_290=false \
USE_JSR_281=false USE_JSR_257=false \
USE_NATIVE_RMS=false USE_NATIVE_SUITE_STORAGE=false \
USE_NATIVE_INSTALLER=false USE_NATIVE_APP_MANAGER=false \
USE_AMS_EXECTABLE=true USE_SCRIPT_UTILS=true USE_AMS_FOLDERS=true
MIDP_DEBUG_CONFIG = USE_DEBUG=true
MIDP_COMPILER_CONFIG = GCC_VERSION=$(GCC_VERSION)