Annotation of /tags/mkinitrd-6_3_1/busybox/applets/usage.c
Parent Directory | Revision Log
Revision 816 -
(hide annotations)
(download)
Fri Apr 24 18:33:46 2009 UTC (15 years, 2 months ago) by niro
Original Path: trunk/mkinitrd-magellan/busybox/applets/usage.c
File MIME type: text/plain
File size: 625 byte(s)
Fri Apr 24 18:33:46 2009 UTC (15 years, 2 months ago) by niro
Original Path: trunk/mkinitrd-magellan/busybox/applets/usage.c
File MIME type: text/plain
File size: 625 byte(s)
-updated to busybox-1.13.4
1 | niro | 532 | /* vi: set sw=4 ts=4: */ |
2 | #include <unistd.h> | ||
3 | |||
4 | niro | 816 | /* Just #include "autoconf.h" doesn't work for builds in separate |
5 | * object directory */ | ||
6 | niro | 532 | #include "../include/autoconf.h" |
7 | |||
8 | niro | 816 | /* 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 | niro | 532 | 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 | niro | 816 | write(STDOUT_FILENO, usage_messages, sizeof(usage_messages)); |
28 | niro | 532 | return 0; |
29 | } |