forked from len0rd/rockbox
This new tool (all_tools) embeds all the other tools and provides a menu to choose which one to run. Change-Id: I0e07864dd46559a7079b0f942c25155e6fa07112
37 lines
1.5 KiB
C
37 lines
1.5 KiB
C
/***************************************************************************
|
|
* __________ __ ___.
|
|
* 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__ */
|