-rw-r--r-- | Vars.make | 1 | ||||
-rw-r--r-- | config.in | 5 | ||||
-rw-r--r-- | mkspecs/qws/linux-oe-g++/qmake.conf | 2 |
3 files changed, 7 insertions, 1 deletions
@@ -1,130 +1,131 @@ | |||
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:=$(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) | ||
24 | endif | 25 | endif |
25 | 26 | ||
26 | ifdef CONFIG_TARGET_X86 | 27 | ifdef CONFIG_TARGET_X86 |
27 | PLATFORM=x86-linux | 28 | PLATFORM=x86-linux |
28 | endif | 29 | endif |
29 | ifdef CONFIG_TARGET_SHARP | 30 | ifdef CONFIG_TARGET_SHARP |
30 | PLATFORM=sharp-linux | 31 | PLATFORM=sharp-linux |
31 | endif | 32 | endif |
32 | ifdef CONFIG_TARGET_IPAQ | 33 | ifdef CONFIG_TARGET_IPAQ |
33 | PLATFORM=ipaq-linux | 34 | PLATFORM=ipaq-linux |
34 | endif | 35 | endif |
35 | ifdef CONFIG_TARGET_RAMSES | 36 | ifdef CONFIG_TARGET_RAMSES |
36 | PLATFORM=ramses-linux | 37 | PLATFORM=ramses-linux |
37 | endif | 38 | endif |
38 | ifdef CONFIG_TARGET_SIMPAD | 39 | ifdef CONFIG_TARGET_SIMPAD |
39 | PLATFORM=simpad-linux | 40 | PLATFORM=simpad-linux |
40 | endif | 41 | endif |
41 | 42 | ||
42 | ifdef CONFIG_TARGET_YOPY | 43 | ifdef CONFIG_TARGET_YOPY |
43 | PLATFORM=yopy-linux | 44 | PLATFORM=yopy-linux |
44 | endif | 45 | endif |
45 | ifdef CONFIG_TARGET_MACOSX | 46 | ifdef CONFIG_TARGET_MACOSX |
46 | PLATFORM=macx-darwin | 47 | PLATFORM=macx-darwin |
47 | endif | 48 | endif |
48 | 49 | ||
49 | export QMAKE:=$(OPIEDIR)/qmake/qmake | 50 | export QMAKE:=$(OPIEDIR)/qmake/qmake |
50 | export QMAKESPECSDIR=$(OPIEDIR)/mkspecs | 51 | export QMAKESPECSDIR=$(OPIEDIR)/mkspecs |
51 | 52 | ||
52 | ifeq ($(QPE_VERSION),) | 53 | ifeq ($(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 |
61 | endif | 62 | endif |
62 | export QPE_VERSION | 63 | export QPE_VERSION |
63 | 64 | ||
64 | SUB_VERSION=$(shell echo $$(sed -n -e 's,.*SUB_VERSION \"\(.*\)\".*,\1,p' <$(OPIEDIR)/library/version.h)) | 65 | SUB_VERSION=$(shell echo $$(sed -n -e 's,.*SUB_VERSION \"\(.*\)\".*,\1,p' <$(OPIEDIR)/library/version.h)) |
65 | ifeq ($(VERSION_CVS),) | 66 | ifeq ($(VERSION_CVS),) |
66 | VERSION_CVS:=$(shell date +%s) | 67 | VERSION_CVS:=$(shell date +%s) |
67 | endif | 68 | endif |
68 | ifneq ($(filter %snapshot",$(shell cat $(OPIEDIR)/library/version.h|grep QPE_VERSION)),) | 69 | ifneq ($(filter %snapshot",$(shell cat $(OPIEDIR)/library/version.h|grep QPE_VERSION)),) |
69 | SUB_VERSION:=$(VERSION_CVS) | 70 | SUB_VERSION:=$(VERSION_CVS) |
70 | endif | 71 | endif |
71 | export SUB_VERSION | 72 | export SUB_VERSION |
72 | 73 | ||
73 | ifneq ($(strip $(SUB_VERSION)),) | 74 | ifneq ($(strip $(SUB_VERSION)),) |
74 | EXTRAVERSION=-$(SUB_VERSION) | 75 | EXTRAVERSION=-$(SUB_VERSION) |
75 | endif | 76 | endif |
76 | 77 | ||
77 | ifeq ($(QTE_REVISION),) | 78 | ifeq ($(QTE_REVISION),) |
78 | QTE_REVISION=6 | 79 | QTE_REVISION=6 |
79 | endif | 80 | endif |
80 | export QTE_REVISION | 81 | export QTE_REVISION |
81 | 82 | ||
82 | export DEB_VERSION=2.0 | 83 | export DEB_VERSION=2.0 |
83 | 84 | ||
84 | ifeq ($(QTE_BASEVERSION),) | 85 | ifeq ($(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 |
90 | endif | 91 | endif |
91 | export QTE_BASEVERSION | 92 | export QTE_BASEVERSION |
92 | 93 | ||
93 | ifeq ($(QTE_VERSION),) | 94 | ifeq ($(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 |
99 | endif | 100 | endif |
100 | export QTE_VERSION | 101 | export QTE_VERSION |
101 | 102 | ||
102 | export PATH:=$(OPIEDIR)/scripts:$(PATH) | 103 | export PATH:=$(OPIEDIR)/scripts:$(PATH) |
103 | export QMAKESPEC=$(QMAKESPECSDIR)/$(patsubst "%",%,$(CONFIG_SPECFILE)) | 104 | export QMAKESPEC=$(QMAKESPECSDIR)/$(patsubst "%",%,$(CONFIG_SPECFILE)) |
104 | 105 | ||
105 | ifdef CONFIG_OPTIMIZATIONS | 106 | ifdef CONFIG_OPTIMIZATIONS |
106 | export CFLAGS_RELEASE=$(patsubst "%,%,$(CONFIG_OPTIMIZATIONS)) | 107 | export CFLAGS_RELEASE=$(patsubst "%,%,$(CONFIG_OPTIMIZATIONS)) |
107 | export CFLAGS_RELEASE:=$(patsubst %",%,$(CFLAGS_RELEASE)) | 108 | export CFLAGS_RELEASE:=$(patsubst %",%,$(CFLAGS_RELEASE)) |
108 | endif | 109 | endif |
109 | 110 | ||
110 | ifeq ($(STRIP),) | 111 | ifeq ($(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 |
129 | endif | 130 | endif |
130 | 131 | ||
@@ -1,278 +1,283 @@ | |||
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 | endchoice | 38 | endchoice |
39 | 39 | ||
40 | config OE_BUILD_DIR | 40 | config 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 | ||
45 | config OE_HOST_SYS | ||
46 | depends TARGET_OE | ||
47 | string "OE host system" | ||
48 | default "i686-linux" | ||
49 | |||
45 | config OPTIMIZE | 50 | config OPTIMIZE |
46 | boolean "Use optimizations" | 51 | boolean "Use optimizations" |
47 | default "y" if ! TARGET_X86 | 52 | default "y" if ! TARGET_X86 |
48 | 53 | ||
49 | config THREADED | 54 | config THREADED |
50 | boolean "Enable threaded build" | 55 | boolean "Enable threaded build" |
51 | default "n" | 56 | default "n" |
52 | 57 | ||
53 | config STATIC | 58 | config STATIC |
54 | boolean "Build static libraries" | 59 | boolean "Build static libraries" |
55 | default "n" | 60 | default "n" |
56 | 61 | ||
57 | config DEBUG | 62 | config DEBUG |
58 | boolean "Enable debug builds" | 63 | boolean "Enable debug builds" |
59 | default n | 64 | default n |
60 | 65 | ||
61 | config RELEASE | 66 | config RELEASE |
62 | bool | 67 | bool |
63 | default y | 68 | default y |
64 | depends !DEBUG | 69 | depends !DEBUG |
65 | 70 | ||
66 | config QUICK_LAUNCH | 71 | config 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 | ||
71 | config QUICKLAUNCH_PATH | 76 | config 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 | ||
76 | config SPECFILE | 81 | config 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 | ||
92 | config CUSTOMFILE | 97 | config 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 | ||
100 | config OPTIMIZATIONS | 105 | config 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 | ||
110 | config EXPERIMENTAL | 115 | config 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 | ||
114 | config USE_CCACHE | 119 | config USE_CCACHE |
115 | bool "Use ccache, if available?" | 120 | bool "Use ccache, if available?" |
116 | default y | 121 | default y |
117 | 122 | ||
118 | endmenu | 123 | endmenu |
119 | 124 | ||
120 | menu "Configuration" | 125 | menu "Configuration" |
121 | config OPIE_NO_OVERRIDE_QT | 126 | config 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 | ||
125 | config OPIE_NO_ERASERECT_FIX | 130 | config 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 | ||
129 | config OPIE_NO_BUILTIN_SHUTDOWN | 134 | config 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 | ||
133 | config OPIE_NO_BUILTIN_CALIBRATE | 138 | config 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 | ||
138 | config OPIE_SOUND_FRAGMENT_SHIFT | 143 | config 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 | ||
143 | config USE_REALTIME_AUDIO_THREAD | 148 | config 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 | ||
148 | config QT_QWS_ALLOW_OVERCLOCK | 153 | config 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 | ||
153 | config USE_FILE_NOTIFICATION | 158 | config 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 | ||
157 | config OPIE_NEW_ALLOC | 162 | config 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 | ||
162 | config OPIE_TASKBAR_LOCK_KEY_STATE | 167 | config 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 | ||
167 | config LIBQPE_WITHROHFEEDBACK | 172 | config 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 | ||
171 | config OPIE_NO_SOUND_PCM_READ_BITS | 176 | config 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 |
175 | endmenu | 180 | endmenu |
176 | 181 | ||
177 | menu "Dependencies" | 182 | menu "Dependencies" |
178 | source dependencies.in | 183 | source dependencies.in |
179 | endmenu | 184 | endmenu |
180 | 185 | ||
181 | menu "Base" | 186 | menu "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 |
196 | endmenu | 201 | endmenu |
197 | 202 | ||
198 | comment "" | 203 | comment "" |
199 | 204 | ||
200 | menu "Applets" | 205 | menu "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 |
203 | endmenu | 208 | endmenu |
204 | 209 | ||
205 | menu "Apps" | 210 | menu "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 |
208 | endmenu | 213 | endmenu |
209 | 214 | ||
210 | menu "Communications and Networking" | 215 | menu "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 |
213 | endmenu | 218 | endmenu |
214 | 219 | ||
215 | menu "Games" | 220 | menu "Games" |
216 | source noncore/games/config.in | 221 | source noncore/games/config.in |
217 | endmenu | 222 | endmenu |
218 | 223 | ||
219 | menu "Graphics and Multimedia" | 224 | menu "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 |
224 | endmenu | 229 | endmenu |
225 | 230 | ||
226 | menu "Input methods" | 231 | menu "Input methods" |
227 | source inputmethods/config.in | 232 | source inputmethods/config.in |
228 | endmenu | 233 | endmenu |
229 | 234 | ||
230 | menu "Pim" | 235 | menu "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 |
236 | endmenu | 241 | endmenu |
237 | 242 | ||
238 | menu "Settings" | 243 | menu "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 |
242 | endmenu | 247 | endmenu |
243 | 248 | ||
244 | menu "Theming" | 249 | menu "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 |
249 | endmenu | 254 | endmenu |
250 | 255 | ||
251 | menu "Tools" | 256 | menu "Tools" |
252 | source noncore/tools/config.in | 257 | source noncore/tools/config.in |
253 | endmenu | 258 | endmenu |
254 | 259 | ||
255 | menu "Development" | 260 | menu "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 |
258 | endmenu | 263 | endmenu |
259 | 264 | ||
260 | menu "Examples" | 265 | menu "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 |
264 | endmenu | 269 | endmenu |
265 | 270 | ||
266 | comment "" | 271 | comment "" |
267 | 272 | ||
268 | menu "Unsupported / Unmaintained" | 273 | menu "Unsupported / Unmaintained" |
269 | source noncore/unsupported/config.in | 274 | source noncore/unsupported/config.in |
270 | endmenu | 275 | endmenu |
271 | 276 | ||
272 | comment "" | 277 | comment "" |
273 | depends on EXPERIMENTAL | 278 | depends on EXPERIMENTAL |
274 | menu "Experimental" | 279 | menu "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 |
278 | endmenu | 283 | endmenu |
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 | ||
11 | STAGING_BINDIR = $(OEDIR)/tmp/staging/i686-linux/bin | 11 | STAGING_BINDIR = $(OEDIR)/tmp/staging/$(OEHOSTSYS)/bin |
12 | STAGING_CROSSDIR = $(OEDIR)/tmp/cross/bin | 12 | STAGING_CROSSDIR = $(OEDIR)/tmp/cross/bin |
13 | STAGING_INCDIR = $(OEDIR)/tmp/staging/arm-linux/include | 13 | STAGING_INCDIR = $(OEDIR)/tmp/staging/arm-linux/include |
14 | STAGING_LIBDIR = $(OEDIR)/tmp/staging/arm-linux/lib | 14 | STAGING_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= |
56 | QMAKE_LFLAGS_SHLIB = -shared | 56 | QMAKE_LFLAGS_SHLIB = -shared |
57 | QMAKE_LFLAGS_PLUGIN = $$QMAKE_LFLAGS_SHLIB | 57 | QMAKE_LFLAGS_PLUGIN = $$QMAKE_LFLAGS_SHLIB |
58 | QMAKE_LFLAGS_SONAME = -Wl,-soname, | 58 | QMAKE_LFLAGS_SONAME = -Wl,-soname, |
59 | QMAKE_LFLAGS_THREAD = | 59 | QMAKE_LFLAGS_THREAD = |
60 | QMAKE_RPATH = -Wl,-rpath-link, | 60 | QMAKE_RPATH = -Wl,-rpath-link, |
61 | 61 | ||
62 | QMAKE_LIBS = $(LIBS_EXTRA) | 62 | QMAKE_LIBS = $(LIBS_EXTRA) |
63 | QMAKE_LIBS_DYNLOAD = -ldl | 63 | QMAKE_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 |
67 | QMAKE_LIBS_QT_THREAD = -lqte-mt | 67 | QMAKE_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 |
70 | QMAKE_LIBS_THREAD = -lpthread | 70 | QMAKE_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 |