summaryrefslogtreecommitdiff
Side-by-side diff
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