2006-07-02 19:47:05 +00:00
|
|
|
/* vi: set sw=4 ts=4: */
|
2008-12-07 00:52:58 +00:00
|
|
|
/*
|
|
|
|
* Copyright (C) 2008 Denys Vlasenko.
|
|
|
|
*
|
|
|
|
* Licensed under GPLv2, see file LICENSE in this tarball for details.
|
|
|
|
*/
|
2006-04-27 23:34:46 +00:00
|
|
|
#include <unistd.h>
|
2006-10-05 10:17:08 +00:00
|
|
|
|
2007-08-12 20:59:07 +00:00
|
|
|
/* Just #include "autoconf.h" doesn't work for builds in separate
|
|
|
|
* object directory */
|
2009-10-01 23:10:32 +00:00
|
|
|
#include "autoconf.h"
|
2006-04-27 23:34:46 +00:00
|
|
|
|
2008-06-13 20:44:05 +00:00
|
|
|
/* Since we can't use platform.h, have to do this again by hand: */
|
|
|
|
#if ENABLE_NOMMU
|
2009-10-01 23:10:32 +00:00
|
|
|
# define BB_MMU 0
|
|
|
|
# define USE_FOR_NOMMU(...) __VA_ARGS__
|
|
|
|
# define USE_FOR_MMU(...)
|
2008-06-13 20:44:05 +00:00
|
|
|
#else
|
2009-10-01 23:10:32 +00:00
|
|
|
# define BB_MMU 1
|
|
|
|
# define USE_FOR_NOMMU(...)
|
|
|
|
# define USE_FOR_MMU(...) __VA_ARGS__
|
2008-06-13 20:44:05 +00:00
|
|
|
#endif
|
|
|
|
|
2007-01-03 23:23:58 +00:00
|
|
|
static const char usage_messages[] = ""
|
2006-04-27 23:34:46 +00:00
|
|
|
#define MAKE_USAGE
|
2006-10-19 22:10:07 +00:00
|
|
|
#include "usage.h"
|
|
|
|
#include "applets.h"
|
2006-04-27 23:34:46 +00:00
|
|
|
;
|
|
|
|
|
|
|
|
int main(void)
|
|
|
|
{
|
2008-05-19 09:48:17 +00:00
|
|
|
write(STDOUT_FILENO, usage_messages, sizeof(usage_messages));
|
2006-04-27 23:34:46 +00:00
|
|
|
return 0;
|
|
|
|
}
|