X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=applets%2Fusage.c;h=d4fd12f9beb14bf012e01326349c94846b42f937;hb=c3c1fb676b900ed39c0cfa984059c1d40197b601;hp=4f6a569d4c82f8378ac9603a05fbfecfd6f3018a;hpb=5e25ddb7d369b6785ec3aaa96cbc0521c22aeb0d;p=oweals%2Fbusybox.git diff --git a/applets/usage.c b/applets/usage.c index 4f6a569d4..d4fd12f9b 100644 --- a/applets/usage.c +++ b/applets/usage.c @@ -1,9 +1,25 @@ /* vi: set sw=4 ts=4: */ +/* + * Copyright (C) 2008 Denys Vlasenko. + * + * Licensed under GPLv2, see file LICENSE in this tarball for details. + */ #include /* Just #include "autoconf.h" doesn't work for builds in separate * object directory */ -#include "../include/autoconf.h" +#include "autoconf.h" + +/* Since we can't use platform.h, have to do this again by hand: */ +#if ENABLE_NOMMU +# define BB_MMU 0 +# define USE_FOR_NOMMU(...) __VA_ARGS__ +# define USE_FOR_MMU(...) +#else +# define BB_MMU 1 +# define USE_FOR_NOMMU(...) +# define USE_FOR_MMU(...) __VA_ARGS__ +#endif static const char usage_messages[] = "" #define MAKE_USAGE