svn commit: trunk/busybox: applets

vda at busybox.net vda at busybox.net
Sun Aug 12 20:59:07 UTC 2007


Author: vda
Date: 2007-08-12 13:59:07 -0700 (Sun, 12 Aug 2007)
New Revision: 19468

Log:
fix out-of-source-tree build



Modified:
   trunk/busybox/Makefile
   trunk/busybox/applets/usage.c


Changeset:
Modified: trunk/busybox/Makefile
===================================================================
--- trunk/busybox/Makefile	2007-08-12 20:58:27 UTC (rev 19467)
+++ trunk/busybox/Makefile	2007-08-12 20:59:07 UTC (rev 19468)
@@ -760,7 +760,7 @@
 # 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.";\

Modified: trunk/busybox/applets/usage.c
===================================================================
--- trunk/busybox/applets/usage.c	2007-08-12 20:58:27 UTC (rev 19467)
+++ trunk/busybox/applets/usage.c	2007-08-12 20:59:07 UTC (rev 19468)
@@ -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




More information about the busybox-cvs mailing list