"Robert P. J. Day" | 63fc1a9 | 2006-07-02 19:47:05 +0000 | [diff] [blame] | 1 | /* vi: set sw=4 ts=4: */ |
Denis Vlasenko | db12d1d | 2008-12-07 00:52:58 +0000 | [diff] [blame] | 2 | /* |
| 3 | * Copyright (C) 2008 Denys Vlasenko. |
| 4 | * |
| 5 | * Licensed under GPLv2, see file LICENSE in this tarball for details. |
| 6 | */ |
Rob Landley | 7e21d5f | 2006-04-27 23:34:46 +0000 | [diff] [blame] | 7 | #include <unistd.h> |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 8 | |
Denis Vlasenko | ff65cd4 | 2007-08-12 20:59:07 +0000 | [diff] [blame] | 9 | /* Just #include "autoconf.h" doesn't work for builds in separate |
| 10 | * object directory */ |
| 11 | #include "../include/autoconf.h" |
Rob Landley | 7e21d5f | 2006-04-27 23:34:46 +0000 | [diff] [blame] | 12 | |
Denis Vlasenko | 21765fa | 2008-06-13 20:44:05 +0000 | [diff] [blame] | 13 | /* 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 Vlasenko | b8429fb | 2007-01-03 23:23:58 +0000 | [diff] [blame] | 24 | static const char usage_messages[] = "" |
Rob Landley | 7e21d5f | 2006-04-27 23:34:46 +0000 | [diff] [blame] | 25 | #define MAKE_USAGE |
Denis Vlasenko | fdc1017 | 2006-10-19 22:10:07 +0000 | [diff] [blame] | 26 | #include "usage.h" |
| 27 | #include "applets.h" |
Rob Landley | 7e21d5f | 2006-04-27 23:34:46 +0000 | [diff] [blame] | 28 | ; |
| 29 | |
| 30 | int main(void) |
| 31 | { |
Bernhard Reutner-Fischer | 5e25ddb | 2008-05-19 09:48:17 +0000 | [diff] [blame] | 32 | write(STDOUT_FILENO, usage_messages, sizeof(usage_messages)); |
Rob Landley | 7e21d5f | 2006-04-27 23:34:46 +0000 | [diff] [blame] | 33 | return 0; |
| 34 | } |