X-Git-Url: http://git.ozo.com/?a=blobdiff_plain;f=tools%2Fmkimage%2Fpatches%2F040-include_order.patch;h=3b9ecc6bd3e4889573175ceb83914fb5abb4579b;hb=HEAD;hp=f4fbbaf7578d1db1e3ee4137d3dedb1ea5e5c6cd;hpb=9288835a40296ca76645430d2bf14fbf43897a5a;p=openwrt-github%2F.git diff --git a/tools/mkimage/patches/040-include_order.patch b/tools/mkimage/patches/040-include_order.patch index f4fbbaf757..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 -@@ -173,7 +173,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 \