summaryrefslogtreecommitdiff
path: root/util/kconfig/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'util/kconfig/Makefile')
-rw-r--r--util/kconfig/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/util/kconfig/Makefile b/util/kconfig/Makefile
index 6cdc845913..75c4ff7a32 100644
--- a/util/kconfig/Makefile
+++ b/util/kconfig/Makefile
@@ -344,3 +344,5 @@ $(objk)/lxdialog/lxdialog: $(objk)/dochecklxdialog \
$(objk)/lxdialog/%.o: $(srck)/lxdialog/%.c
$(HOSTCC) $(HOSTCFLAGS) $(HOST_EXTRACFLAGS) $^ -c -o $@
+$(objk)/%.o: HOSTCFLAGS+=-I$(srck) -I$(objk)
+$(objk)/%.o: HOSTCXXFLAGS+=-I$(srck) -I$(objk)