summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJens Arnold <amiconn@rockbox.org>2006-02-24 07:59:48 +0000
committerJens Arnold <amiconn@rockbox.org>2006-02-24 07:59:48 +0000
commitf3ee1fe09b6fa9a7ce1d9e86be546eb1a94c6b54 (patch)
treea9056f5873836db322c43cc43118199fc20ba75a
parent40d99f434e50a1d3ad19750e663fead7cf08872e (diff)
downloadrockbox-f3ee1fe09b6fa9a7ce1d9e86be546eb1a94c6b54.tar.gz
rockbox-f3ee1fe09b6fa9a7ce1d9e86be546eb1a94c6b54.zip
Ooops, commit missing chessbox changes. Silly cvs...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8823 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--apps/plugins/Makefile2
-rwxr-xr-xapps/plugins/chessbox.c34
2 files changed, 35 insertions, 1 deletions
diff --git a/apps/plugins/Makefile b/apps/plugins/Makefile
index 3da2d46895..6f57636c69 100644
--- a/apps/plugins/Makefile
+++ b/apps/plugins/Makefile
@@ -71,7 +71,7 @@ endif
# chessbox is too big to fit in the 32KB Archos plugin buffer, so we only
# build for IRIVER and IPOD targets
-ifneq (,$(strip $(foreach tgt,IRIVER IPOD,$(findstring $(tgt),$(TARGET)))))
+ifneq (,$(strip $(foreach tgt,RECORDER ONDIO IRIVER IPOD,$(findstring $(tgt),$(TARGET)))))
ifneq (-DIRIVER_IFP7XX,$(TARGET))
SUBDIRS += chessbox
endif
diff --git a/apps/plugins/chessbox.c b/apps/plugins/chessbox.c
new file mode 100755
index 0000000000..c14606613e
--- /dev/null
+++ b/apps/plugins/chessbox.c
@@ -0,0 +1,34 @@
+/***************************************************************************
+ * __________ __ ___.
+ * Open \______ \ ____ ____ | | _\_ |__ _______ ___
+ * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
+ * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
+ * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
+ * \/ \/ \/ \/ \/
+ * $Id$
+ *
+ * Copyright (C) 2005 Jens Arnold
+ *
+ * Overlay loader stub plugin for chessbox on Archos
+ *
+ * All files in this archive are subject to the GNU General Public License.
+ * See the file COPYING in the source tree root for full license agreement.
+ *
+ * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
+ * KIND, either express or implied.
+ *
+ ****************************************************************************/
+#include "plugin.h"
+
+#if MEM <= 8 && !defined(SIMULATOR)
+
+#include "overlay.h"
+
+PLUGIN_HEADER
+
+/* this is the plugin entry point */
+enum plugin_status plugin_start(struct plugin_api* api, void* parameter)
+{
+ return run_overlay(api, parameter, "/.rockbox/rocks/chessbox.ovl", "ChessBox");
+}
+#endif