diff options
author | Felix Fietkau <nbd@nbd.name> | 2017-04-04 12:33:03 +0200 |
---|---|---|
committer | Felix Fietkau <nbd@nbd.name> | 2017-04-04 12:33:34 +0200 |
commit | 2526d150dc836b79caf4976413780bd77fc88c0a (patch) | |
tree | e43ef5b8a80ae47526fcccdfc4ef4863d9651cbd /package/boot/uboot-lantiq/patches | |
parent | cffeb31107e27a48ddaf4953590acdefc66f2de9 (diff) | |
download | upstream-2526d150dc836b79caf4976413780bd77fc88c0a.tar.gz upstream-2526d150dc836b79caf4976413780bd77fc88c0a.tar.bz2 upstream-2526d150dc836b79caf4976413780bd77fc88c0a.zip |
uboot-lantiq: fix build error on mac os x
asm/* includes are not safe for the host build
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'package/boot/uboot-lantiq/patches')
-rw-r--r-- | package/boot/uboot-lantiq/patches/100-portability.patch | 18 |
1 files changed, 18 insertions, 0 deletions
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 <asm/byteorder.h> + + /* Define this to avoid #ifdefs later on */ + struct lmb; +@@ -36,6 +35,7 @@ struct lmb; + + #include <lmb.h> + #include <asm/u-boot.h> ++#include <asm/byteorder.h> + #include <command.h> + + /* Take notice of the 'ignore' property for hashes */ |