diff options
| author | Denis Vlasenko <vda.linux@googlemail.com> | 2007-08-12 20:59:07 +0000 |
|---|---|---|
| committer | Denis Vlasenko <vda.linux@googlemail.com> | 2007-08-12 20:59:07 +0000 |
| commit | ff65cd469b5f9acc43c79df98ac8e375a257f152 (patch) | |
| tree | ea6e3ec2fc198f80e4cf0e741d286df94d52ab2f | |
| parent | 6ca409e0e4c198fe3081346eebbae3f068fe605a (diff) | |
| download | busybox-w32-ff65cd469b5f9acc43c79df98ac8e375a257f152.tar.gz busybox-w32-ff65cd469b5f9acc43c79df98ac8e375a257f152.tar.bz2 busybox-w32-ff65cd469b5f9acc43c79df98ac8e375a257f152.zip | |
fix out-of-source-tree build
| -rw-r--r-- | Makefile | 2 | ||||
| -rw-r--r-- | applets/usage.c | 4 |
2 files changed, 4 insertions, 2 deletions
| @@ -760,7 +760,7 @@ PHONY += prepare-all | |||
| 760 | # 2) Create the include2 directory, used for the second asm symlink | 760 | # 2) Create the include2 directory, used for the second asm symlink |
| 761 | prepare3: .kernelrelease | 761 | prepare3: .kernelrelease |
| 762 | ifneq ($(KBUILD_SRC),) | 762 | ifneq ($(KBUILD_SRC),) |
| 763 | @echo ' Using $(srctree) as source for kernel' | 763 | @echo ' Using $(srctree) as source for busybox' |
| 764 | $(Q)if [ -f $(srctree)/.config ]; then \ | 764 | $(Q)if [ -f $(srctree)/.config ]; then \ |
| 765 | echo " $(srctree) is not clean, please run 'make mrproper'";\ | 765 | echo " $(srctree) is not clean, please run 'make mrproper'";\ |
| 766 | echo " in the '$(srctree)' directory.";\ | 766 | echo " in the '$(srctree)' directory.";\ |
diff --git a/applets/usage.c b/applets/usage.c index c128b52f8..4955839fc 100644 --- a/applets/usage.c +++ b/applets/usage.c | |||
| @@ -1,7 +1,9 @@ | |||
| 1 | /* vi: set sw=4 ts=4: */ | 1 | /* vi: set sw=4 ts=4: */ |
| 2 | #include <unistd.h> | 2 | #include <unistd.h> |
| 3 | 3 | ||
| 4 | #include "autoconf.h" | 4 | /* Just #include "autoconf.h" doesn't work for builds in separate |
| 5 | * object directory */ | ||
| 6 | #include "../include/autoconf.h" | ||
| 5 | 7 | ||
| 6 | static const char usage_messages[] = "" | 8 | static const char usage_messages[] = "" |
| 7 | #define MAKE_USAGE | 9 | #define MAKE_USAGE |
