summaryrefslogtreecommitdiffstats
path: root/meta-initramfs/recipes-bsp/kexecboot/files/0001-Add-top_srcdir-to-compiler-include-paths.patch
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2018-08-11 14:51:13 -0700
committerKhem Raj <raj.khem@gmail.com>2018-08-15 08:20:06 -0700
commit85b0d91d397fd46922c9266db13e725f36968837 (patch)
tree69070c7e06c65ba034d81bc79daff89524e7eb8e /meta-initramfs/recipes-bsp/kexecboot/files/0001-Add-top_srcdir-to-compiler-include-paths.patch
parentb19f8c7d6e98b911620ea6fdb606339f49aca18a (diff)
downloadmeta-openembedded-85b0d91d397fd46922c9266db13e725f36968837.tar.gz
kexecboot: Fix build with glibc 2.28+
Update to latest srcrev at the same time. Fix out of tree builds Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-initramfs/recipes-bsp/kexecboot/files/0001-Add-top_srcdir-to-compiler-include-paths.patch')
-rw-r--r--meta-initramfs/recipes-bsp/kexecboot/files/0001-Add-top_srcdir-to-compiler-include-paths.patch27
1 files changed, 27 insertions, 0 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
new file mode 100644
index 0000000000..0565133d95
--- /dev/null
+++ b/meta-initramfs/recipes-bsp/kexecboot/files/0001-Add-top_srcdir-to-compiler-include-paths.patch
@@ -0,0 +1,27 @@
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