diff options
author | Lucian Cristian <lucian.cristian@gmail.com> | 2020-04-19 16:07:10 +0300 |
---|---|---|
committer | Hauke Mehrtens <hauke@hauke-m.de> | 2020-04-26 21:20:47 +0200 |
commit | 042917f1c4e8e68ed6c6948dcaf57d35d0b3c366 (patch) | |
tree | 03b399eb6fa81d92f0ef613116469f48ca8726c4 /tools/mkimage/patches/060-remove_kernel_includes.patch | |
parent | 066ec97167e49b5c037b04dc4ec76c4cad5b75e2 (diff) | |
download | upstream-042917f1c4e8e68ed6c6948dcaf57d35d0b3c366.tar.gz upstream-042917f1c4e8e68ed6c6948dcaf57d35d0b3c366.tar.bz2 upstream-042917f1c4e8e68ed6c6948dcaf57d35d0b3c366.zip |
tools/mkimage: update to 2020.04
also change the download source to https and add a mirror
drop merged patches
Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com>
[Add extra changes to compile on FreeBSD, merge two patches]
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Diffstat (limited to 'tools/mkimage/patches/060-remove_kernel_includes.patch')
-rw-r--r-- | tools/mkimage/patches/060-remove_kernel_includes.patch | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/tools/mkimage/patches/060-remove_kernel_includes.patch b/tools/mkimage/patches/060-remove_kernel_includes.patch deleted file mode 100644 index 8917ec0863..0000000000 --- a/tools/mkimage/patches/060-remove_kernel_includes.patch +++ /dev/null @@ -1,29 +0,0 @@ -The Kernel includes are only available on Linux hosts, remove then on -non Linux hosts. - ---- a/include/linux/posix_types.h -+++ b/include/linux/posix_types.h -@@ -43,6 +43,8 @@ typedef void (*__kernel_sighandler_t)(in - /* Type of a SYSV IPC key. */ - typedef int __kernel_key_t; - -+#ifdef linux - #include <asm/posix_types.h> -+#endif - - #endif /* _LINUX_POSIX_TYPES_H */ ---- a/include/imx8image.h -+++ b/include/imx8image.h -@@ -11,7 +11,12 @@ - #include <image.h> - #include <inttypes.h> - #include "imagetool.h" -+#ifdef linux - #include "linux/kernel.h" -+#else -+#define ALIGN(x,a) __ALIGN_MASK((x),(typeof(x))(a)-1) -+#define __ALIGN_MASK(x,mask) (((x)+(mask))&~(mask)) -+#endif - - #define __packed __attribute__((packed)) - |