Contents of /tags/mkinitrd-6_1_4/busybox/applets/usage.c
Parent Directory | Revision Log
Revision 896 -
(show annotations)
(download)
Wed Aug 5 16:25:39 2009 UTC (15 years, 1 month ago) by niro
File MIME type: text/plain
File size: 625 byte(s)
Wed Aug 5 16:25:39 2009 UTC (15 years, 1 month ago) by niro
File MIME type: text/plain
File size: 625 byte(s)
tagged 'mkinitrd-6_1_4'
1 | /* vi: set sw=4 ts=4: */ |
2 | #include <unistd.h> |
3 | |
4 | /* Just #include "autoconf.h" doesn't work for builds in separate |
5 | * object directory */ |
6 | #include "../include/autoconf.h" |
7 | |
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 | |
19 | static const char usage_messages[] = "" |
20 | #define MAKE_USAGE |
21 | #include "usage.h" |
22 | #include "applets.h" |
23 | ; |
24 | |
25 | int main(void) |
26 | { |
27 | write(STDOUT_FILENO, usage_messages, sizeof(usage_messages)); |
28 | return 0; |
29 | } |