author | mickeyl <mickeyl> | 2004-11-15 14:29:41 (UTC) |
---|---|---|
committer | mickeyl <mickeyl> | 2004-11-15 14:29:41 (UTC) |
commit | 5e6ce0ba567dd9c8ae33353fcf1d0554b34241e8 (patch) (unidiff) | |
tree | e3903fd3f146c16d3521db20a6f3ca2db8b95121 /config.in | |
parent | c9543dc4edd3ea586c04e8114e133296ad9529d9 (diff) | |
download | opie-5e6ce0ba567dd9c8ae33353fcf1d0554b34241e8.zip opie-5e6ce0ba567dd9c8ae33353fcf1d0554b34241e8.tar.gz opie-5e6ce0ba567dd9c8ae33353fcf1d0554b34241e8.tar.bz2 |
this improves Opie build system playing more nice with OE. instructions later...
alert me if this breaks the non-oe work (which i doubt)
-rw-r--r-- | config.in | 10 |
1 files changed, 9 insertions, 1 deletions
@@ -1,106 +1,114 @@ | |||
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 | ||
25 | boolean "OpenEmbedded w/ OE build dir set below" | ||
26 | |||
24 | config TARGET_IPAQ | 27 | config TARGET_IPAQ |
25 | boolean "iPAQ" | 28 | boolean "iPAQ" |
26 | 29 | ||
27 | config TARGET_RAMSES | 30 | config TARGET_RAMSES |
28 | boolean "Ramses" | 31 | boolean "Ramses" |
29 | 32 | ||
30 | config TARGET_SIMPAD | 33 | config TARGET_SIMPAD |
31 | boolean "SIMpad" | 34 | boolean "SIMpad" |
32 | 35 | ||
33 | config TARGET_YOPY | 36 | config TARGET_YOPY |
34 | boolean "Yopy 3500/3700" | 37 | boolean "Yopy 3500/3700" |
35 | |||
36 | endchoice | 38 | endchoice |
37 | 39 | ||
40 | config OE_BUILD_DIR | ||
41 | depends TARGET_OE | ||
42 | string "OE build directory" | ||
43 | default ">>>set OpenEmbedded build directory here<<<" | ||
44 | |||
38 | config OPTIMIZE | 45 | config OPTIMIZE |
39 | boolean "Use optimizations" | 46 | boolean "Use optimizations" |
40 | default "y" if ! TARGET_X86 | 47 | default "y" if ! TARGET_X86 |
41 | 48 | ||
42 | config THREADED | 49 | config THREADED |
43 | boolean "Enable threaded build" | 50 | boolean "Enable threaded build" |
44 | default "n" | 51 | default "n" |
45 | 52 | ||
46 | config STATIC | 53 | config STATIC |
47 | boolean "Build static libraries" | 54 | boolean "Build static libraries" |
48 | default "n" | 55 | default "n" |
49 | 56 | ||
50 | config DEBUG | 57 | config DEBUG |
51 | boolean "Enable debug builds" | 58 | boolean "Enable debug builds" |
52 | default n | 59 | default n |
53 | 60 | ||
54 | config RELEASE | 61 | config RELEASE |
55 | bool | 62 | bool |
56 | default y | 63 | default y |
57 | depends !DEBUG | 64 | depends !DEBUG |
58 | 65 | ||
59 | config QUICK_LAUNCH | 66 | config QUICK_LAUNCH |
60 | boolean "Enable Quick Launch" | 67 | boolean "Enable Quick Launch" |
61 | default n if TARGET_X86 | 68 | default n if TARGET_X86 |
62 | default y if ! TARGET_X86 | 69 | default y if ! TARGET_X86 |
63 | 70 | ||
64 | config QUICKLAUNCH_PATH | 71 | config QUICKLAUNCH_PATH |
65 | string "Path to quicklauncher" | 72 | string "Path to quicklauncher" |
66 | default "./quicklauncher" if TARGET_X86 | 73 | default "./quicklauncher" if TARGET_X86 |
67 | default "/opt/QtPalmtop/bin/quicklauncher" if ! TARGET_X86 | 74 | default "/opt/QtPalmtop/bin/quicklauncher" if ! TARGET_X86 |
68 | 75 | ||
69 | config SPECFILE | 76 | config SPECFILE |
70 | string | 77 | string |
71 | default "qws/linux-generic-g++" if TARGET_X86 && (! X11) | 78 | default "qws/linux-generic-g++" if TARGET_X86 && (! X11) |
72 | default "linux-g++" if TARGET_X86 && X11 | 79 | default "linux-g++" if TARGET_X86 && X11 |
73 | default "qws/linux-sharp-g++" if TARGET_SHARP && (! X11) | 80 | default "qws/linux-sharp-g++" if TARGET_SHARP && (! X11) |
74 | default "linux-g++" if TARGET_SHARP && X11 | 81 | default "linux-g++" if TARGET_SHARP && X11 |
75 | default "qws/linux-ipaq-g++" if TARGET_IPAQ && (! X11) | 82 | default "qws/linux-ipaq-g++" if TARGET_IPAQ && (! X11) |
76 | default "linux-g++" if TARGET_IPAQ && X11 | 83 | default "linux-g++" if TARGET_IPAQ && X11 |
77 | default "qws/linux-ramses-g++" if TARGET_RAMSES && (! X11) | 84 | default "qws/linux-ramses-g++" if TARGET_RAMSES && (! X11) |
78 | default "linux-g++" if TARGET_RAMSES && X11 | 85 | default "linux-g++" if TARGET_RAMSES && X11 |
79 | default "qws/linux-simpad-g++" if TARGET_SIMPAD && (! X11) | 86 | default "qws/linux-simpad-g++" if TARGET_SIMPAD && (! X11) |
80 | default "linux-g++" if TARGET_SIMPAD && X11 | 87 | default "linux-g++" if TARGET_SIMPAD && X11 |
81 | default "qws/linux-yopy-g++" if TARGET_YOPY && (! X11) | 88 | default "qws/linux-yopy-g++" if TARGET_YOPY && (! X11) |
82 | default "qws/macx-generic-g++" if TARGET_MACOSX && (! X11) | 89 | default "qws/macx-generic-g++" if TARGET_MACOSX && (! X11) |
90 | default "qws/linux-oe-g++" if TARGET_OE && (!X11) | ||
83 | 91 | ||
84 | config CUSTOMFILE | 92 | config CUSTOMFILE |
85 | string | 93 | string |
86 | default "custom-ipaq.h" if TARGET_IPAQ | 94 | default "custom-ipaq.h" if TARGET_IPAQ |
87 | default "custom-sharp.h" if TARGET_SHARP | 95 | default "custom-sharp.h" if TARGET_SHARP |
88 | default "custom-ramses.h" if TARGET_RAMSES | 96 | default "custom-ramses.h" if TARGET_RAMSES |
89 | default "custom-ipaq.h" if TARGET_SIMPAD | 97 | default "custom-ipaq.h" if TARGET_SIMPAD |
90 | default "custom-yopy.h" if TARGET_YOPY | 98 | default "custom-yopy.h" if TARGET_YOPY |
91 | 99 | ||
92 | config OPTIMIZATIONS | 100 | config OPTIMIZATIONS |
93 | string "Optimization flags" | 101 | string "Optimization flags" |
94 | depends OPTIMIZE | 102 | depends OPTIMIZE |
95 | default "-march=armv4 -mtune=strongarm1100 -mapcs-32 -fexpensive-optimizations -fomit-frame-pointer -O2" if TARGET_IPAQ | 103 | default "-march=armv4 -mtune=strongarm1100 -mapcs-32 -fexpensive-optimizations -fomit-frame-pointer -O2" if TARGET_IPAQ |
96 | default "-march=armv4 -mtune=strongarm1100 -mapcs-32 -fexpensive-optimizations -fomit-frame-pointer -O2" if TARGET_YOPY | 104 | default "-march=armv4 -mtune=strongarm1100 -mapcs-32 -fexpensive-optimizations -fomit-frame-pointer -O2" if TARGET_YOPY |
97 | default "-march=armv4 -mtune=strongarm1100 -mapcs-32 -fexpensive-optimizations -fomit-frame-pointer -O2" if TARGET_SHARP | 105 | default "-march=armv4 -mtune=strongarm1100 -mapcs-32 -fexpensive-optimizations -fomit-frame-pointer -O2" if TARGET_SHARP |
98 | default "-march=armv4 -mtune=strongarm1100 -mapcs-32 -fexpensive-optimizations -fomit-frame-pointer -O2" if TARGET_RAMSES | 106 | default "-march=armv4 -mtune=strongarm1100 -mapcs-32 -fexpensive-optimizations -fomit-frame-pointer -O2" if TARGET_RAMSES |
99 | default "-march=armv4 -mtune=strongarm1100 -mapcs-32 -fexpensive-optimizations -fomit-frame-pointer -O2" if TARGET_SIMPAD | 107 | default "-march=armv4 -mtune=strongarm1100 -mapcs-32 -fexpensive-optimizations -fomit-frame-pointer -O2" if TARGET_SIMPAD |
100 | default "-march=armv5te -mtune=xscale -mapcs-32 -fexpensive-optimizations -fomit-frame-pointer -O2" if TARGET_C700 | 108 | default "-march=armv5te -mtune=xscale -mapcs-32 -fexpensive-optimizations -fomit-frame-pointer -O2" if TARGET_C700 |
101 | 109 | ||
102 | config EXPERIMENTAL | 110 | config EXPERIMENTAL |
103 | bool "Prompt for development and/or incomplete items" | 111 | bool "Prompt for development and/or incomplete items" |
104 | default y | 112 | default y |
105 | 113 | ||
106 | endmenu | 114 | endmenu |