summaryrefslogtreecommitdiff
path: root/tools/env/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'tools/env/Makefile')
-rw-r--r--tools/env/Makefile4
1 files changed, 1 insertions, 3 deletions
diff --git a/tools/env/Makefile b/tools/env/Makefile
index c303815..d47fe16 100644
--- a/tools/env/Makefile
+++ b/tools/env/Makefile
@@ -6,9 +6,7 @@
#
# Compile for a hosted environment on the target
-HOST_EXTRACFLAGS = -idirafter $(SRCTREE)/include \
- -idirafter $(SRCTREE)/arch/$(ARCH)/include \
- -idirafter $(OBJTREE)/include \
+HOST_EXTRACFLAGS = $(patsubst -I%,-idirafter%, $(UBOOTINCLUDE)) \
-idirafter $(SRCTREE)/tools/env \
-DUSE_HOSTCC \
-DTEXT_BASE=$(TEXT_BASE)