new system to set which box and which features the box has

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@73 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Daniel Stenberg 2002-04-11 11:22:48 +00:00
parent 00b26e63fc
commit f3e11d8f74
5 changed files with 55 additions and 0 deletions

16
firmware/CONFIG Normal file
View file

@ -0,0 +1,16 @@
/*
* Config template file. Contains and describes all possibile config
* items. Don't actually use this file, this is plain documentation.
*/
/* define this if you have recording possibility */
#define HAVE_RECORDING 1
/* define this if you have a bitmap LCD display */
#define HAVE_LCD_BITMAP 1
/* define this if you have a charcell LCD display */
#define HAVE_LCD_CHARCELLS 1
/* define this if you compile a simulator (no actual HW) */
#define SIMULATOR 1

3
firmware/config-player.h Normal file
View file

@ -0,0 +1,3 @@
/* define this if you have a charcell LCD display */
#define HAVE_LCD_CHARCELLS 1

View file

@ -0,0 +1,3 @@
/* define this if you have a charcell LCD display */
#define HAVE_LCD_CHARCELLS 1

View file

@ -0,0 +1,5 @@
/* define this if you have recording possibility */
#define HAVE_RECORDING 1
/* define this if you have a bitmap LCD display */
#define HAVE_LCD_BITMAP 1

28
firmware/config.h Normal file
View file

@ -0,0 +1,28 @@
/***************************************************************************
* __________ __ ___.
* Open \______ \ ____ ____ | | _\_ |__ _______ ___
* Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
* Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
* Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
* \/ \/ \/ \/ \/
* $Id$
*
* Copyright (C) 2002 by Daniel Stenberg
*
* 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.
*
****************************************************************************/
#if defined(ARCHOS_PLAYER)
#include "config-player.h"
#elsif definfed(ARCHOS_PLAYER_OLD)
#include "config-playerold.h"
#elsif definfed(ARCHOS_RECORDER)
#include "config-recorder.h"
#else
/* no known platform */
#endif