aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-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)