|
diff --git a/Vars.make b/Vars.make index 6a52a93..880ccf1 100644 --- a/ Vars.make+++ b/ Vars.make |
|
@@ -1,132 +1,138 @@ |
1 | prefix=/opt/QtPalmtop |
1 | prefix=/opt/QtPalmtop |
2 | |
2 | |
3 | ifeq ($(OPIEDIR),) |
3 | ifeq ($(OPIEDIR),) |
4 | export OPIEDIR:=$(TOPDIR) |
4 | export OPIEDIR:=$(TOPDIR) |
5 | endif |
5 | endif |
6 | ifeq ($(IPK_DIR),) |
6 | ifeq ($(IPK_DIR),) |
7 | export IPK_DIR:=$(OPIEDIR) |
7 | export IPK_DIR:=$(OPIEDIR) |
8 | endif |
8 | endif |
9 | |
9 | |
10 | ifneq ($(wildcard $(TOPDIR)/.config),) |
10 | ifneq ($(wildcard $(TOPDIR)/.config),) |
11 | include $(TOPDIR)/.config |
11 | include $(TOPDIR)/.config |
12 | endif |
12 | endif |
13 | |
13 | |
14 | ifndef CONFIG_TARGET_OE |
14 | ifndef CONFIG_TARGET_OE |
15 | ifndef QTDIR |
15 | ifndef QTDIR |
16 | $(error QTDIR not set) |
16 | $(error QTDIR not set) |
17 | endif |
17 | endif |
18 | else |
18 | else |
19 | OEDIR:=$(shell echo $(CONFIG_OE_BUILD_DIR) | sed -e's/"//g') |
19 | OEDIR:=$(shell echo $(CONFIG_OE_BUILD_DIR) | sed -e's/"//g') |
20 | OEHOSTSYS:=$(shell echo $(CONFIG_OE_HOST_SYS) | sed -e's/"//g') |
20 | OEHOSTSYS:=$(shell echo $(CONFIG_OE_HOST_SYS) | sed -e's/"//g') |
21 | OETARGETSYS:=$(shell echo $(CONFIG_OE_TARGET_SYS) | sed -e's/"//g') |
21 | OETARGETSYS:=$(shell echo $(CONFIG_OE_TARGET_SYS) | sed -e's/"//g') |
22 | QTDIR:=$(shell echo $(OEDIR) | sed -e's/"//g')/tmp/staging/$(OETARGETSYS)/qt2 |
22 | QTDIR:=$(shell echo $(OEDIR) | sed -e's/"//g')/tmp/staging/$(OETARGETSYS)/qt2 |
23 | $(shell mkdir -p $(QTDIR)/src/moc) |
23 | $(shell mkdir -p $(QTDIR)/src/moc) |
24 | $(shell echo -e "all: \n\t" >>$(QTDIR)/src/moc/Makefile) |
24 | $(shell echo -e "all: \n\t" >>$(QTDIR)/src/moc/Makefile) |
25 | PLATFORM=sharp-linux |
25 | PLATFORM=sharp-linux |
26 | endif |
26 | endif |
27 | |
27 | |
28 | ifdef CONFIG_TARGET_X86 |
28 | ifdef CONFIG_TARGET_X86 |
29 | PLATFORM=x86-linux |
29 | PLATFORM=x86-linux |
30 | endif |
30 | endif |
| |
31 | ifdef CONFIG_TARGET_64BIT |
| |
32 | PLATFORM=64-linux |
| |
33 | endif |
31 | ifdef CONFIG_TARGET_SHARP |
34 | ifdef CONFIG_TARGET_SHARP |
32 | PLATFORM=sharp-linux |
35 | PLATFORM=sharp-linux |
33 | endif |
36 | endif |
34 | ifdef CONFIG_TARGET_IPAQ |
37 | ifdef CONFIG_TARGET_IPAQ |
35 | PLATFORM=ipaq-linux |
38 | PLATFORM=ipaq-linux |
36 | endif |
39 | endif |
37 | ifdef CONFIG_TARGET_RAMSES |
40 | ifdef CONFIG_TARGET_RAMSES |
38 | PLATFORM=ramses-linux |
41 | PLATFORM=ramses-linux |
39 | endif |
42 | endif |
40 | ifdef CONFIG_TARGET_SIMPAD |
43 | ifdef CONFIG_TARGET_SIMPAD |
41 | PLATFORM=simpad-linux |
44 | PLATFORM=simpad-linux |
42 | endif |
45 | endif |
43 | |
46 | |
44 | ifdef CONFIG_TARGET_YOPY |
47 | ifdef CONFIG_TARGET_YOPY |
45 | PLATFORM=yopy-linux |
48 | PLATFORM=yopy-linux |
46 | endif |
49 | endif |
47 | ifdef CONFIG_TARGET_MACOSX |
50 | ifdef CONFIG_TARGET_MACOSX |
48 | PLATFORM=macx-darwin |
51 | PLATFORM=macx-darwin |
49 | endif |
52 | endif |
50 | |
53 | |
51 | export QMAKE:=$(OPIEDIR)/qmake/qmake |
54 | export QMAKE:=$(OPIEDIR)/qmake/qmake |
52 | export QMAKESPECSDIR=$(OPIEDIR)/mkspecs |
55 | export QMAKESPECSDIR=$(OPIEDIR)/mkspecs |
53 | |
56 | |
54 | ifeq ($(QPE_VERSION),) |
57 | ifeq ($(QPE_VERSION),) |
55 | VERSION_MAJ:=$(shell echo $$(sed -n -e 's/.*QPE_VERSION "\([0-9]*\)\..*\..*".*/\1/p' <$(OPIEDIR)/library/version.h)) |
58 | VERSION_MAJ:=$(shell echo $$(sed -n -e 's/.*QPE_VERSION "\([0-9]*\)\..*\..*".*/\1/p' <$(OPIEDIR)/library/version.h)) |
56 | VERSION_MIN:=$(shell echo $$(sed -n -e 's/.*QPE_VERSION ".*\.\([0-9]*\)\..*".*/\1/p' <$(OPIEDIR)/library/version.h)) |
59 | VERSION_MIN:=$(shell echo $$(sed -n -e 's/.*QPE_VERSION ".*\.\([0-9]*\)\..*".*/\1/p' <$(OPIEDIR)/library/version.h)) |
57 | VERSION_PAT:=$(shell echo $$(sed -n -e 's/.*QPE_VERSION ".*\..*\.\([0-9]*\).*/\1/p' <$(OPIEDIR)/library/version.h)) |
60 | VERSION_PAT:=$(shell echo $$(sed -n -e 's/.*QPE_VERSION ".*\..*\.\([0-9]*\).*/\1/p' <$(OPIEDIR)/library/version.h)) |
58 | QPE_VERSION:=$(VERSION_MAJ).$(VERSION_MIN).$(VERSION_PAT) |
61 | QPE_VERSION:=$(VERSION_MAJ).$(VERSION_MIN).$(VERSION_PAT) |
59 | |
62 | |
60 | ifeq ($(QPE_VERSION),..) |
63 | ifeq ($(QPE_VERSION),..) |
61 | QPE_VERSION=1.1.2 |
64 | QPE_VERSION=1.1.2 |
62 | endif |
65 | endif |
63 | endif |
66 | endif |
64 | export QPE_VERSION |
67 | export QPE_VERSION |
65 | |
68 | |
66 | SUB_VERSION=$(shell echo $$(sed -n -e 's,.*SUB_VERSION \"\(.*\)\".*,\1,p' <$(OPIEDIR)/library/version.h)) |
69 | SUB_VERSION=$(shell echo $$(sed -n -e 's,.*SUB_VERSION \"\(.*\)\".*,\1,p' <$(OPIEDIR)/library/version.h)) |
67 | ifeq ($(VERSION_CVS),) |
70 | ifeq ($(VERSION_CVS),) |
68 | VERSION_CVS:=$(shell date +%s) |
71 | VERSION_CVS:=$(shell date +%s) |
69 | endif |
72 | endif |
70 | ifneq ($(filter %snapshot",$(shell cat $(OPIEDIR)/library/version.h|grep QPE_VERSION)),) |
73 | ifneq ($(filter %snapshot",$(shell cat $(OPIEDIR)/library/version.h|grep QPE_VERSION)),) |
71 | SUB_VERSION:=$(VERSION_CVS) |
74 | SUB_VERSION:=$(VERSION_CVS) |
72 | endif |
75 | endif |
73 | export SUB_VERSION |
76 | export SUB_VERSION |
74 | |
77 | |
75 | ifneq ($(strip $(SUB_VERSION)),) |
78 | ifneq ($(strip $(SUB_VERSION)),) |
76 | EXTRAVERSION=-$(SUB_VERSION) |
79 | EXTRAVERSION=-$(SUB_VERSION) |
77 | endif |
80 | endif |
78 | |
81 | |
79 | ifeq ($(QTE_REVISION),) |
82 | ifeq ($(QTE_REVISION),) |
80 | QTE_REVISION=6 |
83 | QTE_REVISION=6 |
81 | endif |
84 | endif |
82 | export QTE_REVISION |
85 | export QTE_REVISION |
83 | |
86 | |
84 | export DEB_VERSION=2.0 |
87 | export DEB_VERSION=2.0 |
85 | |
88 | |
86 | ifeq ($(QTE_BASEVERSION),) |
89 | ifeq ($(QTE_BASEVERSION),) |
87 | ifneq ($(shell ls $(QTDIR)/include/qglobal.h 2>/dev/null),) |
90 | ifneq ($(shell ls $(QTDIR)/include/qglobal.h 2>/dev/null),) |
88 | 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/;') |
91 | 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/;') |
89 | else |
92 | else |
90 | QTE_BASEVERSION=2.3.7 |
93 | QTE_BASEVERSION=2.3.7 |
91 | endif |
94 | endif |
92 | endif |
95 | endif |
93 | export QTE_BASEVERSION |
96 | export QTE_BASEVERSION |
94 | |
97 | |
95 | ifeq ($(QTE_VERSION),) |
98 | ifeq ($(QTE_VERSION),) |
96 | ifneq ($(shell ls $(QTDIR)/include/qglobal.h 2>/dev/null),) |
99 | ifneq ($(shell ls $(QTDIR)/include/qglobal.h 2>/dev/null),) |
97 | QTE_VERSION:=$(shell cat $(QTDIR)/include/qglobal.h|grep '^\#define QT_VERSION_STR'|sed -e 's/\#define QT_VERSION_STR\t*//;' -e 's/.*"\([^"]*\)".*/\1/;') |
100 | QTE_VERSION:=$(shell cat $(QTDIR)/include/qglobal.h|grep '^\#define QT_VERSION_STR'|sed -e 's/\#define QT_VERSION_STR\t*//;' -e 's/.*"\([^"]*\)".*/\1/;') |
98 | else |
101 | else |
99 | QTE_VERSION=2.3.7 |
102 | QTE_VERSION=2.3.7 |
100 | endif |
103 | endif |
101 | endif |
104 | endif |
102 | export QTE_VERSION |
105 | export QTE_VERSION |
103 | |
106 | |
104 | export PATH:=$(OPIEDIR)/scripts:$(PATH) |
107 | export PATH:=$(OPIEDIR)/scripts:$(PATH) |
105 | export QMAKESPEC=$(QMAKESPECSDIR)/$(patsubst "%",%,$(CONFIG_SPECFILE)) |
108 | export QMAKESPEC=$(QMAKESPECSDIR)/$(patsubst "%",%,$(CONFIG_SPECFILE)) |
106 | |
109 | |
107 | ifdef CONFIG_OPTIMIZATIONS |
110 | ifdef CONFIG_OPTIMIZATIONS |
108 | export CFLAGS_RELEASE=$(patsubst "%,%,$(CONFIG_OPTIMIZATIONS)) |
111 | export CFLAGS_RELEASE=$(patsubst "%,%,$(CONFIG_OPTIMIZATIONS)) |
109 | export CFLAGS_RELEASE:=$(patsubst %",%,$(CFLAGS_RELEASE)) |
112 | export CFLAGS_RELEASE:=$(patsubst %",%,$(CFLAGS_RELEASE)) |
110 | endif |
113 | endif |
111 | |
114 | |
112 | ifeq ($(STRIP),) |
115 | ifeq ($(STRIP),) |
113 | ifneq ($(CONFIG_TARGET_X86),) |
116 | ifneq ($(CONFIG_TARGET_X86),) |
114 | STRIP=strip |
117 | STRIP=strip |
115 | endif |
118 | endif |
| |
119 | ifneq ($(CONFIG_TARGET_64BIT),) |
| |
120 | STRIP=strip |
| |
121 | endif |
116 | ifneq ($(CONFIG_TARGET_IPAQ),) |
122 | ifneq ($(CONFIG_TARGET_IPAQ),) |
117 | STRIP=arm-linux-strip |
123 | STRIP=arm-linux-strip |
118 | endif |
124 | endif |
119 | ifneq ($(CONFIG_TARGET_SHARP),) |
125 | ifneq ($(CONFIG_TARGET_SHARP),) |
120 | STRIP=arm-linux-strip |
126 | STRIP=arm-linux-strip |
121 | endif |
127 | endif |
122 | ifneq ($(CONFIG_TARGET_RAMSES),) |
128 | ifneq ($(CONFIG_TARGET_RAMSES),) |
123 | STRIP=arm-linux-strip |
129 | STRIP=arm-linux-strip |
124 | endif |
130 | endif |
125 | ifneq ($(CONFIG_TARGET_SIMPAD),) |
131 | ifneq ($(CONFIG_TARGET_SIMPAD),) |
126 | STRIP=arm-linux-strip |
132 | STRIP=arm-linux-strip |
127 | endif |
133 | endif |
128 | ifneq ($(CONFIG_TARGET_YOPY),) |
134 | ifneq ($(CONFIG_TARGET_YOPY),) |
129 | STRIP=arm-linux-strip |
135 | STRIP=arm-linux-strip |
130 | endif |
136 | endif |
131 | endif |
137 | endif |
132 | |
138 | |
|
|
diff --git a/config.in b/config.in index 61107e7..e979966 100644 --- a/ config.in+++ b/ config.in |
|
@@ -1,287 +1,291 @@ |
1 | mainmenu "Opie Configuration" |
1 | mainmenu "Opie Configuration" |
2 | |
2 | |
3 | menu "Build Parameters" |
3 | menu "Build Parameters" |
4 | |
4 | |
5 | choice |
5 | choice |
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" |
| |
38 | |
| |
39 | config TARGET_64BIT |
| |
40 | boolean "64 BIT" |
| |
41 | |
38 | endchoice |
42 | endchoice |
39 | |
43 | |
40 | config OE_BUILD_DIR |
44 | config OE_BUILD_DIR |
41 | depends TARGET_OE |
45 | depends TARGET_OE |
42 | string "OE build directory" |
46 | string "OE build directory" |
43 | default ">>>set OpenEmbedded build directory here<<<" |
47 | default ">>>set OpenEmbedded build directory here<<<" |
44 | |
48 | |
45 | config OE_HOST_SYS |
49 | config OE_HOST_SYS |
46 | depends TARGET_OE |
50 | depends TARGET_OE |
47 | string "OE host system" |
51 | string "OE host system" |
48 | default "i686-linux" |
52 | default "i686-linux" |
49 | |
53 | |
50 | config OE_TARGET_SYS |
54 | config OE_TARGET_SYS |
51 | depends TARGET_OE |
55 | depends TARGET_OE |
52 | string "OE target system" |
56 | string "OE target system" |
53 | default "arm-linux" |
57 | default "arm-linux" |
54 | |
58 | |
55 | config OPTIMIZE |
59 | config OPTIMIZE |
56 | boolean "Use optimizations" |
60 | boolean "Use optimizations" |
57 | default "y" if ! TARGET_X86 |
61 | default "y" if ! TARGET_X86 |
58 | |
62 | |
59 | config THREADED |
63 | config THREADED |
60 | boolean "Enable threaded build" |
64 | boolean "Enable threaded build" |
61 | default "n" |
65 | default "n" |
62 | |
66 | |
63 | config STATIC |
67 | config STATIC |
64 | boolean "Build static libraries" |
68 | boolean "Build static libraries" |
65 | default "n" |
69 | default "n" |
66 | |
70 | |
67 | config DEBUG |
71 | config DEBUG |
68 | boolean "Enable debug builds" |
72 | boolean "Enable debug builds" |
69 | default n |
73 | default n |
70 | |
74 | |
71 | config RELEASE |
75 | config RELEASE |
72 | bool |
76 | bool |
73 | default y |
77 | default y |
74 | depends !DEBUG |
78 | depends !DEBUG |
75 | |
79 | |
76 | config QUICK_LAUNCH |
80 | config QUICK_LAUNCH |
77 | boolean "Enable Quick Launch" |
81 | boolean "Enable Quick Launch" |
78 | default n if TARGET_X86 |
82 | default n if TARGET_X86 |
79 | default y if ! TARGET_X86 |
83 | default y if ! TARGET_X86 |
80 | |
84 | |
81 | config QUICKLAUNCH_PATH |
85 | config QUICKLAUNCH_PATH |
82 | string "Path to quicklauncher" |
86 | string "Path to quicklauncher" |
83 | default "./quicklauncher" if TARGET_X86 |
87 | default "./quicklauncher" if TARGET_X86 |
84 | default "/opt/QtPalmtop/bin/quicklauncher" if ! TARGET_X86 |
88 | default "/opt/QtPalmtop/bin/quicklauncher" if ! TARGET_X86 |
85 | |
89 | |
86 | config SPECFILE |
90 | config SPECFILE |
87 | string |
91 | string |
88 | default "qws/linux-generic-g++" if TARGET_X86 && (! X11) |
92 | default "qws/linux-generic-g++" if TARGET_X86 && (! X11) |
89 | default "linux-g++" if TARGET_X86 && X11 |
93 | default "linux-g++" if TARGET_X86 && X11 |
90 | default "qws/linux-sharp-g++" if TARGET_SHARP && (! X11) |
94 | default "qws/linux-sharp-g++" if TARGET_SHARP && (! X11) |
91 | default "linux-g++" if TARGET_SHARP && X11 |
95 | default "linux-g++" if TARGET_SHARP && X11 |
92 | default "qws/linux-ipaq-g++" if TARGET_IPAQ && (! X11) |
96 | default "qws/linux-ipaq-g++" if TARGET_IPAQ && (! X11) |
93 | default "linux-g++" if TARGET_IPAQ && X11 |
97 | default "linux-g++" if TARGET_IPAQ && X11 |
94 | default "qws/linux-ramses-g++" if TARGET_RAMSES && (! X11) |
98 | default "qws/linux-ramses-g++" if TARGET_RAMSES && (! X11) |
95 | default "linux-g++" if TARGET_RAMSES && X11 |
99 | default "linux-g++" if TARGET_RAMSES && X11 |
96 | default "qws/linux-simpad-g++" if TARGET_SIMPAD && (! X11) |
100 | default "qws/linux-simpad-g++" if TARGET_SIMPAD && (! X11) |
97 | default "linux-g++" if TARGET_SIMPAD && X11 |
101 | default "linux-g++" if TARGET_SIMPAD && X11 |
98 | default "qws/linux-yopy-g++" if TARGET_YOPY && (! X11) |
102 | default "qws/linux-yopy-g++" if TARGET_YOPY && (! X11) |
99 | default "qws/macx-generic-g++" if TARGET_MACOSX && (! X11) |
103 | default "qws/macx-generic-g++" if TARGET_MACOSX && (! X11) |
100 | default "qws/linux-oe-g++" if TARGET_OE && (!X11) |
104 | default "qws/linux-oe-g++" if TARGET_OE && (!X11) |
101 | |
105 | |
102 | config CUSTOMFILE |
106 | config CUSTOMFILE |
103 | string |
107 | string |
104 | default "custom-ipaq.h" if TARGET_IPAQ |
108 | default "custom-ipaq.h" if TARGET_IPAQ |
105 | default "custom-sharp.h" if TARGET_SHARP |
109 | default "custom-sharp.h" if TARGET_SHARP |
106 | default "custom-ramses.h" if TARGET_RAMSES |
110 | default "custom-ramses.h" if TARGET_RAMSES |
107 | default "custom-ipaq.h" if TARGET_SIMPAD |
111 | default "custom-ipaq.h" if TARGET_SIMPAD |
108 | default "custom-yopy.h" if TARGET_YOPY |
112 | default "custom-yopy.h" if TARGET_YOPY |
109 | |
113 | |
110 | config OPTIMIZATIONS |
114 | config OPTIMIZATIONS |
111 | string "Optimization flags" |
115 | string "Optimization flags" |
112 | depends OPTIMIZE |
116 | depends OPTIMIZE |
113 | default "-march=armv4 -mtune=strongarm1100 -mapcs-32 -fexpensive-optimizations -fomit-frame-pointer -O2" if TARGET_IPAQ |
117 | default "-march=armv4 -mtune=strongarm1100 -mapcs-32 -fexpensive-optimizations -fomit-frame-pointer -O2" if TARGET_IPAQ |
114 | default "-march=armv4 -mtune=strongarm1100 -mapcs-32 -fexpensive-optimizations -fomit-frame-pointer -O2" if TARGET_YOPY |
118 | default "-march=armv4 -mtune=strongarm1100 -mapcs-32 -fexpensive-optimizations -fomit-frame-pointer -O2" if TARGET_YOPY |
115 | default "-march=armv4 -mtune=strongarm1100 -mapcs-32 -fexpensive-optimizations -fomit-frame-pointer -O2" if TARGET_SHARP |
119 | default "-march=armv4 -mtune=strongarm1100 -mapcs-32 -fexpensive-optimizations -fomit-frame-pointer -O2" if TARGET_SHARP |
116 | default "-march=armv4 -mtune=strongarm1100 -mapcs-32 -fexpensive-optimizations -fomit-frame-pointer -O2" if TARGET_RAMSES |
120 | default "-march=armv4 -mtune=strongarm1100 -mapcs-32 -fexpensive-optimizations -fomit-frame-pointer -O2" if TARGET_RAMSES |
117 | default "-march=armv4 -mtune=strongarm1100 -mapcs-32 -fexpensive-optimizations -fomit-frame-pointer -O2" if TARGET_SIMPAD |
121 | default "-march=armv4 -mtune=strongarm1100 -mapcs-32 -fexpensive-optimizations -fomit-frame-pointer -O2" if TARGET_SIMPAD |
118 | default "-march=armv5te -mtune=xscale -mapcs-32 -fexpensive-optimizations -fomit-frame-pointer -O2" if TARGET_C700 |
122 | default "-march=armv5te -mtune=xscale -mapcs-32 -fexpensive-optimizations -fomit-frame-pointer -O2" if TARGET_C700 |
119 | |
123 | |
120 | config EXPERIMENTAL |
124 | config EXPERIMENTAL |
121 | bool "Prompt for development and/or incomplete items" |
125 | bool "Prompt for development and/or incomplete items" |
122 | default y |
126 | default y |
123 | |
127 | |
124 | config USE_CCACHE |
128 | config USE_CCACHE |
125 | bool "Use ccache, if available?" |
129 | bool "Use ccache, if available?" |
126 | default y |
130 | default y |
127 | |
131 | |
128 | endmenu |
132 | endmenu |
129 | |
133 | |
130 | menu "Configuration" |
134 | menu "Configuration" |
131 | config OPIE_NO_BUILTIN_SHUTDOWN |
135 | config OPIE_NO_BUILTIN_SHUTDOWN |
132 | boolean "Disable the built in shutdown application" |
136 | boolean "Disable the built in shutdown application" |
133 | default y |
137 | default y |
134 | |
138 | |
135 | config OPIE_NO_BUILTIN_CALIBRATE |
139 | config OPIE_NO_BUILTIN_CALIBRATE |
136 | boolean "Disable the built in calibrate application" |
140 | boolean "Disable the built in calibrate application" |
137 | default y if TARGET_YOPY |
141 | default y if TARGET_YOPY |
138 | default n if ! TARGET_YOPY |
142 | default n if ! TARGET_YOPY |
139 | |
143 | |
140 | config OPIE_SOUND_FRAGMENT_SHIFT |
144 | config OPIE_SOUND_FRAGMENT_SHIFT |
141 | string "The sound fragment used in Opie Player I" |
145 | string "The sound fragment used in Opie Player I" |
142 | default "14" if TARGET_IPAQ |
146 | default "14" if TARGET_IPAQ |
143 | default "16" if ! TARGET_IPAQ |
147 | default "16" if ! TARGET_IPAQ |
144 | |
148 | |
145 | config USE_REALTIME_AUDIO_THREAD |
149 | config USE_REALTIME_AUDIO_THREAD |
146 | boolean "Use a realtime thread in Opie Player I" |
150 | boolean "Use a realtime thread in Opie Player I" |
147 | default y if TARGET_IPAQ || TARGET_SIMPAD || TARGET_RAMSES || TARGET_SHARP |
151 | default y if TARGET_IPAQ || TARGET_SIMPAD || TARGET_RAMSES || TARGET_SHARP |
148 | default n if ! (TARGET_IPAQ || TARGET_SIMPAD || TARGET_RAMSES || TARGET_SHARP) |
152 | default n if ! (TARGET_IPAQ || TARGET_SIMPAD || TARGET_RAMSES || TARGET_SHARP) |
149 | |
153 | |
150 | config QT_QWS_ALLOW_OVERCLOCK |
154 | config QT_QWS_ALLOW_OVERCLOCK |
151 | boolean "Allow the user to overclock the device" |
155 | boolean "Allow the user to overclock the device" |
152 | depends TARGET_RAMSES |
156 | depends TARGET_RAMSES |
153 | default n |
157 | default n |
154 | |
158 | |
155 | config USE_FILE_NOTIFICATION |
159 | config USE_FILE_NOTIFICATION |
156 | boolean "Substitute (some) polling interfaces with OFileNotifier" |
160 | boolean "Substitute (some) polling interfaces with OFileNotifier" |
157 | default y |
161 | default y |
158 | |
162 | |
159 | config OPIE_NEW_ALLOC |
163 | config OPIE_NEW_ALLOC |
160 | boolean "Use malloc and free for the implementation" |
164 | boolean "Use malloc and free for the implementation" |
161 | default y if TARGET_RAMSES || TARGET_IPAQ || TARGET_SIMPAD || TARGET_SHARP |
165 | default y if TARGET_RAMSES || TARGET_IPAQ || TARGET_SIMPAD || TARGET_SHARP |
162 | default n if ! (TARGET_IPAQ || TARGET_SIMPAD || TARGET_RAMSES || TARGET_SHARP) |
166 | default n if ! (TARGET_IPAQ || TARGET_SIMPAD || TARGET_RAMSES || TARGET_SHARP) |
163 | |
167 | |
164 | config OPIE_TASKBAR_LOCK_KEY_STATE |
168 | config OPIE_TASKBAR_LOCK_KEY_STATE |
165 | boolean "Have a KeyLock state indicator on the taskbar" |
169 | boolean "Have a KeyLock state indicator on the taskbar" |
166 | default y if TARGET_SHARP |
170 | default y if TARGET_SHARP |
167 | default n if !TARGET_SHARP |
171 | default n if !TARGET_SHARP |
168 | |
172 | |
169 | config LIBQPE_WITHROHFEEDBACK |
173 | config LIBQPE_WITHROHFEEDBACK |
170 | boolean "Build libqpe with Right-On-Hold feedback" |
174 | boolean "Build libqpe with Right-On-Hold feedback" |
171 | default y |
175 | default y |
172 | |
176 | |
173 | config LIBQPE_NO_INLINE_IMAGES |
177 | config LIBQPE_NO_INLINE_IMAGES |
174 | boolean "Build libqpe without inline images" |
178 | boolean "Build libqpe without inline images" |
175 | default n |
179 | default n |
176 | |
180 | |
177 | config OPIE_NO_SOUND_PCM_READ_BITS |
181 | config OPIE_NO_SOUND_PCM_READ_BITS |
178 | boolean "There is not a pcm_read_bits io control" |
182 | boolean "There is not a pcm_read_bits io control" |
179 | default y if TARGET_SHARP |
183 | default y if TARGET_SHARP |
180 | default n if ! TARGET_SHARP |
184 | default n if ! TARGET_SHARP |
181 | endmenu |
185 | endmenu |
182 | |
186 | |
183 | menu "Dependencies" |
187 | menu "Dependencies" |
184 | source dependencies.in |
188 | source dependencies.in |
185 | endmenu |
189 | endmenu |
186 | |
190 | |
187 | menu "Base" |
191 | menu "Base" |
188 | choice |
192 | choice |
189 | prompt "Qpe Library Selection" |
193 | prompt "Qpe Library Selection" |
190 | default LIBQPE |
194 | default LIBQPE |
191 | source library/config.in |
195 | source library/config.in |
192 | source x11/config.in |
196 | source x11/config.in |
193 | endchoice |
197 | endchoice |
194 | source libopie2/config.in |
198 | source libopie2/config.in |
195 | source libqtaux/config.in |
199 | source libqtaux/config.in |
196 | source rsync/config.in |
200 | source rsync/config.in |
197 | source core/opie-login/config.in |
201 | source core/opie-login/config.in |
198 | source core/opiealarm/config.in |
202 | source core/opiealarm/config.in |
199 | source core/tools/quicklauncher/config.in |
203 | source core/tools/quicklauncher/config.in |
200 | source core/tools/hotplug-qcop/config.in |
204 | source core/tools/hotplug-qcop/config.in |
201 | source core/launcher/config.in |
205 | source core/launcher/config.in |
202 | source core/symlinker/config.in |
206 | source core/symlinker/config.in |
203 | endmenu |
207 | endmenu |
204 | |
208 | |
205 | comment "" |
209 | comment "" |
206 | |
210 | |
207 | menu "Applets" |
211 | menu "Applets" |
208 | source core/applets/config.in |
212 | source core/applets/config.in |
209 | source noncore/applets/config.in |
213 | source noncore/applets/config.in |
210 | endmenu |
214 | endmenu |
211 | |
215 | |
212 | menu "Apps" |
216 | menu "Apps" |
213 | source core/apps/config.in |
217 | source core/apps/config.in |
214 | source noncore/apps/config.in |
218 | source noncore/apps/config.in |
215 | endmenu |
219 | endmenu |
216 | |
220 | |
217 | menu "Communications and Networking" |
221 | menu "Communications and Networking" |
218 | source noncore/comm/config.in |
222 | source noncore/comm/config.in |
219 | source noncore/net/config.in |
223 | source noncore/net/config.in |
220 | endmenu |
224 | endmenu |
221 | |
225 | |
222 | menu "Games" |
226 | menu "Games" |
223 | source noncore/games/config.in |
227 | source noncore/games/config.in |
224 | endmenu |
228 | endmenu |
225 | |
229 | |
226 | menu "Graphics and Multimedia" |
230 | menu "Graphics and Multimedia" |
227 | source freetype/config.in |
231 | source freetype/config.in |
228 | source noncore/graphics/config.in |
232 | source noncore/graphics/config.in |
229 | source core/multimedia/config.in |
233 | source core/multimedia/config.in |
230 | source noncore/multimedia/config.in |
234 | source noncore/multimedia/config.in |
231 | endmenu |
235 | endmenu |
232 | |
236 | |
233 | menu "Input methods" |
237 | menu "Input methods" |
234 | source inputmethods/config.in |
238 | source inputmethods/config.in |
235 | endmenu |
239 | endmenu |
236 | |
240 | |
237 | menu "Pim" |
241 | menu "Pim" |
238 | source core/obex/config.in |
242 | source core/obex/config.in |
239 | source core/pim/config.in |
243 | source core/pim/config.in |
240 | comment "Today Plugins ---" |
244 | comment "Today Plugins ---" |
241 | source noncore/todayplugins/config.in |
245 | source noncore/todayplugins/config.in |
242 | source core/pim/today/plugins/config.in |
246 | source core/pim/today/plugins/config.in |
243 | comment "Holiday Plugins ---" |
247 | comment "Holiday Plugins ---" |
244 | source core/pim/datebook/holiday/config.in |
248 | source core/pim/datebook/holiday/config.in |
245 | endmenu |
249 | endmenu |
246 | |
250 | |
247 | menu "Settings" |
251 | menu "Settings" |
248 | source core/settings/config.in |
252 | source core/settings/config.in |
249 | source noncore/settings/config.in |
253 | source noncore/settings/config.in |
250 | source noncore/securityplugins/config.in |
254 | source noncore/securityplugins/config.in |
251 | endmenu |
255 | endmenu |
252 | |
256 | |
253 | menu "Theming" |
257 | menu "Theming" |
254 | comment "Decorations ---" |
258 | comment "Decorations ---" |
255 | source noncore/decorations/config.in |
259 | source noncore/decorations/config.in |
256 | comment "Styles ---" |
260 | comment "Styles ---" |
257 | source noncore/styles/config.in |
261 | source noncore/styles/config.in |
258 | endmenu |
262 | endmenu |
259 | |
263 | |
260 | menu "Tools" |
264 | menu "Tools" |
261 | source noncore/tools/config.in |
265 | source noncore/tools/config.in |
262 | endmenu |
266 | endmenu |
263 | |
267 | |
264 | menu "Development" |
268 | menu "Development" |
265 | source development/keyview/config.in |
269 | source development/keyview/config.in |
266 | #source development/debugviewer/config.in |
270 | #source development/debugviewer/config.in |
267 | endmenu |
271 | endmenu |
268 | |
272 | |
269 | menu "Examples" |
273 | menu "Examples" |
270 | config EXAMPLES |
274 | config EXAMPLES |
271 | boolean "Compile Example Application" |
275 | boolean "Compile Example Application" |
272 | source examples/config.in |
276 | source examples/config.in |
273 | endmenu |
277 | endmenu |
274 | |
278 | |
275 | comment "" |
279 | comment "" |
276 | |
280 | |
277 | menu "Unsupported / Unmaintained" |
281 | menu "Unsupported / Unmaintained" |
278 | source noncore/unsupported/config.in |
282 | source noncore/unsupported/config.in |
279 | endmenu |
283 | endmenu |
280 | |
284 | |
281 | comment "" |
285 | comment "" |
282 | depends on EXPERIMENTAL |
286 | depends on EXPERIMENTAL |
283 | menu "Experimental" |
287 | menu "Experimental" |
284 | depends on EXPERIMENTAL |
288 | depends on EXPERIMENTAL |
285 | source libslcompat/config.in |
289 | source libslcompat/config.in |
286 | source core/qws/config.in |
290 | source core/qws/config.in |
287 | endmenu |
291 | endmenu |
|