From: Felix Fietkau Date: Tue, 4 Apr 2017 10:33:03 +0000 (+0200) Subject: uboot-lantiq: fix build error on mac os x X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=2526d150dc836b79caf4976413780bd77fc88c0a;p=openwrt%2Fstaging%2Fdedeckeh.git uboot-lantiq: fix build error on mac os x asm/* includes are not safe for the host build Signed-off-by: Felix Fietkau --- diff --git a/package/boot/uboot-lantiq/patches/100-portability.patch b/package/boot/uboot-lantiq/patches/100-portability.patch new file mode 100644 index 0000000000..4539e3e887 --- /dev/null +++ b/package/boot/uboot-lantiq/patches/100-portability.patch @@ -0,0 +1,18 @@ +--- a/include/image.h ++++ b/include/image.h +@@ -17,7 +17,6 @@ + #define __IMAGE_H__ + + #include "compiler.h" +-#include + + /* Define this to avoid #ifdefs later on */ + struct lmb; +@@ -36,6 +35,7 @@ struct lmb; + + #include + #include ++#include + #include + + /* Take notice of the 'ignore' property for hashes */