beaglebone-uboot: portability patch from Alpine.

This commit is contained in:
Juan RP 2015-05-26 09:27:24 +02:00
parent 035f02ff48
commit cbe6613dc4
2 changed files with 42 additions and 2 deletions

View File

@ -0,0 +1,41 @@
--- include/image.h
+++ include/image.h
@@ -24,6 +24,8 @@
#ifdef USE_HOSTCC
+#include <sys/types.h>
+
/* new uImage format support enabled on host */
#define CONFIG_FIT 1
#define CONFIG_OF_LIBFDT 1
--- tools/imagetool.h
+++ tools/imagetool.h
@@ -16,6 +16,7 @@
#include <stdlib.h>
#include <string.h>
#include <sys/stat.h>
+#include <sys/types.h>
#include <time.h>
#include <unistd.h>
#include <u-boot/sha1.h>
--- tools/mkimage.h
+++ tools/mkimage.h
@@ -16,6 +16,7 @@
#include <stdlib.h>
#include <string.h>
#include <sys/stat.h>
+#include <sys/types.h>
#include <time.h>
#include <unistd.h>
#include <u-boot/sha1.h>
--- tools/proftool.c
+++ tools/proftool.c
@@ -16,6 +16,7 @@
#include <string.h>
#include <unistd.h>
#include <sys/param.h>
+#include <sys/types.h>
#include <compiler.h>
#include <trace.h>

View File

@ -1,8 +1,7 @@
# Template file for 'beaglebone-uboot'
pkgname=beaglebone-uboot
reverts=2014.10_2
version=2014.07
revision=1
revision=2
wrksrc="u-boot-${version}"
hostmakedepends="bc"
short_desc="Beaglebone and BeagleBone Black U-Boot loader"