]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - tools/Makefile
kconfig: switch to Kconfig
[karo-tx-uboot.git] / tools / Makefile
index 61b2048211dfc7ed4d122dc914a2cac3fc7b66d7..90e966d893e64e0508718127766d76286c4b8c6e 100644 (file)
@@ -193,7 +193,7 @@ endif # !LOGO_BMP
 # Define _GNU_SOURCE to obtain the getline prototype from stdio.h
 #
 HOST_EXTRACFLAGS += -include $(srctree)/include/libfdt_env.h \
-               $(patsubst -I%,-idirafter%, $(UBOOTINCLUDE)) \
+               $(patsubst -I%,-idirafter%, $(filter -I%, $(UBOOTINCLUDE))) \
                -I$(srctree)/lib/libfdt \
                -I$(srctree)/tools \
                -DCONFIG_SYS_TEXT_BASE=$(CONFIG_SYS_TEXT_BASE) \