summaryrefslogtreecommitdiff
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--Vars.make1
-rw-r--r--config.in5
-rw-r--r--mkspecs/qws/linux-oe-g++/qmake.conf2
3 files changed, 7 insertions, 1 deletions
diff --git a/Vars.make b/Vars.make
index 238918f..fe4f397 100644
--- a/Vars.make
+++ b/Vars.make
@@ -1,130 +1,131 @@
1prefix=/opt/QtPalmtop 1prefix=/opt/QtPalmtop
2 2
3ifeq ($(OPIEDIR),) 3ifeq ($(OPIEDIR),)
4 export OPIEDIR:=$(TOPDIR) 4 export OPIEDIR:=$(TOPDIR)
5endif 5endif
6ifeq ($(IPK_DIR),) 6ifeq ($(IPK_DIR),)
7 export IPK_DIR:=$(OPIEDIR) 7 export IPK_DIR:=$(OPIEDIR)
8endif 8endif
9 9
10ifneq ($(wildcard $(TOPDIR)/.config),) 10ifneq ($(wildcard $(TOPDIR)/.config),)
11 include $(TOPDIR)/.config 11 include $(TOPDIR)/.config
12endif 12endif
13 13
14ifndef CONFIG_TARGET_OE 14ifndef CONFIG_TARGET_OE
15 ifndef QTDIR 15 ifndef QTDIR
16 $(error QTDIR not set) 16 $(error QTDIR not set)
17 endif 17 endif
18else 18else
19 OEDIR:=$(CONFIG_OE_BUILD_DIR) 19 OEDIR:=$(CONFIG_OE_BUILD_DIR)
20 QTDIR:=$(OEDIR)/tmp/staging/arm-linux/qt2 20 QTDIR:=$(OEDIR)/tmp/staging/arm-linux/qt2
21 $(shell mkdir -p $(QTDIR)/src/moc) 21 $(shell mkdir -p $(QTDIR)/src/moc)
22 $(shell echo -e "all: \n\t" >>$(QTDIR)/src/moc/Makefile) 22 $(shell echo -e "all: \n\t" >>$(QTDIR)/src/moc/Makefile)
23 PLATFORM=sharp-linux 23 PLATFORM=sharp-linux
24 OEHOSTSYS:=$(CONFIG_OE_HOST_SYS)
24endif 25endif
25 26
26ifdef CONFIG_TARGET_X86 27ifdef CONFIG_TARGET_X86
27 PLATFORM=x86-linux 28 PLATFORM=x86-linux
28endif 29endif
29ifdef CONFIG_TARGET_SHARP 30ifdef CONFIG_TARGET_SHARP
30 PLATFORM=sharp-linux 31 PLATFORM=sharp-linux
31endif 32endif
32ifdef CONFIG_TARGET_IPAQ 33ifdef CONFIG_TARGET_IPAQ
33 PLATFORM=ipaq-linux 34 PLATFORM=ipaq-linux
34endif 35endif
35ifdef CONFIG_TARGET_RAMSES 36ifdef CONFIG_TARGET_RAMSES
36 PLATFORM=ramses-linux 37 PLATFORM=ramses-linux
37endif 38endif
38ifdef CONFIG_TARGET_SIMPAD 39ifdef CONFIG_TARGET_SIMPAD
39 PLATFORM=simpad-linux 40 PLATFORM=simpad-linux
40endif 41endif
41 42
42ifdef CONFIG_TARGET_YOPY 43ifdef CONFIG_TARGET_YOPY
43 PLATFORM=yopy-linux 44 PLATFORM=yopy-linux
44endif 45endif
45ifdef CONFIG_TARGET_MACOSX 46ifdef CONFIG_TARGET_MACOSX
46 PLATFORM=macx-darwin 47 PLATFORM=macx-darwin
47endif 48endif
48 49
49export QMAKE:=$(OPIEDIR)/qmake/qmake 50export QMAKE:=$(OPIEDIR)/qmake/qmake
50export QMAKESPECSDIR=$(OPIEDIR)/mkspecs 51export QMAKESPECSDIR=$(OPIEDIR)/mkspecs
51 52
52ifeq ($(QPE_VERSION),) 53ifeq ($(QPE_VERSION),)
53 VERSION_MAJ:=$(shell echo $$(sed -n -e 's/.*QPE_VERSION "\([0-9]*\)\..*\..*".*/\1/p' <$(OPIEDIR)/library/version.h)) 54 VERSION_MAJ:=$(shell echo $$(sed -n -e 's/.*QPE_VERSION "\([0-9]*\)\..*\..*".*/\1/p' <$(OPIEDIR)/library/version.h))
54 VERSION_MIN:=$(shell echo $$(sed -n -e 's/.*QPE_VERSION ".*\.\([0-9]*\)\..*".*/\1/p' <$(OPIEDIR)/library/version.h)) 55 VERSION_MIN:=$(shell echo $$(sed -n -e 's/.*QPE_VERSION ".*\.\([0-9]*\)\..*".*/\1/p' <$(OPIEDIR)/library/version.h))
55 VERSION_PAT:=$(shell echo $$(sed -n -e 's/.*QPE_VERSION ".*\..*\.\([0-9]*\).*/\1/p' <$(OPIEDIR)/library/version.h)) 56 VERSION_PAT:=$(shell echo $$(sed -n -e 's/.*QPE_VERSION ".*\..*\.\([0-9]*\).*/\1/p' <$(OPIEDIR)/library/version.h))
56 QPE_VERSION:=$(VERSION_MAJ).$(VERSION_MIN).$(VERSION_PAT) 57 QPE_VERSION:=$(VERSION_MAJ).$(VERSION_MIN).$(VERSION_PAT)
57 58
58 ifeq ($(QPE_VERSION),..) 59 ifeq ($(QPE_VERSION),..)
59 QPE_VERSION=1.1.2 60 QPE_VERSION=1.1.2
60 endif 61 endif
61endif 62endif
62export QPE_VERSION 63export QPE_VERSION
63 64
64SUB_VERSION=$(shell echo $$(sed -n -e 's,.*SUB_VERSION \"\(.*\)\".*,\1,p' <$(OPIEDIR)/library/version.h)) 65SUB_VERSION=$(shell echo $$(sed -n -e 's,.*SUB_VERSION \"\(.*\)\".*,\1,p' <$(OPIEDIR)/library/version.h))
65ifeq ($(VERSION_CVS),) 66ifeq ($(VERSION_CVS),)
66 VERSION_CVS:=$(shell date +%s) 67 VERSION_CVS:=$(shell date +%s)
67endif 68endif
68ifneq ($(filter %snapshot",$(shell cat $(OPIEDIR)/library/version.h|grep QPE_VERSION)),) 69ifneq ($(filter %snapshot",$(shell cat $(OPIEDIR)/library/version.h|grep QPE_VERSION)),)
69 SUB_VERSION:=$(VERSION_CVS) 70 SUB_VERSION:=$(VERSION_CVS)
70endif 71endif
71export SUB_VERSION 72export SUB_VERSION
72 73
73ifneq ($(strip $(SUB_VERSION)),) 74ifneq ($(strip $(SUB_VERSION)),)
74EXTRAVERSION=-$(SUB_VERSION) 75EXTRAVERSION=-$(SUB_VERSION)
75endif 76endif
76 77
77ifeq ($(QTE_REVISION),) 78ifeq ($(QTE_REVISION),)
78 QTE_REVISION=6 79 QTE_REVISION=6
79endif 80endif
80export QTE_REVISION 81export QTE_REVISION
81 82
82export DEB_VERSION=2.0 83export DEB_VERSION=2.0
83 84
84ifeq ($(QTE_BASEVERSION),) 85ifeq ($(QTE_BASEVERSION),)
85 ifneq ($(shell ls $(QTDIR)/include/qglobal.h 2>/dev/null),) 86 ifneq ($(shell ls $(QTDIR)/include/qglobal.h 2>/dev/null),)
86 QTE_BASEVERSION:=$(shell cat $(QTDIR)/include/qglobal.h|grep '^\#define QT_VERSION'|grep -v STR|sed -e 's/\#define QT_VERSION\t*//; s/.*\([0-9]\)\([0-9]\)\([0-9]\).*/\1.\2.\3/;') 87 QTE_BASEVERSION:=$(shell cat $(QTDIR)/include/qglobal.h|grep '^\#define QT_VERSION'|grep -v STR|sed -e 's/\#define QT_VERSION\t*//; s/.*\([0-9]\)\([0-9]\)\([0-9]\).*/\1.\2.\3/;')
87 else 88 else
88 QTE_BASEVERSION=2.3.7 89 QTE_BASEVERSION=2.3.7
89 endif 90 endif
90endif 91endif
91export QTE_BASEVERSION 92export QTE_BASEVERSION
92 93
93ifeq ($(QTE_VERSION),) 94ifeq ($(QTE_VERSION),)
94 ifneq ($(shell ls $(QTDIR)/include/qglobal.h 2>/dev/null),) 95 ifneq ($(shell ls $(QTDIR)/include/qglobal.h 2>/dev/null),)
95 QTE_VERSION:=$(shell cat $(QTDIR)/include/qglobal.h|grep '^\#define QT_VERSION_STR'|sed -e 's/\#define QT_VERSION_STR\t*//;' -e 's/.*"\([^"]*\)".*/\1/;') 96 QTE_VERSION:=$(shell cat $(QTDIR)/include/qglobal.h|grep '^\#define QT_VERSION_STR'|sed -e 's/\#define QT_VERSION_STR\t*//;' -e 's/.*"\([^"]*\)".*/\1/;')
96 else 97 else
97 QTE_VERSION=2.3.7 98 QTE_VERSION=2.3.7
98 endif 99 endif
99endif 100endif
100export QTE_VERSION 101export QTE_VERSION
101 102
102export PATH:=$(OPIEDIR)/scripts:$(PATH) 103export PATH:=$(OPIEDIR)/scripts:$(PATH)
103export QMAKESPEC=$(QMAKESPECSDIR)/$(patsubst "%",%,$(CONFIG_SPECFILE)) 104export QMAKESPEC=$(QMAKESPECSDIR)/$(patsubst "%",%,$(CONFIG_SPECFILE))
104 105
105ifdef CONFIG_OPTIMIZATIONS 106ifdef CONFIG_OPTIMIZATIONS
106export CFLAGS_RELEASE=$(patsubst "%,%,$(CONFIG_OPTIMIZATIONS)) 107export CFLAGS_RELEASE=$(patsubst "%,%,$(CONFIG_OPTIMIZATIONS))
107export CFLAGS_RELEASE:=$(patsubst %",%,$(CFLAGS_RELEASE)) 108export CFLAGS_RELEASE:=$(patsubst %",%,$(CFLAGS_RELEASE))
108endif 109endif
109 110
110ifeq ($(STRIP),) 111ifeq ($(STRIP),)
111 ifneq ($(CONFIG_TARGET_X86),) 112 ifneq ($(CONFIG_TARGET_X86),)
112 STRIP=strip 113 STRIP=strip
113 endif 114 endif
114 ifneq ($(CONFIG_TARGET_IPAQ),) 115 ifneq ($(CONFIG_TARGET_IPAQ),)
115 STRIP=arm-linux-strip 116 STRIP=arm-linux-strip
116 endif 117 endif
117 ifneq ($(CONFIG_TARGET_SHARP),) 118 ifneq ($(CONFIG_TARGET_SHARP),)
118 STRIP=arm-linux-strip 119 STRIP=arm-linux-strip
119 endif 120 endif
120 ifneq ($(CONFIG_TARGET_RAMSES),) 121 ifneq ($(CONFIG_TARGET_RAMSES),)
121 STRIP=arm-linux-strip 122 STRIP=arm-linux-strip
122 endif 123 endif
123 ifneq ($(CONFIG_TARGET_SIMPAD),) 124 ifneq ($(CONFIG_TARGET_SIMPAD),)
124 STRIP=arm-linux-strip 125 STRIP=arm-linux-strip
125 endif 126 endif
126 ifneq ($(CONFIG_TARGET_YOPY),) 127 ifneq ($(CONFIG_TARGET_YOPY),)
127 STRIP=arm-linux-strip 128 STRIP=arm-linux-strip
128 endif 129 endif
129endif 130endif
130 131
diff --git a/config.in b/config.in
index d9659be..323ca51 100644
--- a/config.in
+++ b/config.in
@@ -1,278 +1,283 @@
1mainmenu "Opie Configuration" 1mainmenu "Opie Configuration"
2 2
3menu "Build Parameters" 3menu "Build Parameters"
4 4
5choice 5choice
6 prompt "Target Machine" 6 prompt "Target Machine"
7 default TARGET_X86 7 default TARGET_X86
8 help 8 help
9 Please select the architecture of the machine you will be 9 Please select the architecture of the machine you will be
10 building the OpenZaurus buildroot for. 10 building the OpenZaurus buildroot for.
11 11
12 config TARGET_X86 12 config TARGET_X86
13 boolean "Intel X86" 13 boolean "Intel X86"
14 14
15 config TARGET_MACOSX 15 config TARGET_MACOSX
16 boolean "Mac OS X (DARWIN)" 16 boolean "Mac OS X (DARWIN)"
17 17
18 config TARGET_SHARP 18 config TARGET_SHARP
19 boolean "Sharp Zaurus w/ SA1100 (5000 and 5500)" 19 boolean "Sharp Zaurus w/ SA1100 (5000 and 5500)"
20 20
21 config TARGET_C700 21 config TARGET_C700
22 boolean "Sharp Zaurus w/ PXA25x (5600, C7x0, C8x0)" 22 boolean "Sharp Zaurus w/ PXA25x (5600, C7x0, C8x0)"
23 23
24 config TARGET_OE 24 config TARGET_OE
25 boolean "OpenEmbedded w/ OE build dir set below" 25 boolean "OpenEmbedded w/ OE build dir set below"
26 26
27 config TARGET_IPAQ 27 config TARGET_IPAQ
28 boolean "iPAQ" 28 boolean "iPAQ"
29 29
30 config TARGET_RAMSES 30 config TARGET_RAMSES
31 boolean "Ramses" 31 boolean "Ramses"
32 32
33 config TARGET_SIMPAD 33 config TARGET_SIMPAD
34 boolean "SIMpad" 34 boolean "SIMpad"
35 35
36 config TARGET_YOPY 36 config TARGET_YOPY
37 boolean "Yopy 3500/3700" 37 boolean "Yopy 3500/3700"
38endchoice 38endchoice
39 39
40config OE_BUILD_DIR 40config OE_BUILD_DIR
41 depends TARGET_OE 41 depends TARGET_OE
42 string "OE build directory" 42 string "OE build directory"
43 default ">>>set OpenEmbedded build directory here<<<" 43 default ">>>set OpenEmbedded build directory here<<<"
44 44
45config OE_HOST_SYS
46 depends TARGET_OE
47 string "OE host system"
48 default "i686-linux"
49
45config OPTIMIZE 50config OPTIMIZE
46 boolean "Use optimizations" 51 boolean "Use optimizations"
47 default "y" if ! TARGET_X86 52 default "y" if ! TARGET_X86
48 53
49config THREADED 54config THREADED
50 boolean "Enable threaded build" 55 boolean "Enable threaded build"
51 default "n" 56 default "n"
52 57
53config STATIC 58config STATIC
54 boolean "Build static libraries" 59 boolean "Build static libraries"
55 default "n" 60 default "n"
56 61
57config DEBUG 62config DEBUG
58 boolean "Enable debug builds" 63 boolean "Enable debug builds"
59 default n 64 default n
60 65
61config RELEASE 66config RELEASE
62 bool 67 bool
63 default y 68 default y
64 depends !DEBUG 69 depends !DEBUG
65 70
66config QUICK_LAUNCH 71config QUICK_LAUNCH
67 boolean "Enable Quick Launch" 72 boolean "Enable Quick Launch"
68 default n if TARGET_X86 73 default n if TARGET_X86
69 default y if ! TARGET_X86 74 default y if ! TARGET_X86
70 75
71config QUICKLAUNCH_PATH 76config QUICKLAUNCH_PATH
72 string "Path to quicklauncher" 77 string "Path to quicklauncher"
73 default "./quicklauncher" if TARGET_X86 78 default "./quicklauncher" if TARGET_X86
74 default "/opt/QtPalmtop/bin/quicklauncher" if ! TARGET_X86 79 default "/opt/QtPalmtop/bin/quicklauncher" if ! TARGET_X86
75 80
76config SPECFILE 81config SPECFILE
77 string 82 string
78 default "qws/linux-generic-g++" if TARGET_X86 && (! X11) 83 default "qws/linux-generic-g++" if TARGET_X86 && (! X11)
79 default "linux-g++" if TARGET_X86 && X11 84 default "linux-g++" if TARGET_X86 && X11
80 default "qws/linux-sharp-g++" if TARGET_SHARP && (! X11) 85 default "qws/linux-sharp-g++" if TARGET_SHARP && (! X11)
81 default "linux-g++" if TARGET_SHARP && X11 86 default "linux-g++" if TARGET_SHARP && X11
82 default "qws/linux-ipaq-g++" if TARGET_IPAQ && (! X11) 87 default "qws/linux-ipaq-g++" if TARGET_IPAQ && (! X11)
83 default "linux-g++" if TARGET_IPAQ && X11 88 default "linux-g++" if TARGET_IPAQ && X11
84 default "qws/linux-ramses-g++" if TARGET_RAMSES && (! X11) 89 default "qws/linux-ramses-g++" if TARGET_RAMSES && (! X11)
85 default "linux-g++" if TARGET_RAMSES && X11 90 default "linux-g++" if TARGET_RAMSES && X11
86 default "qws/linux-simpad-g++" if TARGET_SIMPAD && (! X11) 91 default "qws/linux-simpad-g++" if TARGET_SIMPAD && (! X11)
87 default "linux-g++" if TARGET_SIMPAD && X11 92 default "linux-g++" if TARGET_SIMPAD && X11
88 default "qws/linux-yopy-g++" if TARGET_YOPY && (! X11) 93 default "qws/linux-yopy-g++" if TARGET_YOPY && (! X11)
89 default "qws/macx-generic-g++" if TARGET_MACOSX && (! X11) 94 default "qws/macx-generic-g++" if TARGET_MACOSX && (! X11)
90 default "qws/linux-oe-g++" if TARGET_OE && (!X11) 95 default "qws/linux-oe-g++" if TARGET_OE && (!X11)
91 96
92config CUSTOMFILE 97config CUSTOMFILE
93 string 98 string
94 default "custom-ipaq.h" if TARGET_IPAQ 99 default "custom-ipaq.h" if TARGET_IPAQ
95 default "custom-sharp.h" if TARGET_SHARP 100 default "custom-sharp.h" if TARGET_SHARP
96 default "custom-ramses.h" if TARGET_RAMSES 101 default "custom-ramses.h" if TARGET_RAMSES
97 default "custom-ipaq.h" if TARGET_SIMPAD 102 default "custom-ipaq.h" if TARGET_SIMPAD
98 default "custom-yopy.h" if TARGET_YOPY 103 default "custom-yopy.h" if TARGET_YOPY
99 104
100config OPTIMIZATIONS 105config OPTIMIZATIONS
101 string "Optimization flags" 106 string "Optimization flags"
102 depends OPTIMIZE 107 depends OPTIMIZE
103 default "-march=armv4 -mtune=strongarm1100 -mapcs-32 -fexpensive-optimizations -fomit-frame-pointer -O2" if TARGET_IPAQ 108 default "-march=armv4 -mtune=strongarm1100 -mapcs-32 -fexpensive-optimizations -fomit-frame-pointer -O2" if TARGET_IPAQ
104 default "-march=armv4 -mtune=strongarm1100 -mapcs-32 -fexpensive-optimizations -fomit-frame-pointer -O2" if TARGET_YOPY 109 default "-march=armv4 -mtune=strongarm1100 -mapcs-32 -fexpensive-optimizations -fomit-frame-pointer -O2" if TARGET_YOPY
105 default "-march=armv4 -mtune=strongarm1100 -mapcs-32 -fexpensive-optimizations -fomit-frame-pointer -O2" if TARGET_SHARP 110 default "-march=armv4 -mtune=strongarm1100 -mapcs-32 -fexpensive-optimizations -fomit-frame-pointer -O2" if TARGET_SHARP
106 default "-march=armv4 -mtune=strongarm1100 -mapcs-32 -fexpensive-optimizations -fomit-frame-pointer -O2" if TARGET_RAMSES 111 default "-march=armv4 -mtune=strongarm1100 -mapcs-32 -fexpensive-optimizations -fomit-frame-pointer -O2" if TARGET_RAMSES
107 default "-march=armv4 -mtune=strongarm1100 -mapcs-32 -fexpensive-optimizations -fomit-frame-pointer -O2" if TARGET_SIMPAD 112 default "-march=armv4 -mtune=strongarm1100 -mapcs-32 -fexpensive-optimizations -fomit-frame-pointer -O2" if TARGET_SIMPAD
108 default "-march=armv5te -mtune=xscale -mapcs-32 -fexpensive-optimizations -fomit-frame-pointer -O2" if TARGET_C700 113 default "-march=armv5te -mtune=xscale -mapcs-32 -fexpensive-optimizations -fomit-frame-pointer -O2" if TARGET_C700
109 114
110config EXPERIMENTAL 115config EXPERIMENTAL
111 bool "Prompt for development and/or incomplete items" 116 bool "Prompt for development and/or incomplete items"
112 default y 117 default y
113 118
114config USE_CCACHE 119config USE_CCACHE
115 bool "Use ccache, if available?" 120 bool "Use ccache, if available?"
116 default y 121 default y
117 122
118endmenu 123endmenu
119 124
120menu "Configuration" 125menu "Configuration"
121config OPIE_NO_OVERRIDE_QT 126config OPIE_NO_OVERRIDE_QT
122 boolean "Build Opie against an unpatched version of Qt" 127 boolean "Build Opie against an unpatched version of Qt"
123 default n 128 default n
124 129
125config OPIE_NO_ERASERECT_FIX 130config OPIE_NO_ERASERECT_FIX
126 boolean "Disable Fixup eraseRect for HancomMobileWord,neocal.. to make libopiecore work on Sharps libqpe" 131 boolean "Disable Fixup eraseRect for HancomMobileWord,neocal.. to make libopiecore work on Sharps libqpe"
127 default n 132 default n
128 133
129config OPIE_NO_BUILTIN_SHUTDOWN 134config OPIE_NO_BUILTIN_SHUTDOWN
130 boolean "Disable the built in shutdown application" 135 boolean "Disable the built in shutdown application"
131 default y 136 default y
132 137
133config OPIE_NO_BUILTIN_CALIBRATE 138config OPIE_NO_BUILTIN_CALIBRATE
134 boolean "Disable the built in calibrate application" 139 boolean "Disable the built in calibrate application"
135 default y if TARGET_YOPY 140 default y if TARGET_YOPY
136 default n if ! TARGET_YOPY 141 default n if ! TARGET_YOPY
137 142
138config OPIE_SOUND_FRAGMENT_SHIFT 143config OPIE_SOUND_FRAGMENT_SHIFT
139 string "The sound fragment used in Opie Player I" 144 string "The sound fragment used in Opie Player I"
140 default "14" if TARGET_IPAQ 145 default "14" if TARGET_IPAQ
141 default "16" if ! TARGET_IPAQ 146 default "16" if ! TARGET_IPAQ
142 147
143config USE_REALTIME_AUDIO_THREAD 148config USE_REALTIME_AUDIO_THREAD
144 boolean "Use a realtime thread in Opie Player I" 149 boolean "Use a realtime thread in Opie Player I"
145 default y if TARGET_IPAQ || TARGET_SIMPAD || TARGET_RAMSES || TARGET_SHARP 150 default y if TARGET_IPAQ || TARGET_SIMPAD || TARGET_RAMSES || TARGET_SHARP
146 default n if ! (TARGET_IPAQ || TARGET_SIMPAD || TARGET_RAMSES || TARGET_SHARP) 151 default n if ! (TARGET_IPAQ || TARGET_SIMPAD || TARGET_RAMSES || TARGET_SHARP)
147 152
148config QT_QWS_ALLOW_OVERCLOCK 153config QT_QWS_ALLOW_OVERCLOCK
149 boolean "Allow the user to overclock the device" 154 boolean "Allow the user to overclock the device"
150 depends TARGET_RAMSES 155 depends TARGET_RAMSES
151 default n 156 default n
152 157
153config USE_FILE_NOTIFICATION 158config USE_FILE_NOTIFICATION
154 boolean "Substitute (some) polling interfaces with OFileNotifier" 159 boolean "Substitute (some) polling interfaces with OFileNotifier"
155 default y 160 default y
156 161
157config OPIE_NEW_ALLOC 162config OPIE_NEW_ALLOC
158 boolean "Use malloc and free for the implementation" 163 boolean "Use malloc and free for the implementation"
159 default y if TARGET_RAMSES || TARGET_IPAQ || TARGET_SIMPAD || TARGET_SHARP 164 default y if TARGET_RAMSES || TARGET_IPAQ || TARGET_SIMPAD || TARGET_SHARP
160 default n if ! (TARGET_IPAQ || TARGET_SIMPAD || TARGET_RAMSES || TARGET_SHARP) 165 default n if ! (TARGET_IPAQ || TARGET_SIMPAD || TARGET_RAMSES || TARGET_SHARP)
161 166
162config OPIE_TASKBAR_LOCK_KEY_STATE 167config OPIE_TASKBAR_LOCK_KEY_STATE
163 boolean "Have a KeyLock state indicator on the taskbar" 168 boolean "Have a KeyLock state indicator on the taskbar"
164 default y if TARGET_SHARP 169 default y if TARGET_SHARP
165 default n if !TARGET_SHARP 170 default n if !TARGET_SHARP
166 171
167config LIBQPE_WITHROHFEEDBACK 172config LIBQPE_WITHROHFEEDBACK
168 boolean "Build libqpe with Right-On-Hold feedback" 173 boolean "Build libqpe with Right-On-Hold feedback"
169 default y 174 default y
170 175
171config OPIE_NO_SOUND_PCM_READ_BITS 176config OPIE_NO_SOUND_PCM_READ_BITS
172 boolean "There is not a pcm_read_bits io control" 177 boolean "There is not a pcm_read_bits io control"
173 default y if TARGET_SHARP 178 default y if TARGET_SHARP
174 default n if ! TARGET_SHARP 179 default n if ! TARGET_SHARP
175endmenu 180endmenu
176 181
177menu "Dependencies" 182menu "Dependencies"
178 source dependencies.in 183 source dependencies.in
179endmenu 184endmenu
180 185
181menu "Base" 186menu "Base"
182 choice 187 choice
183 prompt "Qpe Library Selection" 188 prompt "Qpe Library Selection"
184 default LIBQPE 189 default LIBQPE
185 source library/config.in 190 source library/config.in
186 source x11/config.in 191 source x11/config.in
187 endchoice 192 endchoice
188 source libopie2/config.in 193 source libopie2/config.in
189 source libqtaux/config.in 194 source libqtaux/config.in
190 source rsync/config.in 195 source rsync/config.in
191 source core/opie-login/config.in 196 source core/opie-login/config.in
192 source core/opiealarm/config.in 197 source core/opiealarm/config.in
193 source core/tools/quicklauncher/config.in 198 source core/tools/quicklauncher/config.in
194 source core/launcher/config.in 199 source core/launcher/config.in
195 source core/symlinker/config.in 200 source core/symlinker/config.in
196endmenu 201endmenu
197 202
198comment "" 203comment ""
199 204
200menu "Applets" 205menu "Applets"
201 source core/applets/config.in 206 source core/applets/config.in
202 source noncore/applets/config.in 207 source noncore/applets/config.in
203endmenu 208endmenu
204 209
205menu "Apps" 210menu "Apps"
206 source core/apps/config.in 211 source core/apps/config.in
207 source noncore/apps/config.in 212 source noncore/apps/config.in
208endmenu 213endmenu
209 214
210menu "Communications and Networking" 215menu "Communications and Networking"
211 source noncore/comm/config.in 216 source noncore/comm/config.in
212 source noncore/net/config.in 217 source noncore/net/config.in
213endmenu 218endmenu
214 219
215menu "Games" 220menu "Games"
216 source noncore/games/config.in 221 source noncore/games/config.in
217endmenu 222endmenu
218 223
219menu "Graphics and Multimedia" 224menu "Graphics and Multimedia"
220 source freetype/config.in 225 source freetype/config.in
221 source noncore/graphics/config.in 226 source noncore/graphics/config.in
222 source core/multimedia/config.in 227 source core/multimedia/config.in
223 source noncore/multimedia/config.in 228 source noncore/multimedia/config.in
224endmenu 229endmenu
225 230
226menu "Input methods" 231menu "Input methods"
227 source inputmethods/config.in 232 source inputmethods/config.in
228endmenu 233endmenu
229 234
230menu "Pim" 235menu "Pim"
231 source core/obex/config.in 236 source core/obex/config.in
232 source core/pim/config.in 237 source core/pim/config.in
233 comment "Today Plugins ---" 238 comment "Today Plugins ---"
234 source noncore/todayplugins/config.in 239 source noncore/todayplugins/config.in
235 source core/pim/today/plugins/config.in 240 source core/pim/today/plugins/config.in
236endmenu 241endmenu
237 242
238menu "Settings" 243menu "Settings"
239 source core/settings/config.in 244 source core/settings/config.in
240 source noncore/settings/config.in 245 source noncore/settings/config.in
241 source noncore/securityplugins/config.in 246 source noncore/securityplugins/config.in
242endmenu 247endmenu
243 248
244menu "Theming" 249menu "Theming"
245 comment "Decorations ---" 250 comment "Decorations ---"
246 source noncore/decorations/config.in 251 source noncore/decorations/config.in
247 comment "Styles ---" 252 comment "Styles ---"
248 source noncore/styles/config.in 253 source noncore/styles/config.in
249endmenu 254endmenu
250 255
251menu "Tools" 256menu "Tools"
252 source noncore/tools/config.in 257 source noncore/tools/config.in
253endmenu 258endmenu
254 259
255menu "Development" 260menu "Development"
256 source development/keyview/config.in 261 source development/keyview/config.in
257 #source development/debugviewer/config.in 262 #source development/debugviewer/config.in
258endmenu 263endmenu
259 264
260menu "Examples" 265menu "Examples"
261 config EXAMPLES 266 config EXAMPLES
262 boolean "Compile Example Application" 267 boolean "Compile Example Application"
263 source examples/config.in 268 source examples/config.in
264endmenu 269endmenu
265 270
266comment "" 271comment ""
267 272
268menu "Unsupported / Unmaintained" 273menu "Unsupported / Unmaintained"
269 source noncore/unsupported/config.in 274 source noncore/unsupported/config.in
270endmenu 275endmenu
271 276
272comment "" 277comment ""
273 depends on EXPERIMENTAL 278 depends on EXPERIMENTAL
274menu "Experimental" 279menu "Experimental"
275 depends on EXPERIMENTAL 280 depends on EXPERIMENTAL
276 source libslcompat/config.in 281 source libslcompat/config.in
277 source core/qws/config.in 282 source core/qws/config.in
278endmenu 283endmenu
diff --git a/mkspecs/qws/linux-oe-g++/qmake.conf b/mkspecs/qws/linux-oe-g++/qmake.conf
index c4c273f..90166b0 100644
--- a/mkspecs/qws/linux-oe-g++/qmake.conf
+++ b/mkspecs/qws/linux-oe-g++/qmake.conf
@@ -1,86 +1,86 @@
1# 1#
2# $Id$ 2# $Id$
3# 3#
4# qmake configuration for linux-g++ using the arm-linux-g++ crosscompiler 4# qmake configuration for linux-g++ using the arm-linux-g++ crosscompiler
5# 5#
6 6
7 MAKEFILE_GENERATOR= UNIX 7 MAKEFILE_GENERATOR= UNIX
8 TEMPLATE = app 8 TEMPLATE = app
9 CONFIG += qt link_prl 9 CONFIG += qt link_prl
10 10
11STAGING_BINDIR = $(OEDIR)/tmp/staging/i686-linux/bin 11STAGING_BINDIR = $(OEDIR)/tmp/staging/$(OEHOSTSYS)/bin
12STAGING_CROSSDIR = $(OEDIR)/tmp/cross/bin 12STAGING_CROSSDIR = $(OEDIR)/tmp/cross/bin
13STAGING_INCDIR = $(OEDIR)/tmp/staging/arm-linux/include 13STAGING_INCDIR = $(OEDIR)/tmp/staging/arm-linux/include
14STAGING_LIBDIR = $(OEDIR)/tmp/staging/arm-linux/lib 14STAGING_LIBDIR = $(OEDIR)/tmp/staging/arm-linux/lib
15 15
16 QMAKE_CC = $(CCACHE) $(DISTCC) $$STAGING_CROSSDIR/arm-linux-gcc 16 QMAKE_CC = $(CCACHE) $(DISTCC) $$STAGING_CROSSDIR/arm-linux-gcc
17 QMAKE_LEX = flex 17 QMAKE_LEX = flex
18 QMAKE_LEXFLAGS = 18 QMAKE_LEXFLAGS =
19 QMAKE_YACC = yacc 19 QMAKE_YACC = yacc
20 QMAKE_YACCFLAGS = -d 20 QMAKE_YACCFLAGS = -d
21 QMAKE_CFLAGS = -pipe $(CFLAGS_EXTRA) 21 QMAKE_CFLAGS = -pipe $(CFLAGS_EXTRA)
22 QMAKE_CFLAGS_WARN_ON= -Wall -W 22 QMAKE_CFLAGS_WARN_ON= -Wall -W
23 QMAKE_CFLAGS_WARN_OFF= 23 QMAKE_CFLAGS_WARN_OFF=
24 QMAKE_CFLAGS_RELEASE= $(if $(CFLAGS_RELEASE),$(CFLAGS_RELEASE), -O2) 24 QMAKE_CFLAGS_RELEASE= $(if $(CFLAGS_RELEASE),$(CFLAGS_RELEASE), -O2)
25 QMAKE_CFLAGS_DEBUG= -g 25 QMAKE_CFLAGS_DEBUG= -g
26 QMAKE_CFLAGS_SHLIB= -fPIC 26 QMAKE_CFLAGS_SHLIB= -fPIC
27 QMAKE_CFLAGS_YACC= -Wno-unused -Wno-parentheses 27 QMAKE_CFLAGS_YACC= -Wno-unused -Wno-parentheses
28 QMAKE_CFLAGS_THREAD= -D_REENTRANT 28 QMAKE_CFLAGS_THREAD= -D_REENTRANT
29 29
30 QMAKE_CXX = $(CCACHE) $(DISTCC) $$STAGING_CROSSDIR/arm-linux-g++ -DQT_QWS_SL5XX -DQT_QWS_SHARP -DQT_QWS_EBX -DQT_QWS_CUSTOM 30 QMAKE_CXX = $(CCACHE) $(DISTCC) $$STAGING_CROSSDIR/arm-linux-g++ -DQT_QWS_SL5XX -DQT_QWS_SHARP -DQT_QWS_EBX -DQT_QWS_CUSTOM
31 QMAKE_CXXFLAGS = $$QMAKE_CFLAGS -DQWS -fno-exceptions -fno-rtti $(CXXFLAGS_EXTRA) 31 QMAKE_CXXFLAGS = $$QMAKE_CFLAGS -DQWS -fno-exceptions -fno-rtti $(CXXFLAGS_EXTRA)
32 QMAKE_CXXFLAGS_WARN_ON= $$QMAKE_CFLAGS_WARN_ON 32 QMAKE_CXXFLAGS_WARN_ON= $$QMAKE_CFLAGS_WARN_ON
33 QMAKE_CXXFLAGS_WARN_OFF= $$QMAKE_CFLAGS_WARN_OFF 33 QMAKE_CXXFLAGS_WARN_OFF= $$QMAKE_CFLAGS_WARN_OFF
34 QMAKE_CXXFLAGS_RELEASE= $$QMAKE_CFLAGS_RELEASE 34 QMAKE_CXXFLAGS_RELEASE= $$QMAKE_CFLAGS_RELEASE
35 QMAKE_CXXFLAGS_DEBUG= $$QMAKE_CFLAGS_DEBUG 35 QMAKE_CXXFLAGS_DEBUG= $$QMAKE_CFLAGS_DEBUG
36 QMAKE_CXXFLAGS_SHLIB= $$QMAKE_CFLAGS_SHLIB 36 QMAKE_CXXFLAGS_SHLIB= $$QMAKE_CFLAGS_SHLIB
37 QMAKE_CXXFLAGS_YACC= $$QMAKE_CFLAGS_YACC 37 QMAKE_CXXFLAGS_YACC= $$QMAKE_CFLAGS_YACC
38 QMAKE_CXXFLAGS_THREAD= $$QMAKE_CFLAGS_THREAD 38 QMAKE_CXXFLAGS_THREAD= $$QMAKE_CFLAGS_THREAD
39 39
40 QMAKE_INCDIR = $$STAGING_INCDIR 40 QMAKE_INCDIR = $$STAGING_INCDIR
41 QMAKE_LIBDIR = $$STAGING_LIBDIR 41 QMAKE_LIBDIR = $$STAGING_LIBDIR
42 QMAKE_INCDIR_X11= 42 QMAKE_INCDIR_X11=
43 QMAKE_LIBDIR_X11= 43 QMAKE_LIBDIR_X11=
44 QMAKE_INCDIR_QT = $(QTDIR)/include 44 QMAKE_INCDIR_QT = $(QTDIR)/include
45 QMAKE_LIBDIR_QT = $(QTDIR)/lib 45 QMAKE_LIBDIR_QT = $(QTDIR)/lib
46 QMAKE_INCDIR_OPENGL= 46 QMAKE_INCDIR_OPENGL=
47 QMAKE_LIBDIR_OPENGL= 47 QMAKE_LIBDIR_OPENGL=
48 QMAKE_INCDIR_QTOPIA= 48 QMAKE_INCDIR_QTOPIA=
49 QMAKE_LIBDIR_QTOPIA= 49 QMAKE_LIBDIR_QTOPIA=
50 50
51 QMAKE_LINK = $$STAGING_CROSSDIR/arm-linux-g++ 51 QMAKE_LINK = $$STAGING_CROSSDIR/arm-linux-g++
52 QMAKE_LINK_SHLIB= $$STAGING_CROSSDIR/arm-linux-g++ 52 QMAKE_LINK_SHLIB= $$STAGING_CROSSDIR/arm-linux-g++
53 QMAKE_LFLAGS = $(LFLAGS_EXTRA) 53 QMAKE_LFLAGS = $(LFLAGS_EXTRA)
54 QMAKE_LFLAGS_RELEASE= 54 QMAKE_LFLAGS_RELEASE=
55 QMAKE_LFLAGS_DEBUG= 55 QMAKE_LFLAGS_DEBUG=
56QMAKE_LFLAGS_SHLIB = -shared 56QMAKE_LFLAGS_SHLIB = -shared
57QMAKE_LFLAGS_PLUGIN = $$QMAKE_LFLAGS_SHLIB 57QMAKE_LFLAGS_PLUGIN = $$QMAKE_LFLAGS_SHLIB
58QMAKE_LFLAGS_SONAME = -Wl,-soname, 58QMAKE_LFLAGS_SONAME = -Wl,-soname,
59QMAKE_LFLAGS_THREAD = 59QMAKE_LFLAGS_THREAD =
60QMAKE_RPATH = -Wl,-rpath-link, 60QMAKE_RPATH = -Wl,-rpath-link,
61 61
62 QMAKE_LIBS = $(LIBS_EXTRA) 62 QMAKE_LIBS = $(LIBS_EXTRA)
63QMAKE_LIBS_DYNLOAD = -ldl 63QMAKE_LIBS_DYNLOAD = -ldl
64 QMAKE_LIBS_X11 = 64 QMAKE_LIBS_X11 =
65 QMAKE_LIBS_X11SM= 65 QMAKE_LIBS_X11SM=
66 QMAKE_LIBS_QT = -lqte 66 QMAKE_LIBS_QT = -lqte
67QMAKE_LIBS_QT_THREAD = -lqte-mt 67QMAKE_LIBS_QT_THREAD = -lqte-mt
68 QMAKE_LIBS_QT_OPENGL= -lqgl 68 QMAKE_LIBS_QT_OPENGL= -lqgl
69 QMAKE_LIBS_QTOPIA= -lqpe 69 QMAKE_LIBS_QTOPIA= -lqpe
70QMAKE_LIBS_THREAD = -lpthread 70QMAKE_LIBS_THREAD = -lpthread
71 71
72 QMAKE_MOC = $$STAGING_BINDIR/moc 72 QMAKE_MOC = $$STAGING_BINDIR/moc
73 QMAKE_UIC = $$STAGING_BINDIR/uic 73 QMAKE_UIC = $$STAGING_BINDIR/uic
74 74
75 QMAKE_AR = ar cqs 75 QMAKE_AR = ar cqs
76 QMAKE_RANLIB = 76 QMAKE_RANLIB =
77 77
78 QMAKE_TAR = tar -cf 78 QMAKE_TAR = tar -cf
79 QMAKE_GZIP = gzip -9f 79 QMAKE_GZIP = gzip -9f
80 80
81 QMAKE_COPY = cp -f 81 QMAKE_COPY = cp -f
82 QMAKE_MOVE = mv -f 82 QMAKE_MOVE = mv -f
83 QMAKE_DEL_FILE = rm -f 83 QMAKE_DEL_FILE = rm -f
84 QMAKE_DEL_DIR = rmdir 84 QMAKE_DEL_DIR = rmdir
85 QMAKE_CHK_DIR_EXISTS= test -d 85 QMAKE_CHK_DIR_EXISTS= test -d
86 QMAKE_MKDIR = mkdir -p 86 QMAKE_MKDIR = mkdir -p