From 2526d150dc836b79caf4976413780bd77fc88c0a Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Tue, 4 Apr 2017 12:33:03 +0200 Subject: [PATCH] uboot-lantiq: fix build error on mac os x asm/* includes are not safe for the host build Signed-off-by: Felix Fietkau --- .../uboot-lantiq/patches/100-portability.patch | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 package/boot/uboot-lantiq/patches/100-portability.patch 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 000000000000..4539e3e88703 --- /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 */ -- 2.30.2