X-Git-Url: http://git.ozo.com/?a=blobdiff_plain;f=tools%2Fmkimage%2Fpatches%2F040-include_order.patch;fp=tools%2Fmkimage%2Fpatches%2F040-include_order.patch;h=3b9ecc6bd3e4889573175ceb83914fb5abb4579b;hb=aa032d78d72b8a9f0f917e6055bfb53d2feefd0c;hp=66f703c85554c0882113569a4d2aee9da24a90ae;hpb=15a48a38b8ea48596667ef340a7d263fe74fbaa0;p=openwrt-github%2F.git diff --git a/tools/mkimage/patches/040-include_order.patch b/tools/mkimage/patches/040-include_order.patch index 66f703c855..3b9ecc6bd3 100644 --- a/tools/mkimage/patches/040-include_order.patch +++ b/tools/mkimage/patches/040-include_order.patch @@ -1,10 +1,10 @@ --- a/tools/Makefile +++ b/tools/Makefile -@@ -193,7 +193,7 @@ +@@ -194,7 +194,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)/include \ -I$(srctree)/lib/libfdt \ -I$(srctree)/tools \