aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2007-08-12 20:59:07 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2007-08-12 20:59:07 +0000
commitff65cd469b5f9acc43c79df98ac8e375a257f152 (patch)
treeea6e3ec2fc198f80e4cf0e741d286df94d52ab2f
parent6ca409e0e4c198fe3081346eebbae3f068fe605a (diff)
downloadbusybox-ff65cd469b5f9acc43c79df98ac8e375a257f152.tar.gz
fix out-of-source-tree build
-rw-r--r--Makefile2
-rw-r--r--applets/usage.c4
2 files changed, 4 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index f6991ac4c..e97330a57 100644
--- a/Makefile
+++ b/Makefile
@@ -760,7 +760,7 @@ PHONY += prepare-all
# 2) Create the include2 directory, used for the second asm symlink
prepare3: .kernelrelease
ifneq ($(KBUILD_SRC),)
- @echo ' Using $(srctree) as source for kernel'
+ @echo ' Using $(srctree) as source for busybox'
$(Q)if [ -f $(srctree)/.config ]; then \
echo " $(srctree) is not clean, please run 'make mrproper'";\
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 @@
/* vi: set sw=4 ts=4: */
#include <unistd.h>
-#include "autoconf.h"
+/* Just #include "autoconf.h" doesn't work for builds in separate
+ * object directory */
+#include "../include/autoconf.h"
static const char usage_messages[] = ""
#define MAKE_USAGE