blob: 1e038b3672c96aec8bf51a7bc2c0855cab8df999 [file] [log] [blame]
"Robert P. J. Day"63fc1a92006-07-02 19:47:05 +00001/* vi: set sw=4 ts=4: */
Denis Vlasenkodb12d1d2008-12-07 00:52:58 +00002/*
3 * Copyright (C) 2008 Denys Vlasenko.
4 *
5 * Licensed under GPLv2, see file LICENSE in this tarball for details.
6 */
Rob Landley7e21d5f2006-04-27 23:34:46 +00007#include <unistd.h>
Denis Vlasenko7d219aa2006-10-05 10:17:08 +00008
Denis Vlasenkoff65cd42007-08-12 20:59:07 +00009/* Just #include "autoconf.h" doesn't work for builds in separate
10 * object directory */
11#include "../include/autoconf.h"
Rob Landley7e21d5f2006-04-27 23:34:46 +000012
Denis Vlasenko21765fa2008-06-13 20:44:05 +000013/* Since we can't use platform.h, have to do this again by hand: */
14#if ENABLE_NOMMU
15#define BB_MMU 0
16#define USE_FOR_NOMMU(...) __VA_ARGS__
17#define USE_FOR_MMU(...)
18#else
19#define BB_MMU 1
20#define USE_FOR_NOMMU(...)
21#define USE_FOR_MMU(...) __VA_ARGS__
22#endif
23
Denis Vlasenkob8429fb2007-01-03 23:23:58 +000024static const char usage_messages[] = ""
Rob Landley7e21d5f2006-04-27 23:34:46 +000025#define MAKE_USAGE
Denis Vlasenkofdc10172006-10-19 22:10:07 +000026#include "usage.h"
27#include "applets.h"
Rob Landley7e21d5f2006-04-27 23:34:46 +000028;
29
30int main(void)
31{
Bernhard Reutner-Fischer5e25ddb2008-05-19 09:48:17 +000032 write(STDOUT_FILENO, usage_messages, sizeof(usage_messages));
Rob Landley7e21d5f2006-04-27 23:34:46 +000033 return 0;
34}