summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2006-10-19 22:10:07 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2006-10-19 22:10:07 +0000
commitfdc101782af8151726a3ba08a83f5bd948c96feb (patch)
tree0650892add6d7f49c2748a7b6c840ad558cc47eb
parent534d88e34e983891a74f58d046fa659b14a11d5a (diff)
scripts/usage.c: de-uglify #includes
-rw-r--r--scripts/Kbuild2
-rw-r--r--scripts/usage.c4
2 files changed, 4 insertions, 2 deletions
diff --git a/scripts/Kbuild b/scripts/Kbuild
index 80c60733e..80836cfb5 100644
--- a/scripts/Kbuild
+++ b/scripts/Kbuild
@@ -9,3 +9,5 @@ always := $(hostprogs-y)
# Let clean descend into subdirs
subdir- += basic kconfig
+
+HOSTCFLAGS_usage.o = -I$(srctree)/include
diff --git a/scripts/usage.c b/scripts/usage.c
index adb290e4d..d888fa93d 100644
--- a/scripts/usage.c
+++ b/scripts/usage.c
@@ -6,8 +6,8 @@
static const char usage_messages[] =
#define MAKE_USAGE
-#include "../include/usage.h"
-#include "../include/applets.h"
+#include "usage.h"
+#include "applets.h"
;
int main(void)