diff options
Diffstat (limited to 'tools/env/Makefile')
-rw-r--r-- | tools/env/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/env/Makefile b/tools/env/Makefile index f5368bc4d02..4927489b161 100644 --- a/tools/env/Makefile +++ b/tools/env/Makefile @@ -11,7 +11,7 @@ HOSTCC = $(CC) # Compile for a hosted environment on the target -HOST_EXTRACFLAGS = $(patsubst -I%,-idirafter%, $(UBOOTINCLUDE)) \ +HOST_EXTRACFLAGS = $(patsubst -I%,-idirafter%, $(filter -I%, $(UBOOTINCLUDE))) \ -idirafter $(srctree)/tools/env \ -DUSE_HOSTCC \ -DTEXT_BASE=$(TEXT_BASE) |