mirror of
https://github.com/Ysurac/openmptcprouter.git
synced 2025-02-15 04:42:02 +00:00
Fix BPI-R2 uboot compilation
This commit is contained in:
parent
e323e7ec6f
commit
38caba6330
1 changed files with 19 additions and 0 deletions
|
@ -0,0 +1,19 @@
|
||||||
|
--- a/include/libfdt_env.h
|
||||||
|
+++ b/include/libfdt_env.h
|
||||||
|
@@ -8,6 +8,7 @@
|
||||||
|
|
||||||
|
#ifndef _LIBFDT_ENV_H
|
||||||
|
#define _LIBFDT_ENV_H
|
||||||
|
+#define LIBFDT_ENV_H
|
||||||
|
|
||||||
|
#include "compiler.h"
|
||||||
|
#include "linux/types.h"
|
||||||
|
--- a/include/libfdt.h
|
||||||
|
+++ b/include/libfdt.h
|
||||||
|
@@ -1,5 +1,6 @@
|
||||||
|
#ifndef _LIBFDT_H
|
||||||
|
#define _LIBFDT_H
|
||||||
|
+#define LIBFDT_H
|
||||||
|
/*
|
||||||
|
* libfdt - Flat Device Tree manipulation
|
||||||
|
* Copyright (C) 2006 David Gibson, IBM Corporation.
|
Loading…
Reference in a new issue