mirror of
https://git.openwrt.org/openwrt/openwrt.git
synced 2024-06-16 12:14:01 +02:00
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>
This commit is contained in:
parent
cffeb31107
commit
2526d150dc
18
package/boot/uboot-lantiq/patches/100-portability.patch
Normal file
18
package/boot/uboot-lantiq/patches/100-portability.patch
Normal file
|
@ -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 */
|
Loading…
Reference in New Issue
Block a user