summaryrefslogtreecommitdiff
authorocheong <ocheong>2003-10-09 10:30:28 (UTC)
committer ocheong <ocheong>2003-10-09 10:30:28 (UTC)
commit67f75e91f3fa7f21df2e19749a6ad53e9d237f8b (patch) (side-by-side diff)
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
@@ -31,6 +31,10 @@ ifdef CONFIG_TARGET_SIMPAD
PLATFORM=simpad-linux
endif
+ifdef CONFIG_TARGET_YOPY
+ PLATFORM=yopy-linux
+endif
+
export QMAKE:=$(OPIEDIR)/qmake/qmake
export QMAKESPECSDIR=$(OPIEDIR)/mkspecs
@@ -108,4 +112,7 @@ ifeq ($(STRIP),)
ifneq ($(CONFIG_TARGET_SIMPAD),)
STRIP=arm-linux-strip
endif
+ ifneq ($(CONFIG_TARGET_YOPY),)
+ STRIP=arm-linux-strip
+ endif
endif
diff --git a/config.in b/config.in
index ddbc93b..4db0204 100644
--- a/config.in
+++ b/config.in
@@ -24,6 +24,9 @@ choice
config TARGET_SIMPAD
boolean "SIMpad"
+ config TARGET_YOPY
+ boolean "Yopy 3500/3700"
+
endchoice
config OPTIMIZE
@@ -58,6 +61,7 @@ config SPECFILE
default "linux-g++" if TARGET_RAMSES && X11
default "qws/linux-simpad-g++" if TARGET_SIMPAD && (! X11)
default "linux-g++" if TARGET_SIMPAD && X11
+ default "qws/linux-yopy-g++" if TARGET_YOPY && (! X11)
config CUSTOMFILE
string
@@ -65,11 +69,13 @@ config CUSTOMFILE
default "custom-sharp.h" if TARGET_SHARP
default "custom-ramses.h" if TARGET_RAMSES
default "custom-ipaq.h" if TARGET_SIMPAD
+ default "custom-yopy.h" if TARGET_YOPY
config OPTIMIZATIONS
string "Optimization flags"
depends OPTIMIZE
default "-march=armv4 -mtune=strongarm1100 -mapcs-32 -fexpensive-optimizations -fomit-frame-pointer -O2" if TARGET_IPAQ
+ default "-march=armv4 -mtune=strongarm1100 -mapcs-32 -fexpensive-optimizations -fomit-frame-pointer -O2" if TARGET_YOPY
default "-march=armv4 -mtune=strongarm1100 -mapcs-32 -fexpensive-optimizations -fomit-frame-pointer -O2" if TARGET_SHARP
default "-march=armv4 -mtune=strongarm1100 -mapcs-32 -fexpensive-optimizations -fomit-frame-pointer -O2" if TARGET_RAMSES
default "-march=armv4 -mtune=strongarm1100 -mapcs-32 -fexpensive-optimizations -fomit-frame-pointer -O2" if TARGET_SIMPAD