author | ocheong <ocheong> | 2003-10-09 10:30:28 (UTC) |
---|---|---|
committer | ocheong <ocheong> | 2003-10-09 10:30:28 (UTC) |
commit | 67f75e91f3fa7f21df2e19749a6ad53e9d237f8b (patch) (unidiff) | |
tree | 95431614d89df018e1ad45d5b55c8b69652f548d | |
parent | f8d08db59ac05f5bf2f56e6ebf69c28dfbe8b13e (diff) | |
download | opie-67f75e91f3fa7f21df2e19749a6ad53e9d237f8b.zip opie-67f75e91f3fa7f21df2e19749a6ad53e9d237f8b.tar.gz opie-67f75e91f3fa7f21df2e19749a6ad53e9d237f8b.tar.bz2 |
Added Yopy to build system.
-rw-r--r-- | Vars.make | 7 | ||||
-rw-r--r-- | config.in | 6 |
2 files changed, 13 insertions, 0 deletions
@@ -31,6 +31,10 @@ ifdef CONFIG_TARGET_SIMPAD | |||
31 | PLATFORM=simpad-linux | 31 | PLATFORM=simpad-linux |
32 | endif | 32 | endif |
33 | 33 | ||
34 | ifdef CONFIG_TARGET_YOPY | ||
35 | PLATFORM=yopy-linux | ||
36 | endif | ||
37 | |||
34 | export QMAKE:=$(OPIEDIR)/qmake/qmake | 38 | export QMAKE:=$(OPIEDIR)/qmake/qmake |
35 | export QMAKESPECSDIR=$(OPIEDIR)/mkspecs | 39 | export QMAKESPECSDIR=$(OPIEDIR)/mkspecs |
36 | 40 | ||
@@ -108,4 +112,7 @@ ifeq ($(STRIP),) | |||
108 | ifneq ($(CONFIG_TARGET_SIMPAD),) | 112 | ifneq ($(CONFIG_TARGET_SIMPAD),) |
109 | STRIP=arm-linux-strip | 113 | STRIP=arm-linux-strip |
110 | endif | 114 | endif |
115 | ifneq ($(CONFIG_TARGET_YOPY),) | ||
116 | STRIP=arm-linux-strip | ||
117 | endif | ||
111 | endif | 118 | endif |
@@ -24,6 +24,9 @@ choice | |||
24 | config TARGET_SIMPAD | 24 | config TARGET_SIMPAD |
25 | boolean "SIMpad" | 25 | boolean "SIMpad" |
26 | 26 | ||
27 | config TARGET_YOPY | ||
28 | boolean "Yopy 3500/3700" | ||
29 | |||
27 | endchoice | 30 | endchoice |
28 | 31 | ||
29 | config OPTIMIZE | 32 | config OPTIMIZE |
@@ -58,6 +61,7 @@ config SPECFILE | |||
58 | default "linux-g++" if TARGET_RAMSES && X11 | 61 | default "linux-g++" if TARGET_RAMSES && X11 |
59 | default "qws/linux-simpad-g++" if TARGET_SIMPAD && (! X11) | 62 | default "qws/linux-simpad-g++" if TARGET_SIMPAD && (! X11) |
60 | default "linux-g++" if TARGET_SIMPAD && X11 | 63 | default "linux-g++" if TARGET_SIMPAD && X11 |
64 | default "qws/linux-yopy-g++" if TARGET_YOPY && (! X11) | ||
61 | 65 | ||
62 | config CUSTOMFILE | 66 | config CUSTOMFILE |
63 | string | 67 | string |
@@ -65,11 +69,13 @@ config CUSTOMFILE | |||
65 | default "custom-sharp.h" if TARGET_SHARP | 69 | default "custom-sharp.h" if TARGET_SHARP |
66 | default "custom-ramses.h" if TARGET_RAMSES | 70 | default "custom-ramses.h" if TARGET_RAMSES |
67 | default "custom-ipaq.h" if TARGET_SIMPAD | 71 | default "custom-ipaq.h" if TARGET_SIMPAD |
72 | default "custom-yopy.h" if TARGET_YOPY | ||
68 | 73 | ||
69 | config OPTIMIZATIONS | 74 | config OPTIMIZATIONS |
70 | string "Optimization flags" | 75 | string "Optimization flags" |
71 | depends OPTIMIZE | 76 | depends OPTIMIZE |
72 | default "-march=armv4 -mtune=strongarm1100 -mapcs-32 -fexpensive-optimizations -fomit-frame-pointer -O2" if TARGET_IPAQ | 77 | default "-march=armv4 -mtune=strongarm1100 -mapcs-32 -fexpensive-optimizations -fomit-frame-pointer -O2" if TARGET_IPAQ |
78 | default "-march=armv4 -mtune=strongarm1100 -mapcs-32 -fexpensive-optimizations -fomit-frame-pointer -O2" if TARGET_YOPY | ||
73 | default "-march=armv4 -mtune=strongarm1100 -mapcs-32 -fexpensive-optimizations -fomit-frame-pointer -O2" if TARGET_SHARP | 79 | default "-march=armv4 -mtune=strongarm1100 -mapcs-32 -fexpensive-optimizations -fomit-frame-pointer -O2" if TARGET_SHARP |
74 | default "-march=armv4 -mtune=strongarm1100 -mapcs-32 -fexpensive-optimizations -fomit-frame-pointer -O2" if TARGET_RAMSES | 80 | default "-march=armv4 -mtune=strongarm1100 -mapcs-32 -fexpensive-optimizations -fomit-frame-pointer -O2" if TARGET_RAMSES |
75 | default "-march=armv4 -mtune=strongarm1100 -mapcs-32 -fexpensive-optimizations -fomit-frame-pointer -O2" if TARGET_SIMPAD | 81 | default "-march=armv4 -mtune=strongarm1100 -mapcs-32 -fexpensive-optimizations -fomit-frame-pointer -O2" if TARGET_SIMPAD |