summaryrefslogtreecommitdiffstats
path: root/meta-initramfs/recipes-bsp/kexecboot/files
diff options
context:
space:
mode:
authorAndrea Adami <andrea.adami@gmail.com>2018-09-07 12:45:34 +0200
committerKhem Raj <raj.khem@gmail.com>2018-09-08 00:06:24 -0700
commit6bed5b3d74322075e4bbd7bc20fcf364d9287e7d (patch)
tree0687d69e47a69c04742f835c68dc8b6b5aecd974 /meta-initramfs/recipes-bsp/kexecboot/files
parentf96b327a467b285ceca73825215654e6874c885c (diff)
downloadmeta-openembedded-6bed5b3d74322075e4bbd7bc20fcf364d9287e7d.tar.gz
kexecboot: upgrade to rev. 4c01d6960aa6
Remove upstreamed patches, get new options for kexec. Signed-off-by: Andrea Adami <andrea.adami@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-initramfs/recipes-bsp/kexecboot/files')
-rw-r--r--meta-initramfs/recipes-bsp/kexecboot/files/0001-Add-top_srcdir-to-compiler-include-paths.patch27
-rw-r--r--meta-initramfs/recipes-bsp/kexecboot/files/0002-include-sys-sysmacros.h.patch30
2 files changed, 0 insertions, 57 deletions
diff --git a/meta-initramfs/recipes-bsp/kexecboot/files/0001-Add-top_srcdir-to-compiler-include-paths.patch b/meta-initramfs/recipes-bsp/kexecboot/files/0001-Add-top_srcdir-to-compiler-include-paths.patch
deleted file mode 100644
index 0565133d95..0000000000
--- a/meta-initramfs/recipes-bsp/kexecboot/files/0001-Add-top_srcdir-to-compiler-include-paths.patch
+++ /dev/null
@@ -1,27 +0,0 @@
1From d302547305727797e0172ba89e7519252c400021 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Sat, 11 Aug 2018 14:37:22 -0700
4Subject: [PATCH 1/2] Add top_srcdir to compiler include paths
5
6Helps in compiling with out of tree build dir
7
8Signed-off-by: Khem Raj <raj.khem@gmail.com>
9---
10 src/Makefile.am | 2 ++
11 1 file changed, 2 insertions(+)
12
13diff --git a/src/Makefile.am b/src/Makefile.am
14index d04a3a8..6449c5a 100644
15--- a/src/Makefile.am
16+++ b/src/Makefile.am
17@@ -1,5 +1,7 @@
18 bin_PROGRAMS=kexecboot
19
20+kexecboot_CFLAGS = -I$(top_srcdir)
21+
22 kexecboot_SOURCES = \
23 util.c \
24 cfgparser.c \
25--
262.18.0
27
diff --git a/meta-initramfs/recipes-bsp/kexecboot/files/0002-include-sys-sysmacros.h.patch b/meta-initramfs/recipes-bsp/kexecboot/files/0002-include-sys-sysmacros.h.patch
deleted file mode 100644
index f12ae99e72..0000000000
--- a/meta-initramfs/recipes-bsp/kexecboot/files/0002-include-sys-sysmacros.h.patch
+++ /dev/null
@@ -1,30 +0,0 @@
1From c587012cbe448c9295f50497812ca3530cabbb51 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Sat, 11 Aug 2018 14:39:01 -0700
4Subject: [PATCH 2/2] include sys/sysmacros.h
5
6glibc 2.28+ does not include this header implicitly via other system
7headers anymore
8
9src/devicescan.c:373: undefined reference to `makedev'
10
11Signed-off-by: Khem Raj <raj.khem@gmail.com>
12---
13 src/devicescan.c | 1 +
14 1 file changed, 1 insertion(+)
15
16diff --git a/src/devicescan.c b/src/devicescan.c
17index 4f2f497..0b2b253 100644
18--- a/src/devicescan.c
19+++ b/src/devicescan.c
20@@ -20,6 +20,7 @@
21 #include <stdlib.h>
22 #include <string.h>
23 #include <sys/types.h>
24+#include <sys/sysmacros.h>
25 #include <sys/stat.h>
26 #include <fcntl.h>
27 #include <unistd.h>
28--
292.18.0
30