X-Git-Url: https://git.archive.openwrt.org/?a=blobdiff_plain;f=package%2Fboot%2Fuboot-envtools%2Fpatches%2F001-compile.patch;h=17059797650fd7ff080098699db8cfc5b3dd4d57;hb=HEAD;hp=5e038ce729c46f313cb11da012abfb79546b0858;hpb=b368f6cbd5890dea2aeffa16bf4fb30ebf0afb6f;p=openwrt.git diff --git a/package/boot/uboot-envtools/patches/001-compile.patch b/package/boot/uboot-envtools/patches/001-compile.patch index 5e038ce729..1705979765 100644 --- a/package/boot/uboot-envtools/patches/001-compile.patch +++ b/package/boot/uboot-envtools/patches/001-compile.patch @@ -9,5 +9,5 @@ +endif + # 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 \