aboutsummaryrefslogtreecommitdiff
path: root/applets/usage.c
blob: a35817f9f72ca81b7f3e13598cd6c47922b660d9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
/* vi: set sw=4 ts=4: */
#include <unistd.h>

/* Just #include "autoconf.h" doesn't work for builds in separate
 * object directory */
#include "../include/autoconf.h"

/* Since we can't use platform.h, have to do this again by hand: */
#if ENABLE_NOMMU
#define BB_MMU 0
#define USE_FOR_NOMMU(...) __VA_ARGS__
#define USE_FOR_MMU(...)
#else
#define BB_MMU 1
#define USE_FOR_NOMMU(...)
#define USE_FOR_MMU(...) __VA_ARGS__
#endif

static const char usage_messages[] = ""
#define MAKE_USAGE
#include "usage.h"
#include "applets.h"
;

int main(void)
{
	write(STDOUT_FILENO, usage_messages, sizeof(usage_messages));
	return 0;
}