usage.c 625 B

1234567891011121314151617181920212223242526272829
  1. /* vi: set sw=4 ts=4: */
  2. #include <unistd.h>
  3. /* Just #include "autoconf.h" doesn't work for builds in separate
  4. * object directory */
  5. #include "../include/autoconf.h"
  6. /* Since we can't use platform.h, have to do this again by hand: */
  7. #if ENABLE_NOMMU
  8. #define BB_MMU 0
  9. #define USE_FOR_NOMMU(...) __VA_ARGS__
  10. #define USE_FOR_MMU(...)
  11. #else
  12. #define BB_MMU 1
  13. #define USE_FOR_NOMMU(...)
  14. #define USE_FOR_MMU(...) __VA_ARGS__
  15. #endif
  16. static const char usage_messages[] = ""
  17. #define MAKE_USAGE
  18. #include "usage.h"
  19. #include "applets.h"
  20. ;
  21. int main(void)
  22. {
  23. write(STDOUT_FILENO, usage_messages, sizeof(usage_messages));
  24. return 0;
  25. }