summaryrefslogtreecommitdiff
authorocheong <ocheong>2003-10-09 10:30:28 (UTC)
committer ocheong <ocheong>2003-10-09 10:30:28 (UTC)
commit67f75e91f3fa7f21df2e19749a6ad53e9d237f8b (patch) (unidiff)
tree95431614d89df018e1ad45d5b55c8b69652f548d
parentf8d08db59ac05f5bf2f56e6ebf69c28dfbe8b13e (diff)
downloadopie-67f75e91f3fa7f21df2e19749a6ad53e9d237f8b.zip
opie-67f75e91f3fa7f21df2e19749a6ad53e9d237f8b.tar.gz
opie-67f75e91f3fa7f21df2e19749a6ad53e9d237f8b.tar.bz2
Added Yopy to build system.
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--Vars.make7
-rw-r--r--config.in6
2 files changed, 13 insertions, 0 deletions
diff --git a/Vars.make b/Vars.make
index 59766d1..ae54661 100644
--- a/Vars.make
+++ b/Vars.make
@@ -28,12 +28,16 @@ ifdef CONFIG_TARGET_RAMSES
28 PLATFORM=ramses-linux 28 PLATFORM=ramses-linux
29endif 29endif
30ifdef CONFIG_TARGET_SIMPAD 30ifdef CONFIG_TARGET_SIMPAD
31 PLATFORM=simpad-linux 31 PLATFORM=simpad-linux
32endif 32endif
33 33
34ifdef CONFIG_TARGET_YOPY
35 PLATFORM=yopy-linux
36endif
37
34export QMAKE:=$(OPIEDIR)/qmake/qmake 38export QMAKE:=$(OPIEDIR)/qmake/qmake
35export QMAKESPECSDIR=$(OPIEDIR)/mkspecs 39export QMAKESPECSDIR=$(OPIEDIR)/mkspecs
36 40
37ifeq ($(QPE_VERSION),) 41ifeq ($(QPE_VERSION),)
38 VERSION_MAJ:=$(shell echo $$(sed -n -e 's/.*QPE_VERSION "\([0-9]*\)\..*\..*".*/\1/p' <$(OPIEDIR)/library/version.h)) 42 VERSION_MAJ:=$(shell echo $$(sed -n -e 's/.*QPE_VERSION "\([0-9]*\)\..*\..*".*/\1/p' <$(OPIEDIR)/library/version.h))
39 VERSION_MIN:=$(shell echo $$(sed -n -e 's/.*QPE_VERSION ".*\.\([0-9]*\)\..*".*/\1/p' <$(OPIEDIR)/library/version.h)) 43 VERSION_MIN:=$(shell echo $$(sed -n -e 's/.*QPE_VERSION ".*\.\([0-9]*\)\..*".*/\1/p' <$(OPIEDIR)/library/version.h))
@@ -105,7 +109,10 @@ ifeq ($(STRIP),)
105 ifneq ($(CONFIG_TARGET_RAMSES),) 109 ifneq ($(CONFIG_TARGET_RAMSES),)
106 STRIP=arm-linux-strip 110 STRIP=arm-linux-strip
107 endif 111 endif
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
111endif 118endif
diff --git a/config.in b/config.in
index ddbc93b..4db0204 100644
--- a/config.in
+++ b/config.in
@@ -21,12 +21,15 @@ choice
21 config TARGET_RAMSES 21 config TARGET_RAMSES
22 boolean "Ramses" 22 boolean "Ramses"
23 23
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
27endchoice 30endchoice
28 31
29config OPTIMIZE 32config OPTIMIZE
30 boolean "Use optimizations" 33 boolean "Use optimizations"
31 default "y" if ! TARGET_X86 34 default "y" if ! TARGET_X86
32 35
@@ -55,24 +58,27 @@ config SPECFILE
55 default "qws/linux-ipaq-g++" if TARGET_IPAQ && (! X11) 58 default "qws/linux-ipaq-g++" if TARGET_IPAQ && (! X11)
56 default "linux-g++" if TARGET_IPAQ && X11 59 default "linux-g++" if TARGET_IPAQ && X11
57 default "qws/linux-ramses-g++" if TARGET_RAMSES && (! X11) 60 default "qws/linux-ramses-g++" if TARGET_RAMSES && (! X11)
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
62config CUSTOMFILE 66config CUSTOMFILE
63 string 67 string
64 default "custom-ipaq.h" if TARGET_IPAQ 68 default "custom-ipaq.h" if TARGET_IPAQ
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
69config OPTIMIZATIONS 74config 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
76 82
77config EXPERIMENTAL 83config EXPERIMENTAL
78 bool "Prompt for development and/or incomplete items" 84 bool "Prompt for development and/or incomplete items"