aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Brüns2016-10-29 12:23:18 +0200
committerHans de Goede2016-10-30 11:38:04 +0100
commitfed329aebe3aaac0928c73547ac6316af2adf0cd (patch)
tree18ca38cb2e63d22ead85117e3e4cbd79f78f94a6
parent9d6c9d988f0cd2fae095f1c76dc6b786a890108b (diff)
tools: add mksunxiboot to tools-all target
mksunxiboot is useful outside of u-boot, it is e.g. used by sunxi-tools. Signed-off-by: Stefan Brüns <stefan.bruens@rwth-aachen.de> Signed-off-by: Hans de Goede <hdegoede@redhat.com>
-rw-r--r--tools/Makefile1
-rw-r--r--tools/mksunxiboot.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/tools/Makefile b/tools/Makefile
index 556f397bb88..400588cf0f5 100644
--- a/tools/Makefile
+++ b/tools/Makefile
@@ -13,6 +13,7 @@ CONFIG_CMD_NET = y
CONFIG_XWAY_SWAP_BYTES = y
CONFIG_NETCONSOLE = y
CONFIG_SHA1_CHECK_UB_IMG = y
+CONFIG_SUNXI = y
endif
subdir-$(HOST_TOOLS_ALL) += easylogo
diff --git a/tools/mksunxiboot.c b/tools/mksunxiboot.c
index 9c1c5b7cee2..0f0b003a837 100644
--- a/tools/mksunxiboot.c
+++ b/tools/mksunxiboot.c
@@ -15,7 +15,7 @@
#include <errno.h>
#include <sys/types.h>
#include <sys/stat.h>
-#include "asm/arch/spl.h"
+#include "../arch/arm/include/asm/arch-sunxi/spl.h"
#define STAMP_VALUE 0x5F0A6C39