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