blob: a35817f9f72ca81b7f3e13598cd6c47922b660d9 [file] [log] [blame]
"Robert P. J. Day"63fc1a92006-07-02 19:47:05 +00001/* vi: set sw=4 ts=4: */
Rob Landley7e21d5f2006-04-27 23:34:46 +00002#include <unistd.h>
Denis Vlasenko7d219aa2006-10-05 10:17:08 +00003
Denis Vlasenkoff65cd42007-08-12 20:59:07 +00004/* Just #include "autoconf.h" doesn't work for builds in separate
5 * object directory */
6#include "../include/autoconf.h"
Rob Landley7e21d5f2006-04-27 23:34:46 +00007
Denis Vlasenko21765fa2008-06-13 20:44:05 +00008/* Since we can't use platform.h, have to do this again by hand: */
9#if ENABLE_NOMMU
10#define BB_MMU 0
11#define USE_FOR_NOMMU(...) __VA_ARGS__
12#define USE_FOR_MMU(...)
13#else
14#define BB_MMU 1
15#define USE_FOR_NOMMU(...)
16#define USE_FOR_MMU(...) __VA_ARGS__
17#endif
18
Denis Vlasenkob8429fb2007-01-03 23:23:58 +000019static const char usage_messages[] = ""
Rob Landley7e21d5f2006-04-27 23:34:46 +000020#define MAKE_USAGE
Denis Vlasenkofdc10172006-10-19 22:10:07 +000021#include "usage.h"
22#include "applets.h"
Rob Landley7e21d5f2006-04-27 23:34:46 +000023;
24
25int main(void)
26{
Bernhard Reutner-Fischer5e25ddb2008-05-19 09:48:17 +000027 write(STDOUT_FILENO, usage_messages, sizeof(usage_messages));
Rob Landley7e21d5f2006-04-27 23:34:46 +000028 return 0;
29}