blob: 56d584ce3090bd4048f5313e64200495b0f23dc1 [file] [log] [blame]
/***************************************************************************
* __________ __ ___.
* Open \______ \ ____ ____ | | _\_ |__ _______ ___
* Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
* Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
* Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
* \/ \/ \/ \/ \/
* $Id$
*
* Copyright (C) 2011 by Amaury Pouly
*
* Based on Rockbox iriver bootloader by Linus Nielsen Feltzing
* and the ipodlinux bootloader by Daniel Palffy and Bernard Leach
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the License, or (at your option) any later version.
*
* This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
* KIND, either express or implied.
*
****************************************************************************/
#ifndef __NWZ_PLATTOOLS_H__
#define __NWZ_PLATTOOLS_H__
/** Platform tools can be either built individually, or be included in a
* single build (or even dualboot code) for easy testing. Thus, each tool must
* use the following macros to support all scenarios. */
#ifdef NWZ_EMBED_TOOLS
#define NWZ_TOOL_MAIN(tool) tool##_main
#else
#define NWZ_TOOL_MAIN(tool) main
#endif
#endif /* __NWZ_PLATTOOLS_H__ */