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) (show 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
@@ -32,4 +32,8 @@ ifdef CONFIG_TARGET_SIMPAD
endif
+ifdef CONFIG_TARGET_YOPY
+ PLATFORM=yopy-linux
+endif
+
export QMAKE:=$(OPIEDIR)/qmake/qmake
export QMAKESPECSDIR=$(OPIEDIR)/mkspecs
@@ -109,3 +113,6 @@ ifeq ($(STRIP),)
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
@@ -25,4 +25,7 @@ choice
boolean "SIMpad"
+ config TARGET_YOPY
+ boolean "Yopy 3500/3700"
+
endchoice
@@ -59,4 +62,5 @@ config SPECFILE
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
@@ -66,4 +70,5 @@ config CUSTOMFILE
default "custom-ramses.h" if TARGET_RAMSES
default "custom-ipaq.h" if TARGET_SIMPAD
+ default "custom-yopy.h" if TARGET_YOPY
config OPTIMIZATIONS
@@ -71,4 +76,5 @@ config OPTIMIZATIONS
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