Contents of /trunk/mkinitrd-magellan/busybox/applets/usage.c
Parent Directory | Revision Log
Revision 984 -
(show annotations)
(download)
Sun May 30 11:32:42 2010 UTC (14 years, 4 months ago) by niro
File MIME type: text/plain
File size: 739 byte(s)
Sun May 30 11:32:42 2010 UTC (14 years, 4 months ago) by niro
File MIME type: text/plain
File size: 739 byte(s)
-updated to busybox-1.16.1 and enabled blkid/uuid support in default config
1 | /* vi: set sw=4 ts=4: */ |
2 | /* |
3 | * Copyright (C) 2008 Denys Vlasenko. |
4 | * |
5 | * Licensed under GPLv2, see file LICENSE in this tarball for details. |
6 | */ |
7 | #include <unistd.h> |
8 | |
9 | /* Just #include "autoconf.h" doesn't work for builds in separate |
10 | * object directory */ |
11 | #include "autoconf.h" |
12 | |
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 | |
24 | static const char usage_messages[] = "" |
25 | #define MAKE_USAGE |
26 | #include "usage.h" |
27 | #include "applets.h" |
28 | ; |
29 | |
30 | int main(void) |
31 | { |
32 | write(STDOUT_FILENO, usage_messages, sizeof(usage_messages)); |
33 | return 0; |
34 | } |